Forums / Developer / Notifications / Comment42761

Author Topic

Łukasz Serwatka

Thursday 07 April 2005 5:16:16 am

Comment42761

Hi John,

You shoul add more input fields to your form, here is the working code:

<form method="post" action={"content/action/"|ezurl}>
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.contentobject_id.}" />
<input class="button" type="submit" name="ActionAddToNotification" value="Keep me updated" />
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input type="hidden" name="ClassID" value="14" />
</form>

You will have to change ClassID to your class id.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog