ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using a template to display multiple weblog entries, then using some kind of /1 at the end to just see one (in detail)

December 16, 2007 2:15pm

Subscribe [1]
  • #1 / Dec 16, 2007 2:15pm

    aimbot

    36 posts

    I thought i understood this but im not sure anymore. Say my template is products and when i browse to that i see a list of items (just a small picture, small description, price), and when someone browses to products/1 I want them to be able to see an enlarged view of the 1st entry in whatever weblog im using to hold them at. Or do i need to create a 2nd template to do that. Thanks.

    *edit, what im trying to say is if there is any way to do a form of an IF statement, like if requesting a certain entry (“products/1”) then i can run a different section of the html code, or if not (“products”) then it will just display the whole template and list of items. Thanks!

  • #2 / Dec 16, 2007 4:09pm

    Lisa Wess

    20502 posts

    EE can do this for you, see The Importance of Semantics series for an explanation.

  • #3 / Dec 16, 2007 7:14pm

    aimbot

    36 posts

    Awesome, thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases