Custom admin area

Author Message

Daniel Bins

Monday 20 November 2006 9:26:46 am

Is posible to customize the admin area? For example, hide some links o sections.

Matthew Carroll

Tuesday 21 November 2006 10:27:45 am

Yes, it's possible.

We do this to make a slightly more user-friendly 'edit' interface (less confusing options) on a few sites. The way to do it is to set up your own design, that has the default admin interface as a fall back, e.g. in edit/site.ini.append.php:

[DesignSettings]
SiteDesign=edit
AdditionalSiteDesignList[]=admin

...then you can override admin templates as required in that design, in my case commenting out large chunks of the admin interface I don't need my 'editors' to have access to, but still keeping an 'admin' siteaccess for myself and power users.

Matthew

http://carroll.org.uk

Joe Kepley

Tuesday 21 November 2006 10:59:41 am

We take Matthew's approach as well. We even have a default override that we start with on every site. No big changes, but we mainly move the right column to the bottom of the left column so that there's more width available for the main column.

If you have a situation where you just want certain users to only edit certain items, you can even build editing features into the 'public' side of your site by checking to see if a user is logged in, and providing edit links in the template if they have editing permissions.

Ekkehard Dörre

Wednesday 22 November 2006 5:48:08 am

Hi Daniel,

you can take a different admin, if it fits better to your needs:

http://ez.no/products/partner_products/nexus_admin

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Daniel Bins

Tuesday 28 November 2006 4:32:42 am

Thanks Ekke, I installed the Nexus and the startup is more fast than the default admin!

But, I have one trouble.

In the settings of some files, like:

[NodetreeSettings]
DefaultNodeID=105 <- Change

or

URL[default]=nodetree/view/105 <- Change
URL[browse]=content/browse/105 <- Change

I will replace the 105, but, what is the node number? I try to replace the 105 for 2, the root node of the site, but is not working.

 

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 10:24:25
Script start
Timing: Jan 18 2025 10:24:25
Module start 'layout'
Timing: Jan 18 2025 10:24:25
Module start 'content'
Timing: Jan 18 2025 10:24:26
Module end 'content'
Timing: Jan 18 2025 10:24:26
Script end

Main resources:

Total runtime0.6067 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.9297152.6094
Module start 'layout' 0.00750.0040 741.539139.4141
Module start 'content' 0.01150.5937 780.9531633.3203
Module end 'content' 0.60520.0015 1,414.273412.1875
Script end 0.6067  1,426.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5833160.0002
Check MTime0.00150.2502160.0001
Mysql Total
Database connection0.00100.167610.0010
Mysqli_queries0.546590.0709670.0082
Looping result0.00070.1141650.0000
Template Total0.573494.520.2867
Template load0.00220.359320.0011
Template processing0.571294.146520.2856
Template load and register function0.00020.039410.0002
states
state_id_array0.00130.215110.0013
state_identifier_array0.00120.191020.0006
Override
Cache load0.00190.3087330.0001
Sytem overhead
Fetch class attribute can translate value0.00110.174640.0003
Fetch class attribute name0.00110.179570.0002
XML
Image XML parsing0.00110.187440.0003
class_abstraction
Instantiating content class attribute0.00000.002670.0000
General
dbfile0.00150.2435220.0001
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs