Jump to content

Render CKEditor field


Smoo
 Share

Recommended Posts

Hi - newbie question here.
I have a field called footer_center_section, whch is a text area. it's set to use CKEditor as input.
When I'm outputting this field, I'm seeing the markup as well as the content, rather than just the content.
In my template I've got  <?php echo $footer_center_section;?>
Output is shown in the attached screen shot.
Is there some property of a text area field that I should be using, rather than the object itself?

Any guidance appreciated.

Minimal_Site_Profile.png

Link to comment
Share on other sites

Welcome to the forums @Smoo.

2 hours ago, Smoo said:

When I'm outputting this field, I'm seeing the markup as well as the content, rather than just the content.

The markup is the content, but if you are seeing tags rendered like that then it could be caused by encoded entities. Check to make sure you do not have "HTML Entity Encoder" selected under "Text Formatters" in the field settings.

2017-10-29_173224.png.aa8d17a07453fb1ede3839245971c336.png

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...