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 AM
3 replies to this topic
#1
Posted 10 September 2011 - 11:19 AM
#2
Posted 10 September 2011 - 02:40 PM
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
#3
Posted 11 September 2011 - 02:42 PM
/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.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"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 - 07:24 PM
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.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >









