Different register forms for frontend user & backend users?

Author Message

DeAndre Johnson

Sunday 04 October 2009 12:47:31 pm

Is there a way to have two different register forms? One for front end users that register on site with different attributes from the used to create back end users? The create user form for back end user like administrators and editors would remain the same.

I am, because I choose to be!

Bruce Morrison

Sunday 04 October 2009 6:14:11 pm

Hi DeAndre

Definitely possible. You need to add the appropriate settings to the site.ini for the front end siteaccess.

[UserSettings]
# Where to store newly self registered users
DefaultUserPlacement=12
# Which section to place newly self registered users
# (Using 0 means that the user will get the section ID
#  from its new location)
DefaultSectionID=0
# Which content class to use for user creation
UserClassID=4
# Which content class to use for user group creation
UserGroupClassID=3
# Which class group that has user classes, controls which classes
# is shown on the user navigation part. If empty all classes are used.
UserClassGroupID=2
# Which user is considered the creator
UserCreatorID=14

Of course change the UserClassID to be that of the class id from the front end user content class and any of the other settings if required.

The default entries will continue to be valid for the admin siteaccess.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

DeAndre Johnson

Monday 05 October 2009 8:57:16 am

Thanks Bruce!

I am, because I choose to be!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.