$:item.object.data_map.logo problem

Author Message

sangib das

Thursday 16 November 2006 1:19:55 am

How to dispaly a logo(Data type Image) or value( data type price)
pls help me.........................

{let name=test counter=0 children=fetch( content,list,

                                        hash( parent_node_id,91,

                                              sort_by, $node.sort_array,
                                              class_filter_type, include,
                                              class_filter_array, array( 'prize' )

                                            )

                                       )

}

 

<table class="news_archive">

 

{* Loop through all the entries. *}

{section loop=$:children}

 

   {* Increment the counter by one. *}

   {set counter=$:counter|inc}

 

   <tr><td>

       <hr />

       Submitted by <b>{$:item.object.data_map.value.content..output.output_text|wash}</b>
       on {$:item.object.published|l10n(shortdate)}:

       <br />

       <br />

       <i>{$:item.object.data_map.logo.content|wash}</i>
<br />

<i>{$:item.object.data_map.value.content..output.output_text</i>
   </td></tr>

 

{* End of loop. *}

{/section}

 

   <tr><td><hr /></td></tr>

</table>

 

<div class="center">

   Number of entries in the guestbook: {$:counter}

</div>

 

{* Release the counter and the children variable. *}

{/let}






Andreas Adelsberger

Thursday 16 November 2006 1:54:15 am

hi, i used the {attribute_view_gui } template function for this issue:

{attribute_view_gui attribute=$node.object.data_map.myimage image_class='large'}

more info here: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/visualization/attribute_view_gui

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.