Forums / Setup & design / Image Align value / Comment25097
Kristof Coomans
Thursday 06 September 2007 12:12:13 am
Hi Paul
In the embed tag view of ezxml (design/standard/templates/content/view/embed.tpl), there's this code
<div class="object-{$object_parameters.align}...
In the same template, $object_parameters is passed as well to the content_view_gui template:
{content_view_gui view=$view link_parameters=$link_parameters object_parameters=$object_parameters ...
So you can get it in your view template from $object_parameters.align.
Hope this helps. I'm not sure where you need the value of align, can you be more clear on that?Good luck!
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org