Forums / Developer / Creating a Custom Form

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