Saturday 20 October 2007 10:05:48 am
Hello, I am pretty new to ezPublish. Just got the alpha 1 release which works with PHP 5. Setup etc went fine and I am even able to publish content. Created my first article. Opened it in the admin interface uploaded an image to this article as a sub item of the article. Use the command in the template for the article to show an image:
{attribute_view_gui attribute=$node.object.data_map.thumbnail}
Nothing is shown. Even if I use a default template no image appear. Is it a bug in ez 4 alpha 1 or do I do smth wrong? One more addition: Enabling the debug information produces the following warning:
Warning: eZTemplate:attribute_view_gui Oct 15 2007 00:19:46
None of the templates design:content/datatype/view/.tpl, design:content/datatype/view/.tpl could be found
I also let ezPublish print out properties of the image object.
using the property:
{$node.data_map.image.content.data_map.image.content.original.url} prints me the correct image url. I also tried to use the following gui command to show the image without luck
{attribute_view_gui attribute=$node.data_map.image.content.data_map.image.content}
|