Am Sonntag, 4. Februar 2007 22:20 schrieb David Johnson:
> I will wager to help...since frequently my posts go unanswered
> also.   I've implemented a few skins with great success.  However, if
> you wait long enough you could a real response from someone like
> Stephen instead of myself.
> > is registered on the default layer. Since the xgm layer derives
> > from the
> > default layer it correctly uses my
> > But the problem is now when a view from the Blog object are called
> > links in
> > the template like
> >
> > <a tal:attributes="href context/@@index.html/@@absolute_url">home</a>
> >
> > do not work anymore, since context is the Blog and not a IXGM
> > object anymore.
> > Therefore the lookup fails.
> I do not understand this particular point clearly and this seems to
> be an important point.  Could you provide more specifics?  Sounds
> like you have a blog package installed.  The blog package has objects
> that you can create (presumably blogs and blog entries).   The
> objects have various views, which have links that are being inserted
> incorrectly?
> Can reply and provide an example URL to your object and its view?
> Can you also provide the actual HTML code that is being produced
> (just the bad HTML code) versus what you would like to see?

There is no HTML Code produced since the view fails with an error.
The template is the same that is used at

I have two packages:

- IXGM is the one you can see at at this moment. It provides a, the contact site, CSS ressources, ... It is also a container. IT 
also defines a IXGMSKin

- IBlog is a new package. It should not know of IXGM and should also be used 
independently. In my case it is contained in IXGM. Of course it should adapt 
the look and feel of IXGM when called with the ++skin++xgm traverser set and 
then it should be rendered with (what it actually does). And that 
causes the problem:

The line in the
<a tal:attributes="href context/@@index.html/@@absolute_url">home</a>
works fine as long as context is an IXGM, because index.html is registered for 
IXGM. But if a view from the IBlog is called is it also rendered in the but context now is a IBlog which does not have an index.html (or 
at leat not the one I want) and therefore fails.

I have uploaded both packages at

Thanks for help,

Zope3-users mailing list

Reply via email to