Re: [SMARTY] Display 2 column list
| From: | Jason Sweat | Date: | Wed, 29 May 2002 03:00:33 +0000 |
| Subject: | Re: [SMARTY] Display 2 column list | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4421@lists.php.net to get a copy of this message | ||
Save the script from his page as function.table.php in your plugin
directory.
then do
$t = new Smarty;
$t->assign('list', array(1,2,3,4,5,6,7));
$t->display('test.tpl');
with test.tpl:
{table loop=$list table_attr='align="center" border="1"
cellpadding="5"'}
----- Original Message -----
From: "Danny Younes" <danny@miro.com.au>
To: "Jason Sweat" <sweatjejm@mchsi.com>; "Smarty General"
<smarty-general@lists.php.net>
Sent: Tuesday, May 28, 2002 9:51 PM
Subject: Re: [SMARTY] Display 2 column list
> in the maple design site where he displays the table function, where
exactly
> do you put that function for it to work
>
> Danny
> ----- Original Message -----
> From: "Jason Sweat" <sweatjejm@mchsi.com>
> To: "Danny Younes" <danny@miro.com.au>; "Smarty General"
> <smarty-general@lists.php.net>
> Sent: Wednesday, May 29, 2002 11:58 AM
> Subject: Re: [SMARTY] Display 2 column list
>
>
> > You might try look at this
> >
> > http://marc.theaimsgroup.com/?l=smarty-general&m=102183006925022&w=2
> >
> > Jason
> >
> > ----- Original Message -----
> > From: "Danny Younes" <danny@miro.com.au>
> > To: "Smarty General" <smarty-general@lists.php.net>
> > Sent: Tuesday, May 28, 2002 8:24 PM
> > Subject: [SMARTY] Display 2 column list
> >
> >
> > Hi guy's I am trying to display an array of values in a two colum list.
I
> > have tried index_next but it double displays the values. Can someone
> please
> > help me
> >
> > thanks in advance
> > Danny Younes
> >
> >
> >
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>