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.

Weblogs: Single entry and list on same page?

June 27, 2008 10:13am

Subscribe [2]
  • #1 / Jun 27, 2008 10:13am

    zauber

    30 posts

    Hi

    Just getting started with EE, so I apologize if I have misunderstood things.

    I have a set of templates, all of which embed a template listing the 15 most recent posts in a certain weblog in the sidebar (my “news” weblog).

    Now, I added another template, intended to show the “full_story” (a custom field) of this weblog, and link to this template (using {title_permalink="site/news_story"} ).

    It works, insofar as the page showing the full news story. However, the embedded news-listing now only displays the current entry.

    I understand that this is because the {exp:weblog:entries} tag automatically only shows the selected entry if one is put on the url.

    Since this is not what I want, I wonder: is there some way to circumvent this filtering in the embedded template only, so I can have a page that simultaneously displays the full_story of the selected news-item, as well as a list of the 15 most recent news stories (with summaries).

  • #2 / Jun 27, 2008 10:17am

    Andy Harris

    958 posts

    I think you just need to add dynamic=“off” as a parameter to your ‘list’ weblog. That’ll stop it using the URL.

    {exp:weblog:entries etc etc dynamic="off"}
  • #3 / Jun 27, 2008 12:09pm

    zauber

    30 posts

    Excellent, thanks!  Will try as soon as I get back.

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

ExpressionEngine News!

#eecms, #events, #releases