Re: [SMARTY] Parsing framesets...

From: Date: Fri, 12 Jul 2002 00:28:50 +0000
Subject: Re: [SMARTY] Parsing framesets...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5255@lists.php.net to get a copy of this message
If parse is used as an included file How would a link get to the right folder unless parse.php is in teh same folder with what needs to be linked? Hope that makes sense LOL ----- Original Message ----- From: "Sterling Lawrence" <fuzzy_hamster@shaw.ca> To: <smarty-general@lists.php.net> Sent: Monday, July 08, 2002 10:03 PM Subject: [SMARTY] Parsing framesets... > If one of the template files Smarty must display is a simple frameset > file, is there a way to make it parse all of the frames with the > variables assigned to the frameset file? > > I was thinking of just using a preg_replace in > Smarty_Compiler->_compile_file to replace <frame src=blah.html> with > <frame src=parse.php?file=blah.html&... a foreach would go there to add > all the vars assigned to the template to the query string... then > parse.php would just assign the vars and display each frame individually > > --Sterling Lawrence > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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