SMF Shop
SMFShop => Shop Button Requests => Topic started by: xRifleProdigyx on June 13, 2008, 07:00:58 am
-
It may say "Array" instead of shop, but atleast it works! ;)
Find in index.template.php:
// 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:
// SMFShop
echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>' , $txt , '</span></a></li>';
-
If you dont want it to say Array change it to
// SMFShop
echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';