OK, I am not one-on-one familiar with fasttemplates; however, I do use PHPLib's template class. If this fasttemplates is anything like PHPLib's template, then, the template only parses the template file as HTML. So, if you have any PHP code, it will not work (eg. includes, etc.) It will not take the PHP code and interpret it as PHP. Only the php in the phpscript that *uses* the template ( not *is* the template) will be interpreted as PHP. Does this make sense to you?
If you need more help or insight with templates, I can help you some what. But again, I am only familiar with PHPLib's template class. -Nicole www.aeontrek.com "Wolfgang Schneider" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am encountering a problem with a php "application" which uses > "fasttemplates" ... > Everything works nicely when I use a straight html file as a template > (using the extension .tpl). > > For certain functions and a better incorporation into the existing > website (which is written in php throughout) I have tried to set up > the same info plus some php "include" calls into a php file and use > that as a template .... the result is that none of the "include" nor > any other php functions are recognized, they are just passed over and > those parts are apparently ignored and not displayed ... (such as > header section from "header.php" is not included, a function to > display the date is not displayed, etc ... > > Does anyone have an idea why this is happening? I do not understand > much about fasttemplates either ... so it is hard for me to > determine, if something can be changed in that file to parse php > templates properly ... Normally, nested php commands are recognized > when a php file is called, or am I mistaken? > > Any helpful input is much appreciated ... > > God bless you with His grace and peace > Wolfgang > > Looking for Biblical information? COME AND SEE! > -- ONLINE Courses: http://classes.bibelcenter.de ... NEW! > -- BibelCenter: http://www.bibelcenter.de > -- Bookstore: http://www.worthy.net/BibelCenter/ > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php