Forums

[resolved] "Custom Fields template" Why & Tags show up in the output?? (2 posts)

  1. marcoteu
    Member
    Posted 1 year ago #

    Hi all!
    I've just starting to learn the Custom Fields Template plugin.
    Till now everything went very well.

    Now I bumped in to this Textarea problem.

    If I select a word in the Textarea text editor to make it bold ( tag), the and tags are shown in to the actual output. :-(
    Of course I don't want these tags to show up in to the output.

    Can anybody help me with tis issue?
    Is there maybe a setting which I forgot?

    Already much appreciated! :-D

    This is the code I used for the Textarea object.

    [text_col1]
    type = textarea
    rows = 4
    cols = 30
    htmlEditor = true
    tinyMCE = true
  2. marcoteu
    Member
    Posted 1 year ago #

    Resolved!
    It's probably not the most elegant way to fix this but it works fine for now.
    I've used the html_entity_decode() php string function.

    So it looks something like this:
    <?php $a = html_entity_decode($customfield_value); echo $a;?>

Topic Closed

This topic has been closed to new replies.

About this Topic