RE: [SMARTY] Re: Problem with template loading

From: Date: Fri, 06 May 2005 12:22:24 +0000
Subject: RE: [SMARTY] Re: Problem with template loading
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12589@lists.php.net to get a copy of this message
Pete, Thanks for the suggestion. I actually solved the problem by switching errors on. Cheers George > -----Original Message----- > From: pete M [mailto:pmorgan@ukds.net] > Sent: 6 May 2005 12:08 pm > To: smarty-general@lists.php.net > Subject: [SMARTY] Re: Problem with template loading > > > George Pitcher wrote: > > Hi, > > > > I've now built several applications using Smarty. Having just > launced our > > main customer interface yesterday, I'm now concentrating on the staff > > interface. This was working yesterday and after doing some mods > last night > > and reloading them onto my server this morning, I'm having a > problem with > > some of them loading. > > > > For example, on one page I do the following: > > > > $smarty->display('header.tpl'); > > $smarty->display('header_links.tpl'); > > $smarty->display('copynav.tpl'); > > $smarty->display('copyactblock.tpl'); > > $smarty->display('copyright_r.tpl'); > > That seems a very strange way of doing things.. > > > Why dont you have one page eg page_container.tpl > > and inside page_container.tpl > > > {include file='header.tpl'} > {include file='header_links.tpl'} > {include file='copynav.tpl'} > {include file='copyactblock.tpl'} > {include file='copyright_r.tpl'} > > and then > $smarty->display('page_container.tpl'); > > regards > pete > > > Now the first four will load but not the last one, which just > happens to be > > the main page. > > > > I've tried emptying the templatec_c folder but that doesn't help at all. > > > > Can anyone suggest a solution? > > > > MTIA > > > > George in Oxford > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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