[PHPTAL] templates only parsed, if ending is .html?

Thomas Müller info at halbton.net
Tue Mar 25 03:25:57 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

while adding code from old projects, i left/forgot some old php-code inside
a test-template. the old php-code was processed and delivered with correct
result.
so i tried to rename this file from test.html to test.php. i corrected also
the macro call to 'templates/content/test.php/test', but i got a result with
only my leading comment-lines inside the template.

so my resulting questen is: did i something wrong or are only .html-files
parsed?

thanks for a answer

humi (thomas mueller)

ps: code can be delivered to demonstrate this problem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH6GK0xu7FFJqGq7cRAnI9AJ9Kqc6hPaEPjt4745aFJXpVlzC1XACgr4I1
AcCHjJoH8qMACc19JCURcaE=
=TtSt
-----END PGP SIGNATURE-----



More information about the PHPTAL mailing list