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.

Constructing anchor tags

February 11, 2008 12:40pm

Subscribe [1]
  • #1 / Feb 11, 2008 12:40pm

    rmcgonegal

    3 posts

    When using exp:weblog:entries to create an anchor from some custom fields,

    <a href="http://{link_url}" title="{link_description}">{title}</a>

    EE expands {link_url} into a complete anchor tag, so it blows up the anchor tag I’m trying to construct.

    How do I get EE to just output the URL without creating an anchor link? thanks

  • #2 / Feb 11, 2008 1:46pm

    Joey Trimmer

    128 posts

    Maybe I’m misunderstanding the actual problem, but did you turn off auto links in the weblog preferences for that weblog?

    Go to Weblog Administration > Weblog Management > Your Weblog, then choose “Weblog Posting Preferences” and make sure “Automatically turn URLs and email addresses into links?” is set to No.

    Hope that helps!

  • #3 / Feb 11, 2008 4:55pm

    rmcgonegal

    3 posts

    You understood perfectly. thanks

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

ExpressionEngine News!

#eecms, #events, #releases