<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>how can I call a Page Template from a product?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><I><FONT COLOR="#000080" FACE="Times New Roman">Hi,</FONT></I>
</P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">I developed a simple product to display a stock quote in a portlet. The product is based on some python scripts (stored in a product directory under Plone products).</FONT></I></P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">I have written in zope a page template (portlet-style) to display the results: everything ok.</FONT></I>
</P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">Now I have created a 'skin' directory under the product dir, and copied a .pt file with the ZPT source for the portlet.</FONT></I>
</P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">I have added the registerDirectory call in the __init__.py under the product directory. The product appears loaded in Zope, but I am not able to call the page template under the skin directory. What is the path. Is everything correct?</FONT></I></P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">thanks</FONT></I>
</P>

<P><I><FONT COLOR="#000080" FACE="Times New Roman">Max</FONT></I>
</P>
<BR>
<BR>

</BODY>
</HTML>
<p>

This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
<p>