Shop field labels

Author Message

Neo Pixel

Saturday 09 April 2011 4:28:30 am

Hi,

How and where can I change the field names on /shop/userregister ? And add a field for telephone number?

I've looked in the setup classes but its not there

Any help would be appreciated

N:)

Asking stupid questions so you don't have to!

Karol Radziuk

Sunday 10 April 2011 11:43:34 pm

Hi,

I did it that way:

1. I created custom module shopuserregister drawing on kernel/shop/userregister.php (there you can create new fields, like phone)

2. I made URL wildcard or alias (some time has passed, can not remember) shop/userregister -> shopuserregister/shopuserregister

3. I made shopaccounthandler (shopuserregister/shopaccounthandlers/customshopaccounthandler.php). In this file I get previously created custom user info.

{$me|attribute(show,1)}

Neo Pixel

Saturday 30 April 2011 3:32:57 am

Thanks Karol :)

I'll give that a try

Asking stupid questions so you don't have to!

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 02:19:48
Script start
Timing: Jan 18 2025 02:19:48
Module start 'layout'
Timing: Jan 18 2025 02:19:48
Module start 'content'
Timing: Jan 18 2025 02:19:49
Module end 'content'
Timing: Jan 18 2025 02:19:49
Script end

Main resources:

Total runtime0.7232 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.7891152.6094
Module start 'layout' 0.00730.0032 740.398439.4219
Module start 'content' 0.01050.7114 779.8203534.6250
Module end 'content' 0.72180.0013 1,314.445312.1875
Script end 0.7232  1,326.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5140160.0002
Check MTime0.00160.2144160.0001
Mysql Total
Database connection0.00090.125310.0009
Mysqli_queries0.671592.8468570.0118
Looping result0.00040.0600550.0000
Template Total0.689695.420.3448
Template load0.00220.301420.0011
Template processing0.687495.050120.3437
Template load and register function0.00010.011810.0001
states
state_id_array0.00090.129010.0009
state_identifier_array0.00110.149020.0005
Override
Cache load0.00180.2468200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.081720.0003
Fetch class attribute name0.00100.144450.0002
XML
Image XML parsing0.00100.131920.0005
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00100.1326230.0000
String conversion0.00000.001240.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs