Author Topic: DS-Natural  (Read 2094 times)

Offline Lumpy

DS-Natural
« on: July 02, 2008, 06:52:58 am »
Theme Name: DS-Natural
Link to Theme: http://custom.simplemachines.org/themes/index.php?lemma=749

thanks in advance =]

Offline Free Town

Re: DS-Natural
« Reply #1 on: July 23, 2008, 01:30:27 pm »
Open index.template.php and search for

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

and after that add this

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



Now search for this

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

Then add this under

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';
« Last Edit: July 23, 2008, 01:35:16 pm by Free Town »