Author Topic: Babylon  (Read 1670 times)

Aceros

  • Guest
Babylon
« on: August 23, 2007, 03:50:06 am »
Babylon:
It comes with SMF:

Thanks very much.

Offline Daniel15

Re: Babylon
« Reply #1 on: August 24, 2007, 04:33:46 pm »
Old SMFShop versions used to have a button for Babylon, but I removed it in newer (SMF 1.1-supporting) versions.

I think the old code should still work:
In Themes/babylon/index.template.php, find:
Code: [Select]
<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]
    //BEGIN Shop MOD 0.2 Code
    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']}";
    //END SHOP MOD

A "shop.gif" file is attached. Please upload it to Themes/babylon/images/english