Forums / General / customizing the register template

customizing the register template

Author Message

zaxofeel .v

Monday 18 April 2005 1:04:35 am

Hi All,

the register template uses the following code to display the registration attributes.

{section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
<input type="hidden" name="ContentObjectAttribute_id[]" value="{$ContentObjectAttribute:item.id}" />
{$ContentObjectAttribute:item.contentclass_attribute.name}
{attribute_edit_gui attribute=$ContentObjectAttribute:item}
{/section}

can I control theses attributes to create a custom register page? i mean removing unwanted fields for example.

Thanks All

Tore Skobba

Tuesday 19 April 2005 2:13:12 am

Sure you can customzie the register page as much as you want. But certain elements should not be removed (i.e. username, password, meta data etc...). You should probably first define what an user class should contain then customize the register page.

zaxofeel .v

Tuesday 19 April 2005 4:52:25 am

Thanks Tore for your reply,

but as you can see from the code, i don't know how to display a certain field or to remove it.

i mean, where does these elements of the form come from to customize it?

i hope i cleared the problem enough.
thanks again.

Paul Forsyth

Wednesday 20 April 2005 12:57:08 am

Have a read of this tutorial:

http://ez.no/ez_publish/documentation/incoming/tutorial_using_user_register

paul