Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: nixlike - lokakuu 21, 2011, 01:13:29 IP

Otsikko: add new colors to the post editor
Kirjoitti: nixlike - lokakuu 21, 2011, 01:13:29 IP
hi,

everyone knows the default editor when creating a new post or thread. I like to add another color to the color dropdownlist.
so far I have been in GenericControls.template.php, in editor.js and in the Post-language file and changed the responsible values but it looks like I left something since the entry for the color shows up below "White" and is also automatically being added by using [ color ] tags (as usual), but when I save or create the post the entire [ color=newcolor ] text [ / color ] is visible as plain text.

Im sure im missing something somewhere, but I dont know where - pointing at the right place to help me out is appreciated :)
Otsikko: Re: add new colors to the post editor
Kirjoitti: Draffi - lokakuu 21, 2011, 01:16:43 IP
There exist a mod for this...

http://custom.simplemachines.org/mods/index.php?mod=1575

;)
Otsikko: Re: add new colors to the post editor
Kirjoitti: nixlike - lokakuu 21, 2011, 01:24:43 IP
thanks, let me add that Im running an SMF 2.0.1 board (forgot to add it, my bad), the mod is for 1+ versions.
Im also running the default theme.
Otsikko: Re: add new colors to the post editor
Kirjoitti: nixlike - lokakuu 26, 2011, 10:08:34 AP
anyone able to point me to the right spot please? :)