Monday 06 February 2006 4:04:56 pm
On our web site, I have "team" objects which each contain an ezobjectrelationlist called "members". The goal is for a logged in users to find a team, click "sign me up", and automatcally have their user object appended to the "members" ezobjectrelationlist. I look over documentation regarding <form action=/content/action> and haven't found any answers. The problem boils down to being able to let a user edit an team object's ezobjectrelationlist in one-click, without having to using the admin-side browsing interface. Preferably, I don't have to create a new draft for this to happen, but right now, I'm open to any thing. In PHP, I know we have things like storeAttributes(), but I need to do all of this in my /full/team.tpl file. Can someone help me or point me in the right direction? The workaround I had in mind is UGLY. When a user signs up for team, a child comment object tagged with their user_id would be created. I could then track the team members based on the children of the team. Yuck! Thanks!
|