Author Topic: Button for 'Igoh RC2' by koni  (Read 4029 times)

Offline SKETCHi

Button for 'Igoh RC2' by koni
« on: April 25, 2006, 01:04:08 pm »
Well, I needed to make it for one of my sites so why not share? :)

Find:
Code: [Select]
// 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'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];

Add After:
Code: [Select]
// The [shop]
echo '
<a href="', $scripturl, '?action=shop">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" style="margin: 2px 0;" border="0" />' : 'Shop'), '</a>', $context['menu_separator'];

Offline Daniel15

Re: Button for 'Igoh RC2' by koni
« Reply #1 on: April 25, 2006, 04:04:19 pm »
Thanks SKETCHi! I've added this button to the list of completed shop buttons (with thanks to you, of course :))

Offline devilian

Re: Button for 'Igoh RC2' by koni
« Reply #2 on: July 25, 2006, 02:36:14 am »

I did everything perfecly. And its working.

Only problem is that on the menu, instead of a image button, it is just showing a text button "shop". I even uploaded the shop.gif in icons folder of the theme. But still its not working.

Can u plz tell me where exactly should i put the shop.gif???

Offline SKETCHi

Re: Button for 'Igoh RC2' by koni
« Reply #3 on: July 29, 2006, 08:56:39 am »
Just right click > view image on one of the other menu images. That will tell you exactly where to put it.

Without checking, I'm pretty sure it's... /Themes/theme_folder/images/english/