I'm trying to add vbcode buttons.
I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine.
Now, what I tried to do instead of the above was this:
Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right?
But it doesn't, and I was wondering if anyone knew why.
Any help on this would be greatly appreciated.
P.S.
The reason I wanted this to work is so that I could add only some of the vbcode buttons.
|