Jump to content

[solved] Home Text Editor module (font size and type changing problem)


Recommended Posts

To get back four rows of editing buttons do this:

Open the file form.tpl in the directory admin\themes\default\template\helpers\form.

Search for:

 theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
	theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
	theme_advanced_buttons3 : "",
	theme_advanced_buttons4 : ""

 

And replace with:

 

  theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
  theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,forecolor,backcolor",
  theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,|,ltr,rtl,|,fullscreen",
  theme_advanced_buttons4 : "styleprops,|,cite,abbr,acronym,del,ins,attribs,pagebreak",

Edited by Telesight (see edit history)
  • Like 1
Link to comment
Share on other sites

Very nice, Telesight. While looking through PrestaShop and checking things out, the lack of options in the editor stood out. Came across this thread looking for something else, and a minute later had a very usable editor again. Saved a lot of looking around time.

 

Thanks...

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 1 month later...
  • 1 month later...
×
×
  • Create New...