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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

[SOLVED] Changing paragraph format labels in 2.3.0


Go to End


2 Posts   1590 Views

Avatar
NickJacobs

Community Member, 148 Posts

25 February 2009 at 3:10pm

Edited: 06/03/2009 12:17pm

Hi, I'm trying to change the format dropdown labels in the content editor (ie Heading1, Heading 2 etc)...I did this on a previous site but I am having trouble doing it on this version.

To me this should be an easy thing to modify...most clients dont have an understanding of where to use "Heading 1", "Heading 2", so being able to provide more descriptive labels is key, ie "Main Page Heading".

I have tried modifying the relevant code in: sapphire/forms/HtmlEditorField.php and sapphire/lang/en_US.php but this has not changed the editor dropdown.

Any ideas??

Avatar
NickJacobs

Community Member, 148 Posts

3 March 2009 at 11:20am

Edited: 06/03/2009 12:15pm