[Zope] Simple Question

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Thu Dec 7 15:58:43 EST 2006


> Here is the page that I need to quote, and this is why I need triple quotes:
Wrong.

1. Log into ZMI.
2. Create PageTemplate object named 'mypage'
3. Edit 'mypage' that it contains your html code (this what you gave
into triple quotes before):
<html>
(...)
</html>
4. create Script (Python) called 'myscript'
5. Edit script that it contains only one line:
return context.mypage()  # mypage is name of PageTemplate from point 2.

-- 
Maciej Wisniowski


More information about the Zope mailing list