login module?

Author Message

Leonardo López

Sunday 19 June 2005 7:00:04 am

Hi, im new using ezpublish and my english is not very well, the problem is that i make a pagelayout with various tables and only in one i put {$module_result.content} so the content show only in this table, i want to create a module in other table for login... how i can do it? is some module existing or i have to make the login module by myself with scripts? excuseme the dumb question and my english im really speak only spanish... thanks

Łukasz Serwatka

Monday 20 June 2005 11:53:53 pm

Hi Leonardo,

You can put this code in pagelayout to display login form:

<form action={"/user/login"|ezurl} method="post">
    <input type="text" name="Login" value="" /><br />
    <input type="password" name="Password" value="=" />
    <input type="submit" name="LoginButton" value="Login" />
</form>

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Leonardo López

Tuesday 21 June 2005 6:14:52 am

thanks luke....!

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 10:33:55
Script start
Timing: Jan 18 2025 10:33:55
Module start 'layout'
Timing: Jan 18 2025 10:33:55
Module start 'content'
Timing: Jan 18 2025 10:33:56
Module end 'content'
Timing: Jan 18 2025 10:33:56
Script end

Main resources:

Total runtime0.6368 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.0054 588.9219152.6094
Module start 'layout' 0.00540.0045 741.531339.3984
Module start 'content' 0.01000.6256 780.9297532.8438
Module end 'content' 0.63560.0012 1,313.77348.2031
Script end 0.6368  1,321.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4996160.0002
Check MTime0.00130.2025160.0001
Mysql Total
Database connection0.00100.164310.0010
Mysqli_queries0.592793.0653570.0104
Looping result0.00050.0809550.0000
Template Total0.603494.820.3017
Template load0.00200.308120.0010
Template processing0.601594.444520.3007
Template load and register function0.00010.022110.0001
states
state_id_array0.00230.367910.0023
state_identifier_array0.00090.139620.0004
Override
Cache load0.00160.2551110.0001
Sytem overhead
Fetch class attribute can translate value0.00050.083320.0003
Fetch class attribute name0.00110.165840.0003
XML
Image XML parsing0.00070.102520.0003
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00100.1632180.0001
String conversion0.00000.001640.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/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs