Share » Forums » Setup & design » user registration form

user registration form

user registration form

Tuesday 05 July 2005 3:02:54 pm - 4 replies

Author Message

laurent le cadet

Wednesday 06 July 2005 1:13:09 am

Hi,

try this :

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

Laurent

Tasha F.

Wednesday 06 July 2005 4:44:42 pm

Looks good
I'll check it out

Thanks!

Tasha F.

Wednesday 06 July 2005 6:35:38 pm

Everything was fine until I try if-else block.
In the override for register.tpl I try:

{section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
{if eq( $ContentObjectAttribute:item.contentclass_attribute.id, 12 )}
    it is 12 <br />
{else}
    another id <br />
{/if}
{/section}

And I got empty page.

I made it more obvious:

{section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
{if eq( 12, 12 )}
    it is 12 <br />
{else}
    another id <br />
{/if}
{/section}

But it didn't change anything.

What am I missing here?

Eivind Marienborg

Wednesday 06 July 2005 11:01:59 pm

What version of eZ are you on?

Try using section in stead:

{section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
{section show=eq( 12, 12 )}
    it is 12 <br />
{section-else}
    another id <br />
{/section}
{/section}

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu