Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How can I manipulate HTMLText Content?


Reply

9 Posts   1327 Views

Avatar
swaiba

7 October 2010 at 8:09am (Last edited: 7 October 2010 8:10am), Forum Moderator, 1796 Posts

Yes!

Extend 'class Varchar' into something like 'class VarcharPlus', copy the Parser function from 'class Text' into VarcharPlus and then change the $db from type Varchar to type VarcharPlus... I imagine that would work...