How to remove User Account Label

Author Message

DeAndre Johnson

Saturday 08 August 2009 8:42:03 pm

I'm trying to remove the User Account label in the user registration form without also removing the First Name and Last Name labels.

I am, because I choose to be!

Ɓukasz Serwatka

Tuesday 11 August 2009 12:43:07 am

Hi,

You probably see doubled label one coming from User class attribute name and one from the ezuser datatype. You can either override user/register.tpl and add some logic there to filter out the label or override the ezuser datatype for User class and remove the user account label. It is up to you.

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

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

Main resources:

Total runtime0.5157 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.0070 589.4766152.6406
Module start 'layout' 0.00700.0032 742.117239.4766
Module start 'content' 0.01020.5044 781.5938530.3203
Module end 'content' 0.51450.0012 1,311.91418.1406
Script end 0.5157  1,320.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.6297160.0002
Check MTime0.00120.2406160.0001
Mysql Total
Database connection0.00140.266210.0014
Mysqli_queries0.464089.9680540.0086
Looping result0.00050.0992520.0000
Template Total0.474392.020.2372
Template load0.00280.535020.0014
Template processing0.471591.429820.2358
Template load and register function0.00010.022510.0001
states
state_id_array0.00090.173910.0009
state_identifier_array0.00080.152820.0004
Override
Cache load0.00210.416590.0002
Sytem overhead
Fetch class attribute can translate value0.00060.115820.0003
Fetch class attribute name0.00250.491640.0006
XML
Image XML parsing0.00100.196820.0005
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00090.1813240.0000
String conversion0.00000.001940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs