TinyPortal
Development => Support => Topic started by: morris on May 12, 2009, 11:52:42 AM
I've read a few things on this website about adding a button and i manage to do it but when its added, all the buttons after my one [commands] drops down a level.
I was ondering if anyone could fix it for me.
I'v attached my index.template.php
Hai!
Posting the guidelines really is crusial, since there can be so many different things be happening... this really speeds up you request ;)
Anyway.. maybe this mod is something for you.
Custom Tab (http://custom.simplemachines.org/mods/index.php?mod=1402)
Good Luck!
You are inserting another TD column, based on if IE4 was set. But the other buttons don't... so try this instead:
// The [commands] option
if ($current_action == 'commands')
echo '<li><a' , $current_action=='commands' ? ' class="current"' : '' ,
' href="http://www.ultrastunting.com/commands"><span>Commands</span></a></li>';