PDA

View Full Version : Add buttons to the Quick Edit?


Fifthe1ement
04-11-2006, 11:13 PM
How do I add buttons to the quick edit? I would like to add the CODE command and the Remove Link command. Thanks so much for whoever can help! :banana:

Thanks,

FifthE1ement

top end ms
04-12-2006, 12:15 AM
Styles & Templates > Postbit Templates > postbit_quickedit :bunny:

Fifthe1ement
04-13-2006, 02:25 AM
Ok, but what do I do?

Delor
05-06-2006, 01:11 AM
quick edit or quick reply?

if its for quick edit thats simple

you edit your styles postbit_quickedit and you look for the following

<if condition="$show['url_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td> </if>

you then would replace it with

<if condition="$show['url_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
</if>

The above is only for adding the Remove Link

Kirk Y
09-14-2006, 01:26 AM
It's the same for Quick Reply -- it's just a different template.