Friday 03 April 2009 7:23:44 am
Hi, with this
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
you are sure that you use the good
node_id and
object_id
but if you read this link like mentionned by Daniel Lopes http://ez.no/developer/articles/how_to_create_ez_publish_forms you will see this
Under this method, the user’s input becomes part of the website as an object in the eZ Publish content node tree. An example of this is creating a new Comment object beneath an existing Article object (to be displayed when visitors view the article). For this to happen, the user must have the appropriate permissions to create the object at a given location within the content structure. Some other examples of this method are the Forum topic and Forum reply objects within an eZ Publish forum.
This approach may use eZ Publish workflows so that a site administrator must approve the user's object before it is visible on the website.
so the user must have the appropriate permissions to create the object at a given
location within the content structure
i think this can help you
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|