Re: [SMARTY] Nested templated

From: Date: Mon, 15 Sep 2003 15:24:26 +0000
Subject: Re: [SMARTY] Nested templated
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10213@lists.php.net to get a copy of this message
Hi, I believe I'm close to what I need, but there's still something missing. I tryed this: <html> <body> <table> <tr> {include file="../../exemplo_agenda/templates/base.tpl"} </tr> </table> </body> </html> And it showed me the basic structure of the template. But there is a php file that is responsable by the logic behind the template (assign values to the templates' variables), and it's not been used. I tryed to replace the include tag by a include_php tag, and call the php file (wich would show the template by its display method), but then I got some weird error messages in my database access class. Am I in the right way? -- +---------------------------------------------------+ | Alvaro Nunes Melo Atua Sistemas de Informacao | | al_nunes@atua.com.br www.atua.com.br | | UIN - 42722678 (54) 327-1044 | +---------------------------------------------------+

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