SHOP: Overriding a handler with another

Author Message

Anja Lundin

Wednesday 25 May 2005 11:14:58 pm

Hi!
I wonder what you can do with the lines in shopaccount.ini:

[AccountSettings]
Handler=ezdefault
#Handler=ezdefault
# Allows for overriding a handler with another
Alias[]
# Alias[ezdefault]=eztest

Is it possible to override a handler? And where do I start? I need to use a modified php-file with validations of new fields for the registration in the shop. Have anyone done this before? And I can't just add a new input field in the template. I need (or I think I need) to do changes in the php-files. How can this be done?

Btw I use eZ 3.5.1.

Thanks in advance!
/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Ɓukasz Serwatka

Wednesday 25 May 2005 11:37:54 pm

Hi Anja,

Look at this topics,

http://ez.no/community/forum/setup_design/account_and_billing_info
http://ez.no/community/forum/setup_design/shop_user_how_to_make_a_shop_user_a_real_user
http://ez.no/community/forum/developer/the_concept_of_shopaccounthandlers
http://ez.no/community/forum/developer/shop_account_users

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 19 2025 01:21:26
Script start
Timing: Jan 19 2025 01:21:26
Module start 'layout'
Timing: Jan 19 2025 01:21:26
Module start 'content'
Timing: Jan 19 2025 01:21:26
Module end 'content'
Timing: Jan 19 2025 01:21:26
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.2734152.6406
Module start 'layout' 0.00630.0041 741.914139.4609
Module start 'content' 0.01040.0040 781.375089.4453
Module end 'content' 0.01440.0017 870.820330.3047
Script end 0.0162  901.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003119.2815140.0002
Check MTime0.001810.9378140.0001
Mysql Total
Database connection0.00116.576210.0011
Mysqli_queries0.003320.224130.0011
Looping result0.00000.177910.0000
Template Total0.00148.610.0014
Template load0.00084.877710.0008
Template processing0.00063.669010.0006
Override
Cache load0.00063.460110.0006
General
dbfile0.00021.282380.0000
String conversion0.00000.061840.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