Author Topic: Shop Button?  (Read 2429 times)

Offline tyty1234

Shop Button?
« on: June 08, 2008, 11:33:08 am »
Theme Name: OverviewLight
Link to Theme: http://www.dzinerstudio.com/index.php?action=tpmod;dl=item49

Offline Free Town

Re: Shop Button?
« Reply #1 on: July 23, 2008, 03:38:44 pm »
Open up index.template.php and search for

Code: [Select]
if ($context['current_action'] == 'search2')
$current_action = 'search';

After that add this after

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';



Now search for

Code: [Select]
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

Now add this after

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