RE: [Zope-dev] Product Icon

2001-10-06 Thread Adrian Hungate
If I understand what you are trying to do correctly, then all you need is to have your product's icon property be a method that returns the path to the correct icon (Like you would normally have the icon property set to). I use this for a couple of products too. Something like: class

[Zope-dev] Emailing html web pages: how can I render page as the anonymous user?

2001-10-06 Thread Don Hopkins
I'm using the CMF, and I've implement an email_this_page method, that prompts for an email address, then uses the sendmail tag to email the html contents of a page, like yahoo and other sites commonly do. I want to include the standard_html_header and standard_html_footer in the email message, so

Re: [Zope-dev] Emailing html web pages: how can I render page as the anonymous user?

2001-10-06 Thread Chris McDonough
Hi Don, Instead of including the rendered standard_html_header and standard_html_footer in the emailed page, why not have a emailed_html_header and emailed_html_footer, which are prerendered copies of a toolbar and other things as seen by the anonymous user? The setuid/setgid thing is tricky