Author Topic: Button for 'Themis' theme  (Read 5289 times)

Offline Daniel15

Button for 'Themis' theme
« on: April 01, 2006, 03:13:58 pm »
This is the shop button code for the 'Themis' theme. I wasn't sure what image to use for the shop, so I just used the 'Home' image.

Code modifications:
Open Themes/themis/Index.template.php
Find:

        // The [calendar]!
        if ($context['allow_calendar']){
                $menu1 .= '
                                <a href="'
$scripturl'?action=calendar"><img src="' $settings['images_url'] . '/gnome/calendar.gif" alt="' $txt['calendar24'] . '" style="margin: 2px 0;" border="0" /></a>';
                $menu2 .= '  |
                                <a href="'
$scripturl'?action=calendar">'.$txt['calendar24'].'</a>';
        }



Add after:

                $menu1 .= '
                                <a href="'
$scripturl'?action=shop"><img src="' $settings['images_url'] . '/gnome/home.gif" alt="Shop" style="margin: 2px 0;" border="0" /></a>';
                $menu2 .= '  |
                                <a href="'
$scripturl'?action=shop">Shop</a>';



Make sure that you add the text AFTER the } in the calendar section.

Then, your shop button should be working :D
« Last Edit: April 01, 2006, 03:17:51 pm by daniel15 »

Offline Janleex0

Re: Button for 'Themis' theme
« Reply #1 on: February 02, 2015, 07:37:00 pm »
This is a shop button for the 'Epsilon' theme by Bloc. This theme uses a text-based menu, so we don't need a shop button image  :)
_________
Prep4sure.net Microsoft 70-534 Microsoft 70-640 Labs 4A0-101 Testking CTFL_001 Practice Test 250-315 Braindumps 1z0-400
« Last Edit: February 01, 2016, 01:01:27 pm by Janleex0 »