edit user profile template

Author Message

P O

Thursday 12 February 2009 4:00:03 pm

Hello.

I use ezpublish with ezwebin. When I register and then login to edit my profile I can see the toolbar (with manage versions, translate from and so on options), and current drafts of the user profile. I don't want users (guests) have an access to that toolbar and to see draft list, just to see the page with the option to change email and so on. Can I do it from the admin panel or it needs some template overriting?

Thanks.

Ivo Lukac

Friday 13 February 2009 12:42:11 am

Check in extension/ezwebin/settings/websitetoolbar.ini:

[WebsiteToolbarSettings]  
AvailableForClasses[]

If the 'user' class is in that list remove it.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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 21:07:06
Script start
Timing: Jan 18 2025 21:07:06
Module start 'layout'
Timing: Jan 18 2025 21:07:06
Module start 'content'
Timing: Jan 18 2025 21:07:07
Module end 'content'
Timing: Jan 18 2025 21:07:07
Script end

Main resources:

Total runtime0.5981 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0313152.6406
Module start 'layout' 0.00530.0024 740.671939.4609
Module start 'content' 0.00780.5889 780.1328523.0625
Module end 'content' 0.59670.0014 1,303.19538.3203
Script end 0.5981  1,311.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5482160.0002
Check MTime0.00130.2220160.0001
Mysql Total
Database connection0.00060.102010.0006
Mysqli_queries0.554392.6802540.0103
Looping result0.00050.0814520.0000
Template Total0.570395.320.2852
Template load0.00220.362820.0011
Template processing0.568194.981520.2841
Template load and register function0.00020.034810.0002
states
state_id_array0.00100.160810.0010
state_identifier_array0.00090.152620.0005
Override
Cache load0.00180.2993110.0002
Sytem overhead
Fetch class attribute can translate value0.00120.196420.0006
Fetch class attribute name0.00210.347930.0007
XML
Image XML parsing0.00080.132120.0004
class_abstraction
Instantiating content class attribute0.00000.002030.0000
General
dbfile0.00090.1431170.0001
String conversion0.00000.001340.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs