SMF Shop
SMFShop => Shop Button Requests => Completed Shop Buttons => Topic started by: Daniel15 on May 07, 2006, 02:53:20 pm
-
This is a shop button for the classic YaBB SE theme (which some people still use :))
The file for the button is attached to this post. Please save this to Themes/classic/images/english/shop.gif
Code modifications:
Open Themes/classic/Index.template.php
Find:
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
Add after:
// The shop
echo '
<a href="', $scripturl, '?action=shop">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" border="0" />' : "Shop"), '</a>', $context['menu_separator'];
Then, your shop button should be working :D