Shop button for the Alienation theme
Code modifications:Open Themes/alienation1.1RC3/Index.template.phpFind:
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';
Add after:
if ($context['current_action'] == 'shop')
$current_action = 'shop';
Also, find:
// The [calendar]!
if ($context['allow_calendar'])
echo '
<td class="amaintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>';
Add after:
// SMFShop
echo '
<td class="amaintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>';
Then, your shop button should be working