Tutorial: Adding Extra Function Buttons to the Editor.
#31
Ok i'm lost here what i have to put here

So if i wanted to change this to have it post [hide] [/hide] When pressed how would i go about changing what in this line?
editor.js:-
{type: 'button', name: 'php', sprite: 'php', insert: 'php', title: this.options.lang.title_php}


It seems the global.lang is what will need changing as well?

line 146 :- $l['editor_title_php'] = "Insert formatted PHP code";



Sorry but this is well over my head at the moment can't work out what to do at all.

Thanks.
Reply


Messages In This Thread
RE: Tutorial: Adding Extra Function Buttons to the Editor. - by matrixsc - 2009-05-14, 10:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)