Skip to content

Instantly share code, notes, and snippets.

@Simounet
Last active December 28, 2015 18:49
Show Gist options
  • Save Simounet/7545958 to your computer and use it in GitHub Desktop.
Save Simounet/7545958 to your computer and use it in GitHub Desktop.
Snippets for eZ Publish
{* Button to create a new content *}
<form action="/content/action" method="post">
{* set the class identifier to use *}
<input type="hidden" name="ClassIdentifier" value="article">
{* set the language to use *}
<input type="hidden" name="ContentLanguageCode" value="fre-FR">
{* set the parent node id to use *}
<input type="hidden" name="NodeID" value="{$module_result.node_id}">
<input class="button" type="submit" value="Create a new content under this one" name="NewButton">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment