Author Topic: [Request] OverViewLight Button  (Read 2172 times)

Offline Solid

[Request] OverViewLight Button
« on: May 28, 2008, 05:44:31 am »
Name of Theme: OverViewLight
Link to Theme: ..here

Thanks Daniel15 :) I tried editing the php myself, but of course I did something that turned out like half a button without any text.. :uglystupid2:

Offline Free Town

Re: [Request] OverViewLight Button
« Reply #1 on: July 23, 2008, 03:39:58 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>';