How to use delimiter with two lines

How to use delimiter with two lines

Monday 20 February 2006 11:49:47 am - 2 replies

Modified on Monday 20 February 2006 12:12:57 pm by Leandro Alves

Author Message

André R.

Monday 20 February 2006 3:07:58 pm

you mean something like this ??

{let list_items=fetch( content, list, hash( parent_node_id, 2, 
                               sort_by, array( priority, true() ), 
                               class_filter_type, include, 
                               class_filter_array, array( 'folder' ) ) ) } 
 
  <table> 
     <tr> 
        {section var=child loop=$list_items} 
           <td width="300"> 
           <table width="100%"> 
              <tr> 
                  <td height="2" valign="top"> 
                      <img src={"line.png"|ezimage}> 
                  </td> 
               </tr> 
              <tr> 
                <td width="300" height="17" valign="middle"> 
                     item 
                 </td> 
               </tr> 
           </table>
           </td> 
           {delimiter modulo=6} 
     </tr> 
     <tr> 
         {/delimiter} 
         {/section} 
     </tr> 
  </table> 
{/let} 

but the:
<td width="300" height="2" valign="top">
<img src={"line.png"|ezimage}>
</td>

seems like would be better to do with some css

 

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Leandro Alves

Monday 20 February 2006 8:07:42 pm

Hey André,

Thanks a lot for your reply...
It works like a charm!

Cheers,

Leandro

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

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