This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » $rows paramater in pdf table
expandshrink

$rows paramater in pdf table

$rows paramater in pdf table

Thursday 23 September 2004 10:22:14 am - 4 replies

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

Thursday 23 September 2004 10:35:59 am

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

Thursday 23 September 2004 11:51:03 am

HiKåre,
Thank you for your immediate reply.
I didn't think it was so immediate happy.gif Emoticon
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

Thursday 23 September 2004 11:57:31 am

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

Thursday 23 September 2004 12:15:49 pm

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from