Parsing framesets...
| From: | Sterling Lawrence | Date: | Tue, 09 Jul 2002 03:03:18 +0000 |
| Subject: | Parsing framesets... | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5235@lists.php.net to get a copy of this message | ||
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