[Plone] DTML instead of ZPT for PHPParse

J

JZ

Who knows how to add to Plone the following content using DTML instead of
ZPT template?

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
lang="en-US" i18n:domain="plone"
metal:use-macro="here/main_template/macros/master">
<body>
<div metal:fill-slot="main">

HERE IS MY DYNAMIC PHP: <?php phpinfo();?>

</div>
</body>
</html>

I need to use DTML instead of ZPT because PHPParse product cannot work with
ZPT. :(
 
M

Max M

JZ said:
Who knows how to add to Plone the following content using DTML instead of
ZPT template?

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
lang="en-US" i18n:domain="plone"
metal:use-macro="here/main_template/macros/master">
<body>
<div metal:fill-slot="main">

HERE IS MY DYNAMIC PHP: <?php phpinfo();?>

</div>
</body>
</html>

I need to use DTML instead of ZPT because PHPParse product cannot work with
ZPT. :(


Just an idea, cant you put the PHP into a dtml method that you then call
from zpt?

--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top