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 Tag not outputting anything...

March 17, 2011 6:40pm

Subscribe [4]
  • #1 / Mar 17, 2011 6:40pm

    jasonathopi

    35 posts

    I’ve never had this happen in 3 years of EE. I have a {weblo} tag that won’t output any information eventhough everything is correct. If I copy and paste the exact same tag and put it in a different template, then it works correctly. I’ve posted the weblog tag that is in question.

    
    
    

    Here is the template that it won’t work on

    
    
    


    Any ideas?

  • #2 / Mar 17, 2011 7:07pm

    Mark Bowen

    12637 posts

    Your very top embed tag has a missing quote in it :

    {embed="embeds/html_header}</code></pre>
    
    should be
    
    <pre><code>{embed="embeds/html_header"}

    I’d check through the template fully and make sure there aren’t any other problems like that first and see how that goes.

    Best wishes,

    Mark

  • #3 / Mar 17, 2011 7:54pm

    jasonathopi

    35 posts

    Thanks for the feedback, I’ve made the change, but that doesn’t solve the problem. That wouldn’t explain why it would work on another template even with the mistake on the html header tag.

    Any other ideas?

    Here is the revised template

    
    									
  • #4 / Mar 17, 2011 8:23pm

    Mark Bowen

    12637 posts

    I just realised that I didn’t ask what the template_group/template_name URI of where this isn’t working is.

    Are you hitting the template like this :

    http://www.example.com/template_group/template_name

    or do you perhaps have a URL title in there too like this

    http://www.example.com/template_group/template_name/url_title

    If the latter then try adding in the dynamic=“off” parameter to your weblog tag which isn’t working.

    Hopefully that should get it working for you.

    Failing that my next suggestion would be to take absolutely everything out of that template and just put in that weblog tag and absolutely nothing else, no styling, no other code, nothing, except that weblog tag. If it doesn’t work like that with the dynamic=“off” parameter in there then something else is playing up with it all and we’ll need to look into it some more.

    First though definitely try adding in the dynamic=“off” parameter to the weblog tag before anything else though.

    Hope that helps a bit.

    Best wishes,

    Mark

  • #5 / Mar 18, 2011 2:07pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Mark.
    Jason, you need to do the following:

    Reduce the complexity of your template. Start a new template with *just* the exp:channel:entries loop, and make sure that works like you expect.

    If it does, then add back in your design elements one at a time and see what’s causing the problem.

    I know it’s time consuming, but the best way to handle it.

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

ExpressionEngine News!

#eecms, #events, #releases