calling standart_html_header in python script
Hi, I am using plone, & Zope. I need to call the standard_html_header & standard_html_footer (both are dtml methods in plone skins), how do i call these in the python scripts. i had tried it this way, context.standard_html_header(context,request) context.standard_html_footer(context,request) but doesn't work or give any error i had done this based on the following page http://www.zopelabs.com/cookbook/992031125 what do i do now? plz help me Thanks Harish ________________________________________________________________________ Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
On Thu, 24.07.2003 at 05:13 +0100, Exteam wrote:
I need to call the standard_html_header & standard_html_footer (both are dtml methods in plone skins), how do i call these in the python scripts.
i had tried it this way, context.standard_html_header(context,request) context.standard_html_footer(context,request) but doesn't work or give any error
I think that calls them. It just doesn't do anything. What would you like to do with them? -- paavo. "joskus voi tää meno käydä ahdistavaksi kun on täällä muodostunut tavaksi muuttaa jokaisen elämän arvo rahaksi"
Exteam wrote:
i had tried it this way,
If these are from a Python Script, try: print context.standard_html_header(context,request) print "my stuff here" print context.standard_html_footer(context,request) return printed cheers, Chris
participants (3)
-
Chris Withers -
Exteam -
Paavo Parkkinen