17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1246 Views |
-
Stupid question: $Variable.XML

27 October 2007 at 5:59am
A few times I see template variables (like in the pagecomments) as
$Variable.XMLNow, I'm guessing this will output a xml clean string or something, could someone point me to the url in the docu where I can read upon this?
I can't seem to find it.
-
Re: Stupid question: $Variable.XML

27 October 2007 at 8:07pm
well I think it should be on this page - http://doc.silverstripe.com/doku.php?id=text but its probably out of date as its not. But I think from your guess its pretty spot on.
-
Re: Stupid question: $Variable.XML

27 October 2007 at 8:19pm
Ok,
now another question in the same line:
I'm subclassing the comment stuff but I want to allow users to use some html-tags such as <a>, <img>, ...
Is there some SS-built in method I could use, some 'bulletproof' strip_tags() thing, that gets rid of everything except the allowed tags, or should I just use strip_tags?
| 1246 Views | ||
|
Page:
1
|
Go to Top |


