TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 319
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 328
  • Total: 328

Help me add a button

Started by morris, May 12, 2009, 11:52:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

morris

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

Lafemme

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

Good Luck!

Ianedres

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>';

This website is proudly hosted on Crocweb Cloud Website Hosting.