Hiding extension tabs from siteaccess

Author Message

Julien Renard

Thursday 15 October 2009 8:03:38 am

Hi!

I'm developing a web site and we are using the ezFind extension.

This extension adds a new tab in all admin interfaces.

I would like to hide it from the site_admin siteaccess but not from the admin siteaccess (so disabling it from ezfind's menu.ini.append.php isn't an option).

How should I do so?

Thanks for your answers.

André R.

Thursday 15 October 2009 12:12:37 pm

Unfortunately extension settings overwrite siteaccess settings, so you'll need to comment out the setting in ezfind and define it in the siteaccess where you want it to show similarly to how it is defined in ezfind/settings/.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Julien Renard

Friday 16 October 2009 12:06:20 am

Oh yes!!! So obvious!

I tested it and it works perfectly.

Thanks a lot for the tip!

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

eZ debug

Timing: Jan 18 2025 19:38:55
Script start
Timing: Jan 18 2025 19:38:55
Module start 'layout'
Timing: Jan 18 2025 19:38:55
Module start 'content'
Timing: Jan 18 2025 19:38:55
Module end 'content'
Timing: Jan 18 2025 19:38:55
Script end

Main resources:

Total runtime0.0155 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.0156152.6250
Module start 'layout' 0.00540.0034 740.640639.4453
Module start 'content' 0.00870.0050 780.085989.2422
Module end 'content' 0.01370.0018 869.328130.3047
Script end 0.0155  899.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.6850140.0002
Check MTime0.00106.6930140.0001
Mysql Total
Database connection0.00074.483010.0007
Mysqli_queries0.002415.757230.0008
Looping result0.00000.167410.0000
Template Total0.00159.510.0015
Template load0.00074.799310.0007
Template processing0.00074.684210.0007
Override
Cache load0.00053.466310.0005
General
dbfile0.00031.841480.0000
String conversion0.00000.072240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs