Tuesday 21 June 2011 6:49:20 am
Hello,
I think that's how I understand your question Here I offer users the ability to create a new object of class "Commentaire"
<form action={"content/action"|ezurl()} method="post">
<input type="hidden" value="commentaire" name="ClassIdentifier"> / / we put in value the identifier of the class (1)
<input type="hidden" value="{$node.node_id}" name="NodeID"> / / we put the id of the parent node (2)
<input type="hidden" value="fre-FR" name="ContentLanguageCode"> / / we choose the language EN (3)
<input type="submit" value="Nouveau Commentaire" name="NewButton" class="button new_commentaire"> / / I insist on the name NewButton (4) </from> Merci bien
|