Steve Alexander wrote:
> Shane Hathaway wrote:
>
> >
> > I was suspicious of the entire method so I wrote a replacement which is
> > based on a new interface available in Zope. I *think* it's correct,
> > but it's a drastic change so it's only in the new PTK and nowhere
> > else. (This is sli
Shane Hathaway wrote:
>
> I was suspicious of the entire method so I wrote a replacement which is
> based on a new interface available in Zope. I *think* it's correct,
> but it's a drastic change so it's only in the new PTK and nowhere
> else. (This is slightly modified from PTK CVS.)
>
>
Steve Alexander wrote:
>
> Shane Hathaway wrote:
> >
> > Steve Alexander wrote:
> > > In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url":
> > >
> > > def url(self, ftype=urllib.splittype, fhost=urllib.splithost):
> > > """Return a SCRIPT_NAME-based url for an object
Shane Hathaway wrote:
> > Does it work with SiteAccess?
>
> Untested, but it should work, yes.
I hope so, Squishdot uses exactly the same code now ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/z
Shane Hathaway wrote:
>
> Steve Alexander wrote:
> > In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url":
> >
> > def url(self, ftype=urllib.splittype, fhost=urllib.splithost):
> > """Return a SCRIPT_NAME-based url for an object."""
> > if hasattr(self, 'Dest
Steve Alexander wrote:
> In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url":
>
> def url(self, ftype=urllib.splittype, fhost=urllib.splithost):
> """Return a SCRIPT_NAME-based url for an object."""
> if hasattr(self, 'DestinationURL') and \
>call