Author Topic: Can't see Shop Controls under Control Panel  (Read 2010 times)

Offline backend

Can't see Shop Controls under Control Panel
« on: January 10, 2007, 02:24:30 pm »
This is strange

i installed the new 2.3 sho mod on the new smf 1.1.1 and it was successful

but i dont see it under the control panel?

no matter what i do, or which admin i go under, doesnt show. I am using the default theme

But, when i type the address manually, i can get to the main shop settings, inventory etc


how can i put this in there please>



Offline Daniel15

Re: Can't see Shop Controls under Control Panel
« Reply #1 on: January 10, 2007, 03:56:13 pm »
Check your Sources/Subs.php file to ensure the shop section was added properly. Find:
Code: (php) [Select]
// Make sure the administrator has a valid session...

Add below (if it doesn't already exist):
Code: (php) [Select]
//Begin SMFShop code
loadLanguage('Shop');
        if (allowedTo('shop_admin'))
    $context['admin_areas']['shop'] = array (
    'title' => $txt['shop_admin'],
    'areas' => array(
      'shop_general' => "<a href='$scripturl?action=shop_general'>{$txt['shop_admin_general']}</a>",
    'shop_inventory' => "<a href='$scripturl?action=shop_inventory'>{$txt['shop_admin_inventory']}</a>",
                'shop_items' => $txt['shop_admin_items'],
'shop_items_edit' => "|--- <a href='$scripturl?action=shop_items_edit'>{$txt['shop_admin_items_addedit']}</a>",
'shop_restock' => "|--- <a href='$scripturl?action=shop_restock'>{$txt['shop_admin_restock']}</a>",

'shop_usergroup' => "<a href='$scripturl?action=shop_usergroup'>{$txt['shop_admin_usergroup']}</a>",
    )
    );
//End SMFShop code
« Last Edit: January 10, 2007, 04:16:10 pm by Daniel15 »