[Kss-devel] How is the KSS context determined?

Balazs Ree ree at ree.hu
Mon Dec 24 08:37:19 CET 2007


Hi Martin,

On Mon, 24 Dec 2007 02:19:48 +0100, Martin Aspeli wrote:

> Balazs Ree wrote:
>> I hope this helps something, please contact me when you want about this
>> issue, I'd try to look at it deeper as well. We may need to improve
>> this algorithm to cover the case you are using.
> 
> That's actually relatively straightforward. The problem is that the
> <base /> tag in Plone is rendered with a call to context/absolute_url,
> and in the case of namespace traversal magic, absolute_url doesn't
> appear to be reliable.
> 
> I'm going to look into fixing that (either in renderBase.py in Plone or
> in the portlets and content rules implementations, where I'm seeing
> this). If I can't, adding a <link /> tag as in (1) above should be
> pretty easy too.

Imo, fixing absolute_url is the solution. If that works, the kss part 
will work well. But if absolute_url is not working, you would have the 
same problem with <link />.

-- 
Balazs Ree



More information about the Kss-devel mailing list