Comment 5 for bug 152635

Andy Altepeter (aaltepet) wrote :

OK, for the life of me, I don't know how to get the view to be wrapped inside a skin. I have the view registered, and it's accessible by appending '/subscriptor' to an item (make sure you have subscriptions enabled!).

What I'm thinking now is to:
1) Have a new acquisition-friendly class, that basically knows how to render
   the subscriptor page using the standard silva api (ummm, self.render()?)
2) In the subscriptor view, create a new instance of this class, and do instance = instance.__of__(self.context)
3) Somehow get the publisher to re-run with the new context (create a sub-request?).

In the subrequest, the rendering process should put the subscriptor within the skin, and hopefully keep the navigation and such within the context of the Silva object.

At this point, I have no idea how to do this. I feel like I'm thinking too hard. Do you have any thoughts, or know who might?