-
Article List
Hi,
Sorry if this has been covered before, but a search only brought up an old thread which didn't really solve the query.
I'm using the article list module but would like the links that are generated to point to just the single article and not the page with all the articles on.
Is this possible to use it in this way? I don't want to create a new page for each article as this would not be suitable for the client.
Thanks
-
Re: Article List
I haven't worked with the article list module, but you should plunk this code into the template to see if there are additional links you could substitute in: http://www.contao-factory.com/code-detail.html?id=7
-
Re: Article List
Thanks.
There is an article ID I could use in the output.
..but, I noticed this morning, if I set 1 article to show teaser, then all the article links will go directly to the article and not the page showing them all. So I guess what I wanted I've got.
-
Re: Article List
Vinchenzion,
I think you used to be able to show a single article on a page by adding it's alias to the URL string. For example, if you have an about us page with an alias of "about-us", and an article with an alias of "company-information"...
The normal URL (to show the page) -> http://mysite.com/about-us.html
Show just the one article on that page -> http://mysite.com/about-us/company-information.html
I'm not sure if it's been changed, but worth a shot. You could customize the template to build the URL string accordingly.'
Hope this helps.