Re: [SMARTY] html_table frustration THANKS!
| From: | Zoran Knezevic | Date: | Wed, 12 Nov 2003 09:35:17 +0000 |
| Subject: | Re: [SMARTY] html_table frustration THANKS! | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10528@lists.php.net to get a copy of this message | ||
messju mohr <messju@lammfellpuschen.de>:
Thanks for so quick response :)
I am solber for days and I was sure that I did read
attrs in doc and in my doc that is true. Unfortunitely
I live in Bosnia and I use 56k dialup at home so I
cannot surf online doc at smarty site all the time.
Instead I surf my homepage http://localhost/ now I
updated my smarty documentation.
Thanks all again!
Now everything looks like I want :)
Bye Zoran
P.S. I will not brake deadline... the site is uploading
and and database is allready updated :) I hope my
dialup will stay alive next 30 mins.
> On Wed, Nov 12, 2003 at 11:30:21AM +0300, Zoran
Knezevic wrote:
> > Hi all!
> >
> > U am sorry but I am really in the trouble. In the
> > moment I am fighting very stiff deadline. First I made
> > my application everything works fine now I am
> > implementing style. My main problem is inability to
> > pass attributes to the html_table function
> >
> > {html_table loop=$oglasitable table_attrs='border=\"0\"
> > cellpadding=\"0\" cellspacing=\"0\"'
> > td_atrrs='valign=\"top\"' }
> > {* That does not work *}
> >
> > {html_table loop=$oglasitable table_attrs='border="0"
> > cellpadding="0" cellspacing="0"'
td_atrrs='valign="top"' }
> > {* That does not work either *}
>
>
> it's called table_attr and not table_attrs.
> it's called td_attr and td_atrrs.
>
> that should get you going.
>
>
> > I tried tutorial example with border="0" and didn't
work.
> >
> > I use Smarty 2.6 RC2
> >
> > Please help me ASAP.
> >
> > Thanks.
> >
> > P.S. I hope that I will not have to make another
> > template and change all other templates that use
> > html_table.
>
> find . -name "*.tpl" |perl -pi.bak -e
's#(td|table)_attrs=#$1_attr=#'
>
> (done OTOH, no warranty!)
>
>