Author Topic: Shop Button for Absado_V2  (Read 2188 times)

Offline Lil_Mermaid_Girl

Shop Button for Absado_V2
« on: June 07, 2008, 11:01:00 am »
I need a shop button for the theme Absado_v2.

http://custom.simplemachines.org/themes/index.php?lemma=542

And thanks for the mod  :)

Offline Lil_Mermaid_Girl

Re: Shop Button for Absado_V2
« Reply #1 on: June 12, 2008, 02:23:14 am »
I decided to just try this myself going based off of another theme to see if it worked. It did and I have the shop button displayed properly on my forums, figured I'd share it here in case anyone else needed it ever:

Find in themes/Absado_v2/index.template.php:
Code: [Select]
// The [calendar]!
if ($context['allow_calendar'])
echo '<li><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

Add after:
Code: [Select]
// SMFShop
echo '
<a href="', $scripturl, '?action=shop">Shop</a>', $context['menu_separator'];