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.

Multi Selects not showing link of custom field type

April 21, 2012 8:08pm

Subscribe [2]
  • #1 / Apr 21, 2012 8:08pm

    Chris Wareham

    40 posts

    Hello,

    I have added a multi select as a custom field type which is populated by another 2nd custom field (text) that mirrors the title from channel entries.

    I have managed to get most of the functionality working (see http://www.anketelltraining.com/teachers/products/unit_1_topic_tests) I can’t seem to get them to act as links… can anyone help? The only way I can think of so far is to make the custom field text to include a link…

    Thanks for any help in advance, and apologies if this is in the wrong section of the forum!

    Chris


    Here is the code I am using:

    {exp:channel:entries channel="teachers" status="Homepage Featured|Homepage Secondary|open" dynamic="yes"}
       
        {if related_teachers_products}
         <h5>Related Products:</h5>
    <p>     {related_teachers_products markup="ul" wrap="link"}<br />
        {/if}<br />
        <br />
        {if related_students_products}<br />
        </p><h5>Student Versions:</h5>
    <p>     {related_students_products markup="ul" wrap="link"}<br />
        {/if}<br />
        <br />
        {if related_revision_days}<br />
        </p><h5>Revision Days:</h5>
    <p>     {related_revision_days markup="ul" wrap="link"}<br />
        {/if}<br />
       <br />
       {/exp:channel:entries}

  • #2 / Apr 23, 2012 12:12pm

    Shane Eckert

    7174 posts

    Hello Chris,

    Thank you for posting your question here on the ExpressionEngine forums.

    Why not just wrap them in a href tag?

    You can also get rid of dynamic=“yes” - that’s a default.

    I hope this helps!

    Cheers,

  • #3 / Apr 23, 2012 2:35pm

    Chris Wareham

    40 posts

    Hi Shane,

    Thanks for your reply… I was simply hoping there was a permalink way of doing it / the wrap=“link” from files would work… whereby the url was auto populated so would remain correct even if a user changed the url.

    I have gone through and started adding href tags on the custom text field.

    Thanks again,

    Chris

  • #4 / Apr 24, 2012 3:10pm

    Shane Eckert

    7174 posts

    Hello Chris,

    I gotcha now.

    So you are saying that wrap=“link” is not working? I believe that this is only going to work with files, like images and such.

    Is there anything else I can help you with?

    Thanks,

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

ExpressionEngine News!

#eecms, #events, #releases