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.

Customising the CMS /

[SOLVED] Changing paragraph format labels in 2.3.0


Reply


2 Posts   773 Views

Avatar
NickJacobs

Community Member, 144 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, 144 Posts

3 March 2009 at 11:20am

Edited: 06/03/2009 12:15pm

[url]http://www.silverstripe.org/customising-the-cms/show/255478[/url]