Knoppen in thema

Started by -Sas-, November 01, 2011, 07:20:09 AM

Previous topic - Next topic

-Sas-

We hebben SMF shop 3.1.7 in SMF 1.1.15 geinstalleerd. 
Het thema dat we nu gebruiken is : Reflection
Link: http://custom.simplemachines.org/themes/index.php?lemma=1068

Ik heb dit al gedaan, maar dit geeft nog niet de knop:
Quote from: The Burglar! on October 30, 2011, 04:21:25 PM
open het bestand /Themes/naam_van_je_theme/index.template.php

Code (vind) Select

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


Code (er na toevoegen) Select

// Begin SMFShop code
if ($context['current_action'] == 'shop')
$current_action = 'shop';
if (in_array($context['current_action'], array('shop_general', 'shop_items_add', 'shop_items_edit', 'shop_cat', 'shop_inventory', 'shop_restock', 'shop_usergroup')))
$current_action = 'admin';
// End SMFShop code


Code (vind) Select


<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Code (er na toevoegen) Select

//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop code


Wil / kan iemand mij uitleggen hoe ik hier de `shop knop` weer in kan krijgen?

Dank u

Advertisement: