Results 1 to 4 of 4

Thread: Article List

  1. #1
    User
    Join Date
    04-27-10.
    Posts
    134

    Default 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

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default 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

  3. #3
    User
    Join Date
    04-27-10.
    Posts
    134

    Default 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.

  4. #4
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default 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.
    Brian

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •