Hi,
How to hide Action Recorder, Boxes ,Social Bookmarks from admin in left side under the module .
we wana hide it . Can any one provide me a proper solution for it.
Regards
Marut
Latest News: (loading..)
How to hide Action Recorder, Boxes ,Social Bookmarks from admin in left side
Started by marut, Sep 10 2011, 11:19
3 replies to this topic
#1
Posted 10 September 2011, 11:19
#2
Posted 10 September 2011, 14:40
Marut,
The only option I can think of is to remove the
include(DIR_WS_BOXES . 'modules.php');
from the /admin/includes/column_left.php
Chris
The only option I can think of is to remove the
include(DIR_WS_BOXES . 'modules.php');
from the /admin/includes/column_left.php
Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#3
Posted 11 September 2011, 14:42
/admin/includes/boxes/modules.php
Change this code:
To this code:
I just added that one line of code at the beginning.
Change this code:
$cl_box_groups[sizeof($cl_box_groups)-1]['apps'][] = array('code' => FILENAME_MODULES,
'title' => $m['title'],
'link' => tep_href_link(FILENAME_MODULES, 'set=' . $m['code']));
To this code:
if ( ( strtolower($m['title']) != 'action recorder' ) && ( strtolower($m['title']) != 'social bookmarks' ) )
$cl_box_groups[sizeof($cl_box_groups)-1]['apps'][] = array('code' => FILENAME_MODULES,
'title' => $m['title'],
'link' => tep_href_link(FILENAME_MODULES, 'set=' . $m['code']));
I just added that one line of code at the beginning.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#4
Posted 11 September 2011, 19:24
I just noticed you wanted to hide "Boxes" as well as "Social Bookmarks" and "Action Recorder".
I missed that first time around.
My bad.
That means the new line of code needs to be this:
I missed that first time around.
My bad.
That means the new line of code needs to be this:
if ( ( strtolower($m['title']) != 'action recorder' ) && ( strtolower($m['title']) != 'social bookmarks' ) && ( strtolower($m['title']) != 'boxes' ) )
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >














