embedded login form problem

Author Message

Alessandro Cipriani

Wednesday 25 February 2004 5:30:08 am

hi all
i'm trying to have the login form into the pagelayout structure in my site.
to do this i simply referenced the login form as follows:
{include uri="design/corporate/override/templates/user/login.tpl"}

the problem is that togheter with the login form the message "You are not allowed to access %1." appears!
anyone has some idea?

best regards
alessandro

Jan Borsodi

Tuesday 02 March 2004 7:50:16 am

The login.tpl is not meant to be reused like that, it expects several variables to be set to work properly.

I suggest you open the file and copy the form declaration and input fields/buttons to a new template and use that one in the pagelayout.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 11:44:32
Script start
Timing: Jan 19 2025 11:44:32
Module start 'layout'
Timing: Jan 19 2025 11:44:33
Module start 'content'
Timing: Jan 19 2025 11:44:34
Module end 'content'
Timing: Jan 19 2025 11:44:34
Script end

Main resources:

Total runtime1.1886 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.0063 589.1563152.6250
Module start 'layout' 0.00630.0040 741.781339.4453
Module start 'content' 0.01031.1769 781.2266528.8047
Module end 'content' 1.18720.0014 1,310.03138.1641
Script end 1.1886  1,318.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2967160.0002
Check MTime0.00140.1168160.0001
Mysql Total
Database connection0.00100.082910.0010
Mysqli_queries1.139495.8619540.0211
Looping result0.00060.0528520.0000
Template Total1.139095.820.5695
Template load0.00230.194520.0012
Template processing1.136795.628820.5683
Template load and register function0.00010.007710.0001
states
state_id_array0.00210.176510.0021
state_identifier_array0.00240.205320.0012
Override
Cache load0.00180.1554160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.040620.0002
Fetch class attribute name0.00110.091540.0003
XML
Image XML parsing0.00110.089920.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00220.1809230.0001
String conversion0.00000.000940.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs