Forums / General / add a personal area for each user

add a personal area for each user

Author Message

ivan posta

Thursday 26 March 2009 5:36:28 am

hi

I need to have a personal page for each user (after login) with more personal data as name, surname , city, telephon , ect ,ect . User can edit its data and the edministrator too.

is it possible with ezPublish ?
if yes , have to I customize this application with: templete ? object class or in php?

thanks

Andreas Kaiser

Saturday 28 March 2009 10:58:15 am

Some questions:

- will the user only change/edit personal information like email, password, address, etc? Then you can create a template for editing user object after login (you can use "RedirectAfterLogin" in the login form to send the user to the specific template)

- if you want that the user can create/edit multiple objects/classes (for example blog post, files, etc) a good idea is to create a personal "folder" where the user can "create" objects. In this case you can use personal folder extension and http://ez.no/developer/contribs/datatypes/ez_user_create_limit

In both situations you will need to create templates and adapt user roles/policies...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

André R.

Saturday 28 March 2009 12:23:32 pm

Note that 4.1 added support for limiting create rules based on parent node's owner / owner group, it is way better to use that then trying to impose access rules in template code (performance / security).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andreas Kaiser

Sunday 29 March 2009 4:06:04 am

Wow! Thanks Andre for that comment...

Didn't notice the new policies - now it will be much easier to build sites with user created content...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

ivan posta

Sunday 29 March 2009 4:59:44 am

ok

new question -:)

how create a personal are where each use have page info,document, file, text that only the admin can insert, update

thanks