PDA

View Full Version : adding a button to the editor


tommac3
11-26-2010, 04:28 AM
How do I add a button to the editor to wrap some BBCode around selected text?

Should work similarly as the other buttons ... just with different BBCode?

I saw an article for 3.5 is it the exact same way in 4 ?

Lynne
11-26-2010, 02:07 PM
Try it on your test site and see. I can't think of why it wouldn't work the same (assuming you update any template code to vb4 syntax).

tommac3
11-26-2010, 02:35 PM
Try it on your test site and see. I can't think of why it wouldn't work the same (assuming you update any template code to vb4 syntax).

I couldnt find the same syntax. So I wasnt sure where to make the modifications.

All I need to do is to add a button to the editor.

Xtrigit
11-26-2010, 04:08 PM
Button Image (Optional) [PATH/TO/IMAGE.ext]
If you would like this BB code to appear as a clickable button on the message editor toolbar, enter the URL of an image 21 x 20 pixels in size that will act as the button to insert this BB code.

Is that what you are referring to?