Login and regsiter on the same page

Author Message

Lionel Bebertolli

Tuesday 03 June 2008 3:38:10 am

Hello,
I would like to display the login and the register form on the same page.I've copied the form on the register template and I've pasted it on the login form but that doesn't seem to work.
Can you help me ?

Laurent BOURREL

Tuesday 03 June 2008 4:47:52 am

Hi,

Each template (login / register) is called by his own view, so you can't just mix them together.

I think you should write your own user view.

HTH

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

Main resources:

Total runtime0.0146 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.0047 589.1563152.6250
Module start 'layout' 0.00470.0029 741.781339.4609
Module start 'content' 0.00760.0050 781.242289.1953
Module end 'content' 0.01260.0019 870.437530.3047
Script end 0.0145  900.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.8020140.0002
Check MTime0.00117.6063140.0001
Mysql Total
Database connection0.00075.106910.0007
Mysqli_queries0.002114.690530.0007
Looping result0.00000.088410.0000
Template Total0.001611.010.0016
Template load0.00085.725610.0008
Template processing0.00085.286910.0008
Override
Cache load0.00063.892410.0006
General
dbfile0.00031.942980.0000
String conversion0.00000.049140.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