Get CCK values, without the html in Drupal templates
Posted
by DasRakel
on Stack Overflow
See other posts from Stack Overflow
or by DasRakel
Published on 2010-05-20T14:23:31Z
Indexed on
2010/05/20
14:30 UTC
Read the original article
Hit count: 137
drupal
I'm storing a string in a CCK field. The problem is getting it back out. I have a node-node_type.tpl.php and ask it
$node->content['field_custom_map_data']['#value']
That returns html, three nested div's and uses HTML entities, I want the pure text, as entered.
What is the Drupal 5 way to fix this?
© Stack Overflow or respective owner