PHP Templates from a Smarty Template
Hi,
I'm not sure if this topic goes in the Program Logic forum or this one, but here goes...
My question has to do with smarty templating. It seems that once you dive into a smarty template, php goes away entirely.
For instance, lets say I have a main page that calls a smarty template that, in turn, calls another php page:
main page.php
|_ smarty page.tpl
......|_php page.php
In this example, the 'php page' is interpreted as a smarty template, not a php page.
Yes, I know I can adapt my php page to smarty, but for reasons too numerous to go into here--but mostly for code maintenance issues and ease of integration with Dreamweaver--I want to keep my code in php templates rather than smarty templates.
So, my question is this: Is there any way to include a php page from a smarty template page and have it be interpreted as php rather than smarty code?
Many thanks,
Steve
|