Enable Sql And Html Code Box Buttons - NBS






 

 

Enable Sql And Html Code Box Buttons - NBS

View Full Version : Enable Sql And Html Code Box Buttons


AjRap2
02-Aug-2004, 07:06 PM
It's very simple and they come in handy sometimes :)
I'm surprised some people don't even know that these existed :o

Simply go to Admin CP -> Skins & Templates -> Skin Manager -> Edit Root Skin Template HTML -> Post Screen -> postbox_buttons

Find this (NOTE*: It will be alot easier to push ctrl+f and enter the below in the window that shows *)
<div class='htmltop'>HTML</div><div class='htmlmain'><!--<input type='button' accesskey='l' value=' SQL ' onclick='simpletag("SQL")' class='codebuttons' name='SQL'>
<input type='button' accesskey='t' value=' HTML ' onclick='simpletag("HTML")' class='codebuttons' name='HTML'>-->
</div>

Simply unquote it like this....
<div class='htmltop'>HTML</div><div class='htmlmain'><input type='button' accesskey='l' value=' SQL ' onclick='simpletag("SQL")' class='codebuttons' name='SQL'>
<input type='button' accesskey='t' value=' HTML ' onclick='simpletag("HTML")' class='codebuttons' name='HTML'>
</div>

Click Save Template Bit(s)

Ash
02-Aug-2004, 07:14 PM
Cool, thanks Aj. :D