Stripped function for custom fields I'd like to strip HTML from custom fields
function htmlstripped($object, $field){ // {LINKHTMLSTRIPPED[fieldname]} return striptags($object->$field);}
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Stripped function for custom fields
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
I've searched the manual and forum and can't find anything on this. I was certain I saw something about being able to strip HTML from custom fields, the same way you can use {LINKDESCRIPTIONSTRIPPED}.
Is this possible without using PHP?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I believe you'll need to add a pseudomethod, like