Themes/Ultimate

From SMFShopWiki

Jump to: navigation, search

So much info in so few words. Tooltsy could learn a lot.

In Themes/ultimate/index.template.php, find:

  1. if ($context['current_action'] == 'theme')
  2. $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

Add after:

  1. if ($context['current_action'] == 'shop')
  2. $current_action = 'shop';

Also, find:

  1. // The [calendar]!
  2. if ($context['allow_calendar'])
  3. echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
  4. <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
  5. <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
  6. </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Add after:

  1. // SMFShop
  2. echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
  3. <td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
  4. <a href="', $scripturl, '?action=shop">Shop</a>
  5. </td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Personal tools