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 tags being parsed as text when publishing or editing

January 31, 2010 5:35am

Subscribe [2]
  • #1 / Jan 31, 2010 5:35am

    Crowds

    21 posts

    I want to be able to add tags to the main {body} of text when publishing or editing content.
    My problem is EE always considers any tag I add to be text and treats it as such,
    So I get…

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. {exp:mytag value="what is going on ?"}  Mauris purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. Mauris purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. Mauris purus.

    instead of…

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. what is going on ?  Mauris purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. Mauris purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac nisi quis lorem venenatis convallis vitae a purus. Mauris purus.

    I have tried disabling XHTML, using special character’s, installing LG tinymce and I have looked into LG replace but no joy.

    It seems that when editing or adding new content EE doesn’t like {} braces !

    Is there any way around this ?

  • #2 / Jan 31, 2010 5:46am

    catalytic

    5 posts

    Where are you trying to use this tag? What sort of template?

  • #3 / Jan 31, 2010 6:08am

    Crowds

    21 posts

    It’s in a blog.
    The template is standard web page template called article and it’s used to view entries from a single weblog
    via.

    {exp:weblog:entries weblog={weblog_short_name} limit="1"}
    {body}
    {/exp:weblog:entries}

    I am adding the tags via the cp’s publish and/or edit pages and the content is pulled via the {body} tag

  • #4 / Jan 31, 2010 7:50am

    Ross1988

    59 posts

    there’s a plugin/extension that lets you process templates within weblog entries, i’ll try and find it for you


    edit ~

    http://expressionengine.com/downloads/details/allow_ee_code/

  • #5 / Jan 31, 2010 10:24am

    Crowds

    21 posts

    Thanks Ross !
    Thats exactly what I needed 😊

    Crowds

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

ExpressionEngine News!

#eecms, #events, #releases