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.

Cannot pull a second channel's info to details page

July 06, 2012 7:08am

Subscribe [2]
  • #1 / Jul 06, 2012 7:08am

    vgc

    45 posts

    I have a site listing training classes. I am using Category Sorted Entries to list the classes but I have replicated the problem without it.

    The link to the details page for the courses is

    <a href="http://training/details/{url_title}">Full details …</a>

    The information come in just fine, but there is the contents of another channel immediately below it that does not come in:

    {exp:channel:entries channel="pmi_legal" disable="pagination"}
    {exp:low_replace find="<p>|</p>" replace=""multiple="yes"}<em>{pmi_legal_text}</em>{/exp:low_replace}
    {/exp:channel:entries}

    This code works on the listing page, but not on the details page.

    Any ideas what could be wrong?

    EE 2.5.2

    Thank you!

  • #2 / Jul 06, 2012 11:47am

    Shane Eckert

    7174 posts

    Hey vgc,

    Please try this bit of code.

    {exp:channel:entries channel="pmi_legal" disable="pagination" dynamic="no"}
    {exp:low_replace find="<p>|</p>" replace=""multiple="yes"}<em>{pmi_legal_text}</em>{/exp:low_replace}
    {/exp:channel:entries}

    Please let me know how that goes.

    Cheers,

  • #3 / Jul 06, 2012 3:13pm

    vgc

    45 posts

    Seems you’re solving all my problems lately, Shane! Yup that worked.

    And, it is in Mike Boyink’s book which I have gone through a couple of times ... I asked him how am I gonna remember all this and he told me, “You don’t have to, you just have to remember you have the book!” LOL

    Thanks again!

  • #4 / Jul 06, 2012 3:15pm

    Shane Eckert

    7174 posts

    Hey vgc,

    That’s awesome! Glad to help.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases