Last active
December 28, 2015 18:49
-
-
Save Simounet/7545958 to your computer and use it in GitHub Desktop.
Snippets for eZ Publish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{* 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