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

Custom HtmlEditorToolbar Buttons in Frontend?


Reply


708 Views

Avatar
SunboX

Community Member, 5 Posts

25 May 2009 at 2:27am

Hi,

i've tried to implement my own class "HtmlEditorField_Toolbar", copied the "Buttons()" function and changed it for my needs. Than i put a:

Object::useCustomClass('HtmlEditorField_Toolbar', 'FotoclubHtmlEditorField_Toolbar');

call into my _config.php ... But nothing happend. The toolbar shows all Buttons in Frontend. What do i wrong?

thx Sunny