Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
arkid
arkid
Related to my other post here (http://www.viart.com/hiding_whole_tabs_inside_the_cms.html) I thought I would mention that another simple way to reduce the complexity of the new Viart 4 CMS is to just hide whole chunks of the left side menus.
 
From the start of many projects I make I know large sections of features won't be required, and as these left hand menus collect lots of pages and settings all related to the same features its a very easy way to hide large parts of functions within the system if your not going to need them.
 
The key file is /admin/blocks/admin_leftside_menu.php.
 
 
If for example I wanted to hide the Wishlist features I would go down to this part...
 
 
 
COUPONS_MSG => array(
"href" => $admin_site_url . "admin_coupons.php",
"perm" => "coupons",
"subs" => array(
EDIT_COUPON_MSG => "admin_coupon.php"
)
),
WISHLIST_TYPES_MSG => array(
"href" => $admin_site_url . "admin_saved_types.php",
"perm" => "saved_types",
"subs" => array(
EDIT_TYPE_MSG => "admin_saved_type.php"
)
),
PRODUCTS_REPORT => array(
"href" => $admin_site_url . "admin_products_report.php",
"perm" => "products_report"
)
 
 
 
and just update it by adding comments, such as....
 
 
 
COUPONS_MSG => array(
"href" => $admin_site_url . "admin_coupons.php",
"perm" => "coupons",
"subs" => array(
EDIT_COUPON_MSG => "admin_coupon.php"
)
),
/*
WISHLIST_TYPES_MSG => array(
"href" => $admin_site_url . "admin_saved_types.php",
"perm" => "saved_types",
"subs" => array(
EDIT_TYPE_MSG => "admin_saved_type.php"
)
),
*/
PRODUCTS_REPORT => array(
"href" => $admin_site_url . "admin_products_report.php",
"perm" => "products_report"
)
Last modified: 5 Jan 2011 10:37 AM
 
arkid
arkid
I would add to this that its best to always duplicate the default /templates/admin folder and setup a new "Layout" inside the cms that points to the duplicated set of admin template files. This way you can switch back to the default layout easily which is useful for troubleshooting and also a help if viart or other 3rd parties ever need to access your setup and are confused by its modified menus.
 
Also its best to rename your actual /admin folder (to avoid hacking attempts) to something else. For changes to the php files in the admin folder, to assist troubleshooting its best to have an identical copy of your modified admin folder (minus your changes) handy so again if someone needs to access it they can and see the admin without the mods.