Mailing List Archive

[Zope-PTK] Quick fix for demoportal search problem.
I noticed that as a manager/reviewer, when you go to the search form and
search for stuff, the URLs for the results are
"http://<portal-id>/path-to-object", which caused a minor bit of havice,
since my portal-id is not a registered domain (not to _me_ anyway ;).

The problem lies in the 'search' DTML Method (in the line that builds
the link).

To fix it, change:
<td><a href="/<dtml-var "SiteIndex.getpath(data_record_id_)">">
to
<td><a href="<dtml-var "SiteIndex.getpath(data_record_id_)">">

Removing the leading '/' fixed it for me, though it shouldn't have
mattered, IMHO.


Bill
--
In flying I have learned that carelessness and overconfidence are
usually far more dangerous than deliberately accepted risks.
-- Wilbur Wright in a letter to his father, September 1900