$rows paramater in pdf table

Author Message

Ibrahim Khachab

Thursday 23 September 2004 1:22:14 am

Hi all,
I'm unable to figure out how to prepare the $rows parameter for the pdf table operator

{pdf(table, $rows, hash( [ showLines, value, ] ..............

Any help/example?

Thanks

Kåre Køhler Høvik

Thursday 23 September 2004 1:35:59 am

Just updated the documentation with a new example : http://ez.no/ez_publish/documentation/reference/template_operators/pdf/table

Kåre Høvik

Ibrahim Khachab

Thursday 23 September 2004 2:51:03 am

HiKåre,
Thank you for your immediate reply.
I didn't think it was so immediate :)
I thought I should use some strange calls to get the rows and cells of the table.
I wish to list some images in a pdf and I noticed that they are displayed overlapped.
I don't know if a good solution is to put them in a table and I can't even figure out how to do that.
Thanks

Kåre Køhler Høvik

Thursday 23 September 2004 2:57:31 am

Which version of eZ publish do you use ?
Could you paste the template code which generates overlapping images here ?

Kåre Høvik

Ibrahim Khachab

Thursday 23 September 2004 3:15:49 am

Hi Kåre,
I'm using ezpublish-3.4.0.
The code I'm using is the following

  {let images=fetch('content',list,hash(parent_node_id,$node.main_node_id, class_filter_type, include, class_filter_array,array(5)))}
    {section name=image loop=$images}			
         {pdf( image, hash( src,$image:item.data_map.image.content["medium"].full_path,
                   width,$image:item.data_map.image.content["medium"].width,
                   height,$image:item.data_map.image.content["medium"].height ) ) }
    {/section}  		
  {/let}

I tried to put a {pdf( newline )} after every image outpu in the loop without success.

Thanks

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