Posted by pete M on 09/30/86 11:13
this might do it
http://smarty.php.net/manual/en/language.function.php.php
Jonathan Villa 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}
Navigation:
[Reply to this message]
|