Re: [SMARTY] Including modules

From: Date: Fri, 15 Apr 2005 18:40:01 +0000
Subject: Re: [SMARTY] Including modules
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12514@lists.php.net to get a copy of this message
Well for my current project I had a similar issue, but given the ammount of content nodes, languages, etc.. I went the full way and made my own component based, hierachical rendering system.. it's about 30Kb in lenght all together, but belive me IT REALLY pays the effort. I just made a component to cheke availibility of domains, and it's just 20 lines of code. If I've time in the next months I want to make an article about it, before that, please feel free to ask info about that On 4/15/05, Jonathan Villa <jvilla@innovativesource.net> wrote: > > I've been trying to figure this out... > > I have header.tpl and footer.tpl > > Within header.tpl I want to include 3 pages of logic > top_nav.php > left_nav.php > right_nav.php > > I looked at include_php but read it was deprecated... and I read a little > about the > cond.. templates but that didn't work out for me... when I ran it, I would > an error > on using my $smarty instantiation... reason being, I'm not instantiating > smarty on > the actual page but that another page which get's prepended... > > Any ideas on how to include the top without using {php} > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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