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.

Pages and embedded Template not showing dynamic data

June 28, 2007 12:51am

Subscribe [2]
  • #1 / Jun 28, 2007 12:51am

    Kellankade

    54 posts

    I just started using the pages module. I created my template All the page information is stored in the static weblog… It is displaying correctly.

    I am also embedding a sidebar from the sidebar template. On the sidebar I have the following code.

    exp:weblog:entries  weblog="testimonials"  orderby="random"  limit="3" }
    <span class="testimonial">{test_body}</span>
    <span class="tauthor">{test_name}</span>
    
    <span class="ttitle">{title}</span><span class="tdate">{test_date}</span>
    <hr >
    
    {/exp:weblog:entries}

    Testimonials is not the weblog that the static content is stored in. When I display the page that code doesn’t return the data I am expecting it too. Though when I call the sidebar template from another template (not the static page template) it works correctly.

    What am I doing wrong

  • #2 / Jun 28, 2007 9:07am

    silenz

    1651 posts

    Probably it is showing dynamic data.

    From the docs

    Additionally, the page will automatically be treated as a single entry page for that page entry, so other tags on the template will need to use the dynamic=“off” parameter (if available) to display other content.

  • #3 / Jun 28, 2007 10:16am

    Robin Sowell

    13255 posts

    silenz nailed it- try the dynamic parameter- I think that will achieve what you’re going for.  Assuming I understood correctly.

  • #4 / Jun 28, 2007 5:01pm

    Kellankade

    54 posts

    Probably it is showing dynamic data.

    From the docs

    Additionally, the page will automatically be treated as a single entry page for that page entry, so other tags on the template will need to use the dynamic=“off” parameter (if available) to display other content.

    Silenz and Robin Thank you both so much. Silenz hit the nail on the head. I guess I should RTFM more carefully. You both rock!!!!!

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

ExpressionEngine News!

#eecms, #events, #releases