Forums / Setup & design / [SOLVED] Collected data modification

[SOLVED] Collected data modification

Author Message

Guillaume Dablin

Tuesday 28 July 2009 9:42:29 am

Hello,

I made some forms allowing user to input some data (like "contact information" by example) and I would like to give to the users the possibility to modify/update these information.

I'm working on that point since few days and I'm still not able to perform it. Does anybody have a solution to do so ?

Many thanks in advance for your help.

Ivo Lukac

Tuesday 28 July 2009 9:51:25 am

Collected data is not suited for modification. It is just for gathering information. If your users need to modify their contact information then the easiest way is to make a link to edit their user object (user class needs to be modified to meet the needs).

How to make link to user object you can find in design/standard/templates/user/ folder. There are few templates covering these functionalities.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Guillaume Dablin

Wednesday 29 July 2009 12:54:34 am

Thank you for your prompt reply. This helped me a lot to move forward !!!

Now, I succeed to give the possibility to a user to modify a given object.

Nevertheless, I have now another difficulty about that. I don't know how to populate the edit template with the relevant data. Beside this, looking at the code of the edit template, I don't understand the variables that are used into it and, as a consequence, I don't understand how to manipulate them (moreover I was not able to find documentation about it).

Any ideas about that ?

Many thanks in advance for your help.

Ivo Lukac

Wednesday 29 July 2009 7:01:07 am

Is it hard to help you in one post :) sorry.
Try dig in to technical reference part of documentation.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Guillaume Dablin

Wednesday 05 August 2009 3:02:21 am

Hello,
I did finally find a way to achieve my objective by using "roles and policies" functionnality and allowing user to create/edit/remove their own object.
Thank you for your help on this.