Author Topic: Alienation (Bloc)  (Read 4946 times)

Offline Daniel15

Alienation (Bloc)
« on: December 08, 2006, 06:04:37 pm »
Shop button for the Alienation theme

Code modifications:
Open Themes/alienation1.1RC3/Index.template.php
Find:

	
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 :D