Re: [SMARTY] PHPlib->SMARTY I'm stuck....

From: Date: Fri, 16 Aug 2002 14:42:51 +0000
Subject: Re: [SMARTY] PHPlib->SMARTY I'm stuck....
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5731@lists.php.net to get a copy of this message
Sorry, Bassically I can't get my head around how to convert that bit in the template to smarty. I have been staring at it for a couple of days now getting no where....I am unsure how the nested PHPlib blocks would work within SMARTY and what I var I shoudl loop on. It doesn't help that I don't really know the code I am converting as I didn't write it, its just been dumped on me....so I am learning it as I go along John ----- Original Message ----- From: "Gary Loescher" <gary@loescher.org> To: "John Wards" <j.wards@sportnetwork.net>; <smarty-general@lists.php.net> Sent: Friday, August 16, 2002 3:35 PM Subject: RE: [SMARTY] PHPlib->SMARTY I'm stuck.... > Can you be more specific about what is confusing you? > You're right about using section (or possibly foreach) > to do this. What more info do you need? > > Gary > > >-----Original Message----- > >From: John Wards [mailto:j.wards@sportnetwork.net] > >Sent: Friday, August 16, 2002 9:29 AM > >To: smarty-general@lists.php.net > >Subject: [SMARTY] PHPlib->SMARTY I'm stuck.... > > > > > >Right I'm just confuzed.... > > > >I have this bit of PHPlib code > > > > $type = "BulletinBuilder.Free"; > > $t->set_file("start","start_free.htm"); > > $t->set_block("start", "bull_block", "bulls"); > > $t->set_block("bull_block", "new_iss_block", "newiss"); > > $t->set_block("bull_block", "sent_iss_block", > > "sentiss"); > > > [snip] > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#5731) next »