Author Topic

Pål Øystein Carlsen

Thursday 13 November 2003 6:20:33 am

Comment39128

Great news!
It works!!!

I have no idea why it works this time, but it does.
My site.ini.append looks like this:
[UserSettings]
RegistrationEmail=enabled
DefaultUserPlacement=53
UserClassID=17

I have not edited the standard register.tpl file , but just overriden it with a copy of its content.

What I find funny is that I have just small changes to the ezuser.tpl file. I override it to and the only changes I have done are the following:
<input type="hidden" name="ContentObjectAttribute_data_user_login_{$attribute.id}" value="{$attribute.content.user}" />
is replaced with:
<input type="hidden" name="ContentObjectAttribute_data_user_login_{$attribute.id}" value="{$attribute.content.bruker}" /> where "bruker is my name for the user datatype in the customised class.

This is done twice in the file overriding ezuser.tpl and I changed the similar ending of email to match my word for it in my custom class.

Weird, I was certain I was going to have to add similar input types for my other attributes like "occupation" "address" etc. But no, they just appeared. Why I do not really understand...

Anyway thanks for all your help, and if my explanation is somewhat confusing or incomplete please post so I can elaborate. Perhaps this thread can be usefull for other people(that way I can pretend my frustration has not been completely wasted)

Pål