Jump to content



Latest News: (loading..)

How to hide Action Recorder, Boxes ,Social Bookmarks from admin in left side


  • Please log in to reply
3 replies to this topic

#1   marut

marut
  • Members
  • 12 posts
  • Real Name:marut

Posted 10 September 2011 - 11:19 AM

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

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,720 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

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
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#3   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 11 September 2011 - 02:42 PM

/admin/includes/boxes/modules.php

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 >

#4   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

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:

	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 >