Ticket #2771 (closed Bug: fixed)
Related slot differentating local or remote
| Reported by: | andym | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.1 |
| Component: | Templates/CSS | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
Not that critical but a local resource, one without a full url and hence appended to the sites base tag (eg: index_html), will be classfied as remote because it doesn't contain the server url.
Actually using the server url will not work very well with staging either, I think this distinction is a little spurious would remove it myself.
But anyway heres a patch to cope with this.
Change History
comment:3 Changed 7 years ago by Anonymous User
Not Uploaded Due To Size:
updated patch that applies to trunk.
Also, it deals with the case where the plone instance is nested (e.g. http://www.mysite.com/myploneinstance) and the link is relative, starting with / (e.g. /foo).
comment:4 Changed 7 years ago by limi
- Status changed from new to closed
- Resolution set to fixed
Superceded by http://members.plone.org/collector/4350

I believe Tiran did some changes to the Related portlet, but not sure of the details. In any case, be careful when applying the patch :)