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.

custom form field works on one page, not another

December 04, 2009 1:34pm

Subscribe [4]
  • #16 / Dec 05, 2009 3:43pm

    fifteen

    108 posts

    The logo code I’m using in there currently hardcodes the urls into the template, but still switches them upon changing the url. When I use the weblog entries tag to display the logo, it fails to render any html whatsoever.

  • #17 / Dec 05, 2009 5:48pm

    Sue Crocker

    26054 posts

    Huh.. I put in the url and changed it to penfed, and I saw the right logo displaying.

  • #18 / Dec 05, 2009 9:50pm

    fifteen

    108 posts

    When I use the weblog entries tag to display the logo, it fails to render any html whatsoever.

  • #19 / Dec 06, 2009 7:28pm

    Lisa Wess

    20502 posts

    Howdy, Andy,

    I’ve been watching this thread and it’s gone off in many directions.

    I need you to step back, do one step at a time, and work with us closely.

    So - create a brand new totally blank template.  Put *only* the failing weblog entries tag in there.  Then post that exact same code into this thread and give us a link to the test template.

    On top of that, please give us a one-sentence description of what you feel is not working.

    We’ll go from there, thank you.

  • #20 / Dec 06, 2009 8:15pm

    fifteen

    108 posts

    Lisa,

    This snippet of code works in a blank template but not in the “real” template:

    {exp:weblog:entries weblog="landingpage" limit="1"}
    {landinglogo}
    {/exp:weblog:entries}

    You can observe the logo changing as desired by changing segment_3:

    http://coolltci.com/index/Get_the_Facts/test/nada/
    http://coolltci.com/index/Get_the_Facts/test/penfed/

    So far, this works as I want it to. However, when the same snippet above is used in the template below - it fails. Please keep in mind when you view the url below that I’m using a hardcoded hack to get the logo in the upper left to display. Trust me when I tell you that if I use the code snippet in this post, it does not display or render any code as observed in the successful blank template.

    http://coolltci.com/index/Get_the_Facts/how_much_does_long-term_care_cost/nada/

    I hope this is a clearer explanation of the problem.

    Andy

  • #21 / Dec 06, 2009 10:03pm

    Lisa Wess

    20502 posts

    Hi, Andy,

    Since that code works when in a reduced template, then the way to troubleshoot this is to slowly add your main template code to the test template and find out exactly where it stops working.

    That’s the only way to troubleshoot this type of problem.  But that test just prove that EE itself is working properly.

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

ExpressionEngine News!

#eecms, #events, #releases