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.

Weblog Feeds disappearing on single and some archive pages

March 26, 2009 8:53am

Subscribe [2]
  • #1 / Mar 26, 2009 8:53am

    secondlamppost

    22 posts

    I’m building an archives page which has several {if} statements in it so that I can ensure everything pointed to archives has a relatively short url. For example:
    /articles/title_of_post
    /articles/category/my_category
    /articles/tag/my_tag

    The body itself where all of these logic operators are located seems to work great, the problem is in my header I have a feature box that pulls flicker and twitter posts using the FeedGrab plugin. This box works great on almost every page of the site, and on most of the pages in the archives section, but when I load single pages (articles/title_of_post) or archived pages other than the month of march (/articles/2009/01/), I suddenly lose all data in the box.

    The box with the flickr and twitter posts is self contained in an included header, so the code has no way of changing on each reload. The weblogs themselves for both flicker and twitter also seem to be importing from Feedgrab to EE and running just fine. Any ideas what could be causing this issue?

    I’m attaching a screen grab of the error, and my full code for the template is available here. In the template I included the header, which is called from an include on the site, and labeled both the header and the box that calls weblog entries from my Feedgrab plugin.

    Thanks for any help you can provide.

  • #2 / Mar 26, 2009 9:22am

    Mark Bowen

    12637 posts

    Hi Brian,

    Have you tried adding the dynamic=“off” parameter to the weblog tag which is giving you trouble. I think that might do it for you hopefully?

    Hope that helps.

    Best wishes,

    Mark

  • #3 / Mar 26, 2009 11:07am

    secondlamppost

    22 posts

    Wow, that was an easy fix. I can’t believe I hadn’t tried that. Thanks Mark, that was one of the last big errors holding me up from launching my new site.

  • #4 / Mar 26, 2009 11:10am

    Mark Bowen

    12637 posts

    No problem at all. Glad it’s all working for you now. That dynamic=“off” parameter should stop any problems on any pages as it will then just load exactly what you tell the tag to load based upon the parameters you supply to it.

    Don’t forget to let us know when your site goes live as would like to see it.

    Best wishes,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases