SMF Shop
SMFShop => Installation Problems => Topic started by: backend 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>
-
Check your Sources/Subs.php file to ensure the shop section was added properly. Find:
// Make sure the administrator has a valid session...
Add below (if it doesn't already exist):
//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