Thursday 11 October 2007 4:52:00 am
Hi Laurent,
By default, to create an object in eZ Publish, you must post data through a form.
What's wrong, with the form ? the button ? If it's the case, you can use something like :
<form method="post" action={"content/action"|ezurl} id="createUserForm">
<input type="hidden" name="ContentLanguageCode" value="{ezini( 'RegionalSettings', 'Locale' , 'site.ini')}" />
<input type="hidden" name="ClassIdentifier" value="visiteur" />
<input type="hidden" name="NodeID" value="11272" />
<input type="hidden" name="NewButton" value="1" />
<a href="javascript:document.getElementById('createUserForm').submit();">Créer un utilisateur</a>
</form>
Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish
|