Parsing framesets....
| From: | Sterling Lawrence | Date: | Sun, 07 Jul 2002 23:24:30 +0000 |
| Subject: | Parsing framesets.... | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-176@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