Author Topic: DarkBreak Theme Button Completed  (Read 1489 times)

Offline xRifleProdigyx

DarkBreak Theme Button Completed
« on: June 13, 2008, 07:00:58 am »
It may say "Array" instead of shop, but atleast it works!  ;)

Find in index.template.php:
Code: [Select]
// The [calendar]!
               if ($context['allow_calendar'])
                  echo '<li><a' , $current_action=='calendar' ? ' class="current"' : '' , ' href="', $scripturl, '?action=calendar"><span>' , $txt['calendar24'] , '</span></a></li>';

Add After:
Code: [Select]
// SMFShop
                  echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>' , $txt , '</span></a></li>';

Offline Free Town

Re: DarkBreak Theme Button Completed
« Reply #1 on: July 23, 2008, 03:34:36 pm »
If you dont want it to say Array change it to

Code: [Select]
// SMFShop
                  echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';