Creating a Custom Form

Author Message

Kathy McKelvie

Saturday 16 May 2009 8:42:42 am

Hello,

I need to create a form with 2 fields on it:

User Name
Password

and a button to log in to the system.

How do I create this new form? I tried using a feedback form and
was not able to modify it.

Thanks.

Kathy McKelvie

Saturday 16 May 2009 9:13:09 am

I figured out how to create the form and I called it:

login_form

with 2 fields

username
password

I know that I have to add something to my ini file. I don't know which
ini file to update and what I am suppose to add to it.

Could someone please help me with this.

Marco Zinn

Sunday 17 May 2009 2:38:02 am

Hi Kathy,

you wrote "I need to create a form [..] to log in to the system.".
What exactly do you want to do?
I new user login screen(form) in order to have a user log in to the eZ publish system?
Or do you want to provide a login screen for some other (external) system?

If you just want to change the user login screen / form, you should be able to override the login template. It's name should be "user/login.tpl" , so search for it in the admin interface and create a new override for your user siteaccess.

Marco
http://www.hyperroad-design.com

Akhilesh Singh

Wednesday 27 May 2009 3:29:52 am

Hii Frnds.....

can any one help me out ....
I am new to EZ and need to develop a custom form.
I followed every thing mentioned in below artical:
http://ez.no/developer/articles/how_to_create_ez_publish_forms
but the form which i am getting is not what it should be . In my form all
the labels for respective text boxes and all the controls are not displaying and even
send button also is missing when i checked the view source of the form i found that <form > tag is also missing for the form so do any one know about this issue any help is appreciated
thanx in advance..

Akhi

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

Main resources:

Total runtime0.7681 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0391152.6250
Module start 'layout' 0.00640.0031 741.664139.4297
Module start 'content' 0.00950.7568 781.0938580.8281
Module end 'content' 0.76640.0017 1,361.921912.1875
Script end 0.7680  1,374.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4666160.0002
Check MTime0.00140.1841160.0001
Mysql Total
Database connection0.00090.118810.0009
Mysqli_queries0.703891.6380620.0114
Looping result0.00070.0924600.0000
Template Total0.724694.320.3623
Template load0.00180.237920.0009
Template processing0.722794.094820.3614
Template load and register function0.00030.037010.0003
states
state_id_array0.00230.296610.0023
state_identifier_array0.00160.208620.0008
Override
Cache load0.00150.2016390.0000
Sytem overhead
Fetch class attribute can translate value0.00160.209730.0005
Fetch class attribute name0.00550.718750.0011
XML
Image XML parsing0.00100.127830.0003
class_abstraction
Instantiating content class attribute0.00000.002150.0000
General
dbfile0.00070.0899160.0000
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs