SMF Shop

SMFShop => Shop Button Requests => Topic started by: paffman on June 24, 2008, 07:41:52 am

Title: Shop button for Leviathan theme required please
Post by: paffman on June 24, 2008, 07:41:52 am
Theme Name: Leviathan

Link to Theme: http://custom.simplemachines.org/themes/index.php?lemma=142 (http://custom.simplemachines.org/themes/index.php?lemma=142)

Download the first file: Leviathan_11final.zip

I've just noticed that in the top right of the screen of this theme, you can change the colour to three shades - is this a problem?

Many thanks,
Steve
Title: Re: Shop button for Leviathan theme required please
Post by: Free Town on July 23, 2008, 01:58:13 pm
Open index.template.php and search for

Code: [Select]
// search button
$context['menubox'][]=array(
'title' => $txt[182],
'link' => $scripturl.'?action=search',
'chosen' => 'search',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);

Add this code after that one

Code: [Select]
// shop button
$context['menubox'][]=array(
'title' => Shop,
'link' => $scripturl.'?action=shop',
'chosen' => 'shop',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
Title: Re: Shop button for Leviathan theme required please
Post by: paffman on July 23, 2008, 05:37:48 pm
Tnx.......  O0