How to hide unused modules in admin interface

Author Message

Zak dma

Thursday 30 March 2006 2:04:07 am

I want to hide module Shop in admin interface.
How can I do it?

Łukasz Serwatka

Thursday 30 March 2006 2:36:19 am

You can hide Shop tab by modifying menu.ini.append.php for your admin siteaccess. However this will affect all users (setup tab will be hide for all) and will not disable shop functionality, you will need also set right permission. Other way is modify top_menu template for admin interface (not recommend due to future upgrades).

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Bertrand Dunogier

Thursday 30 March 2006 2:38:57 am

A few more details : In my opinion the cleanest way to remove the tab is to add / edit the following menu.ini.append.php file to your siteaccess settings files :

<?php /* #?ini charset="iso-8859-1"?

[Topmenu_shop]
Shown[]
Shown[navigation]=false
Shown[default]=false
Shown[browse]=false

*/ ?>

But as Lukasz said, it will just hide the button, not remove the webshop features.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Zak dma

Thursday 30 March 2006 3:52:22 am

Ok, thanx for help. I only want hide Shop tab.

Geoff Bentley

Tuesday 08 January 2008 5:25:54 pm

Is is possible to hide unused modules from particular roles?

Heath

Tuesday 08 January 2008 5:52:34 pm

It very well might be ...

We did some work with Bjorn @ http://xrow.de where he provided a similar feature as your describe for a customer project.

I forget offhand just how it was implemented. It might have been as simple as adding custom logic to the admin menu template to control the display of menu items based on a user's role.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Piotrek Karaś

Tuesday 08 January 2008 11:22:53 pm

<i>Is is possible to hide unused modules from particular roles?</i>

eZ Publish uses what seems to me a closed approach to access control (a system of privileges). You can create roles that provide only limited access to modules or their functions, but I don't think you will be able to flexibly restrict a general policy in any other way than by replacing it with a set of detailed policies. Unfortunately, none of the above will affect the administration interface in any significant way.

On one hand, I would welcome such functionality. On the other, more and more roles can be practiced within the frontend interfaces, and that seems like a strong tendency...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.