Jump to content


Corporate Sponsors


Latest News: (loading..)

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


3 replies to this topic

#1 marut

  • Community Member
  • 12 posts
  • Real Name:marut

Posted 10 September 2011, 11:19

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

  • Community Sponsor
  • 10,466 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

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
:|: 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 :|:

#3 germ

  • Community Member
  • 13,587 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 11 September 2011, 14:42

/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.

"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

  • Community Member
  • 13,587 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

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:

	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 >