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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Custom HtmlEditorToolbar Buttons in Frontend?


Go to End


917 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