Last active
August 29, 2015 14:17
-
-
Save laurentsab/a37195e9848e64dfa334 to your computer and use it in GitHub Desktop.
eZ Publish 4 - Tips
This file contains hidden or 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
/* Afficher une image */ | |
<img src="{$node.object.data_map.my_image.content[image_size].full_path}" ... /> | |
/* Afficher le contenu d'un bloc XML */ | |
{$node.object.data_map.my_xml.content.output.output_text} | |
/* Afficher un timestamp au format souhaité */ | |
{$node.data_map.date_from.data_int|datetime(custom, '%l %d %F %Y')} | |
custom, '%d/%m/%y' | |
/* Url concat */ | |
$siteUrl = ezini( 'SiteSettings', 'SiteURL', 'site.ini' ) | |
{concat('http://', $siteUrl, '/', $node.url_alias)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment