|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
lars_stecken Smarty Rookie
Joined: 07 Aug 2003 Posts: 10 Location: Berlin, Germany
|
Posted: Thu Aug 07, 2003 10:41 am Post subject: Getting a handle on the compiled file |
|
|
Greets,
I am wondering if there is a method to compile/fetch a template and then get a handle on the compiled file (path/file name). I could then use it as a source in frames.
I know that I could also just link to a PHP-Script from my frames and comile it then, but it would be much more elegant to have it compiled before I compile the rest of the frame(s).
Any suggestions? Thanks a bunch for your help,
Stefan |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon Aug 11, 2003 10:22 pm Post subject: |
|
|
Hi lars_stecken.
I am not aware of a public-interface to do this, but there is a core function that determines target names. I wouldn't suggest that, though IMHO, you are better off creating separate php files for each frame, each php file responsible for enacting the appropriate Smarty processing for that particular frame. |
|
Back to top |
|
lars_stecken Smarty Rookie
Joined: 07 Aug 2003 Posts: 10 Location: Berlin, Germany
|
Posted: Tue Aug 12, 2003 1:03 pm Post subject: |
|
|
Thanks for the answer. I already suspected that.
Cheers, Lars |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|