I have a CCK text field (a textarea) which stores HTML, created via TinyMCE. The problem is that when it comes out in my view, Drupal converts the HTML to text so we see the <ul> tag etc. instead of a list. I am using contemplate and
print "<div>$field_mytext_value</div>";
how can I get the HTML to come out as HTML and not text?
Thanks.
Check for the correct setting in your field's settings at /admin/content/types/[your-content-type]/fields/field_[your-field]
Look under "Text processing" to see if you have selected "Filtered text (user selects input format)."
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Fred Jones Sent: Monday, January 14, 2008 10:08 AM To: support@drupal.org Subject: [support] CCK Field to display as HTML in a View
I have a CCK text field (a textarea) which stores HTML, created via TinyMCE. The problem is that when it comes out in my view, Drupal converts the HTML to text so we see the <ul> tag etc. instead of a list.
I am using contemplate and
print "<div>$field_mytext_value</div>";
how can I get the HTML to come out as HTML and not text?
Thanks. -- [ Drupal support list | http://lists.drupal.org/ ]
Jim Smith wrote:
Check for the correct setting in your field's settings at /admin/content/types/[your-content-type]/fields/field_[your-field]
Look under "Text processing" to see if you have selected "Filtered text (user selects input format)."
Fantastic. I never noticed that.
Thank you very much!