PDA

View Full Version : Custom Product does not add editor button


trickjarrett
10-27-2010, 03:18 PM
I am modifying a Product code and the following section should add a button to the wysiwyg editor, but the below code is not functioning. This code is from a vb3 product that I am updating for vb4 but I cannot find the issue below:

<plugin active="1" executionorder="5">
<title>deck button</title>
<hookname>editor_toolbar_end</hookname>
<phpcode><![CDATA[
$vBeditTemplate["extrabuttons"] .= '<li><img id="'.$editorid.'_cmd_wrap0_cards" src="http://www.mananation.com/images/mtg.png" title="Wrap [cards] tags around selected text" /></div></td>';
]]></phpcode>
</plugin>

--------------- Added 1288214665 at 1288214665 ---------------

bump?