On Thu, Sep 23, 2004 at 04:56:33PM +0200, Offer Kaye wrote:

>
>What do I write in my template to print 3 names per line, for example?

What I tend to do is:

In the data, put in a "linebreak" variable:

$names = 
[
  {name => name1},
  {name => name2},
  {name => name3, linebreak => 1},
etc.

then use it in the template:

<tmpl_loop names_loop><tmpl_var name>
<tmpl_if name=linebreak><br></tmpl_if>
</tmpl_loop>

R


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users
  • ... Offer Kaye
    • ... Roger Burton West
    • ... Mark Stosberg
    • ... Jason Purdy
    • ... Carl Franks
    • ... Andrew Brosnan
    • ... Горький Юрий

Reply via email to