[Zope] Acquisition question/problem

Small Business Services toolkit at magma.ca
Wed Dec 3 09:09:26 EST 2003


<snip>

> I have a product called TemplateWebsite, which i use to replace a
> members index_html object when their account is created.
> The TemplateWebsite object has a localHeader and standard_top_bar
> object among other things that are supposed to replace the global zope
> objects.
>
> Consider the following directory structure
>
> Members
>   |
>   ------ person1
>            |
>            -------  index_html  (TemplateWebsite)
>            |
>            -------  testpage (dtml method)
>
> I want to display the testpage along with the custom objects from the
> TemplateWebsite so i reference it with this url
>
> http://localhost:8080/cmf_portal/Memebrs/person1/index_html/testpage
>
> But that doesnt work, is my thinking correct?
> If not, what is the proper way to do this?

I don't think you want to reference both testpage and index_html in the url.
I would embed a <dtml-var index_html> within the dtml in testpage, and then
just put testpage in the url.

HTH

Jonathan




More information about the Zope mailing list