[Plone] DTML instead of ZPT for PHPParse

Max M maxm at mxm.dk
Tue May 3 18:01:04 EDT 2005


JZ wrote:
> 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



More information about the Python-list mailing list