Thursday 03 April 2008 6:12:44 am
For the members only download section, the users would be able to register themselves as opposed to admin creating them. Are there any tutorials or modules available that would make for easier customization? I have had a brief look at the developer documentation however haven't been all that successful at finding specific content related to this feature.
The default installation with the eZ Webin extension (select it during install wizard) includes a section called "Restricted". Look in the admin interface under Setup > Sections. You can apply this to the "members only download" area and it will be invisible until a user logs in. By default, users who register on the site using the default registration function will be added to the group that has access to this section. This is a great general tutorial that provides some info on the setup. http://ez.no/developer/articles/how_to_configure_an_ez_publish_site For the profile management section, I guess the same would apply.
It seems relatively easy to add a new user and give them a role to edit a certain page. Each new user that would be registered would be able to edit their unique page. These profiles would be viewable by all users, is probably the easiest setting.
Once a user is registered, the default ezwebin templates provide a login link that, once a user is logged in, changes to say something like Logout (Jozsef Wittek) and next to that will be a button that says My Profile. This will allow each user to edit their own profile. The user class is a regular content object in ez publish, which means you can change the structure of it and add fields as needed (Setup > Classes > User). Once you do, the My Profile page (as well as the user registration page) will automatically show the new attributes. Hope that helps!
http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions
|