Author Topic: Shop button for Leviathan theme required please  (Read 1808 times)

Offline paffman

Shop button for Leviathan theme required please
« on: June 24, 2008, 07:41:52 am »
Theme Name: Leviathan

Link to Theme: 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
« Last Edit: June 24, 2008, 07:47:31 am by paffman »

Offline Free Town

Re: Shop button for Leviathan theme required please
« Reply #1 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' => '',
);

Offline paffman

Re: Shop button for Leviathan theme required please
« Reply #2 on: July 23, 2008, 05:37:48 pm »
Tnx.......  O0