Differents forms to register different users

Author Message

laurent le cadet

Wednesday 06 July 2005 1:18:45 am

Hi,

I need to register users with 2 differents forms.
The first onecan be the default register.tpl but I need another one more complex.

The idea is to use sections :

[register_user]
Source=user/register.tpl
MatchFile=user/register.tpl
Subdir=templates
Match[class_identifier]=user
Match[section]=11

[register_ancien_eleve]
Source=user/register.tpl
MatchFile=user/ancien_eleve.tpl
Subdir=templates
Match[class_identifier]=ancien_eleve
Match[section]=8

But I can't print out any difference.

Is that the right way to do what Iwant ?

Laurent

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 21 2025 20:32:15
Script start
Timing: Jan 21 2025 20:32:15
Module start 'layout'
Timing: Jan 21 2025 20:32:15
Module start 'content'
Timing: Jan 21 2025 20:32:16
Module end 'content'
Timing: Jan 21 2025 20:32:16
Script end

Main resources:

Total runtime1.3761 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 591.8828151.2266
Module start 'layout' 0.00900.0040 743.109436.6797
Module start 'content' 0.01291.3624 779.7891459.3047
Module end 'content' 1.37540.0008 1,239.09387.9688
Script end 1.3761  1,247.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2780160.0002
Check MTime0.00140.1042160.0001
Mysql Total
Database connection0.00180.132010.0018
Mysqli_queries1.332096.7930460.0290
Looping result0.00060.0404440.0000
Template Total1.337197.220.6685
Template load0.00270.194820.0013
Template processing1.334496.966020.6672
Template load and register function0.00010.007610.0001
states
state_id_array0.00150.105610.0015
state_identifier_array0.00380.277720.0019
Override
Cache load0.00220.1572120.0002
Sytem overhead
Fetch class attribute can translate value0.00150.108610.0015
Fetch class attribute name0.00060.044720.0003
XML
Image XML parsing0.00060.044910.0006
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00160.1147160.0001
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7

Time used to render debug report: 0.0001 secs