Active
Project:
Content Templates (Contemplate)
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2009 at 23:02 UTC
Updated:
10 Jul 2009 at 01:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedA good option is to look in the Variables below the template you are modifying
Teaser Variables
Body Variables
RSS Variables
and then read the note that is under the box
Comment #2
amir simantov commentedThanks but I am not quite sure what do you mean. I know I have the Variables comments in the template - I actually do ues the $node. However, as it is raw data, it maybe unsafe, as indeed stated. Still, there IS a ['safe'] array item inside the CCK field and my question is whether I may use it instead of calling check_plain() for when using the ['value'] array item.
"read the note that is under the box" - did not get it...
Thanks once again, I appreciate the help!
Comment #3
Anonymous (not verified) commentedAs to read the note...
In the note it states that those variables marked with red ** (asterix) are unsafe, and what to do with them :)
Comment #4
amir simantov commentedI have no such help in my tpl.
You did not really help...
Comment #5
Anonymous (not verified) commentedOk, not sure whats going on. take a look at the attached screenshot
look in Body variables or which section your working with, and apply the comment in the note
"Click Property...." where it applies
Comment #6
amir simantov commentedWell well well... I FINALLY understood what you were talking about :-)
Thanks!