Forums / Setup & design / Custom user class and registration template

Custom user class and registration template

Author Message

Bertrand Dunogier

Thursday 06 January 2005 1:03:52 am

Hello.

I have read the tutorial about user registration customization (http://www.ez.no/ez_publish/documentation/incoming/tutorial_using_user_register), including the part about [UserSettings]. I'm using ezPublish version 3.5.

And <b>yes, I have cleared all cache several times</b> :)

I have done all that:

override of user/register.tpl with my own template and user class:

[inscription]
Source=user/register.tpl
MatchFile=inscription.tpl
Subdir=templates
Match[class_identifier]=client

and usersettings in siteaccess/sitename/site.ini.append:

[UserSettings]
UserClassID=18
UserCreatorID=14

(user class group id has not changed)

Now my problem is that when I go to http://site/user/register, it looks like the default user class is still being used for registration. In fact I'm sure about it, since it lists items like signature I don't have in my custom client class. My override templates are only used if I change the class_identifier to 'user'.

What can I do ? Thanks in advance.

Bertrand

Bertrand Dunogier

Friday 07 January 2005 9:54:53 am

Nobody can help about that ? Even after investigation, it is still not working...

Gustaf Carleson

Sunday 24 April 2005 5:09:52 am

It seems that clearing the caches from the web interface doesn't work. I used the command line tool cleanup.php like this and it worked for me:

<ezPublishDir>/update/common/scripts/cleanup.php all

Tore Skobba

Monday 25 April 2005 11:54:32 pm

hmm maybee you should check the write permissions on your var folder, also check that the admin and user interface uses the same var folder.