Editing an ezobjectrelationlist without browsing

Author Message

Conrad Chu

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!

Conrad Chu

Wednesday 08 February 2006 4:13:36 pm

Hi everyone,

I'm desperate for help (we're launch in 1 week)!!

Can anyone shed some light as to how I might edit an object's objectrelationlist from a user-facing siteaccess?

Thank you!

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