[Zope-CMF] Page view without CMF framing
J C Lawrence
claw@kanga.nu
Sat, 24 Aug 2002 01:57:59 -0700
On Sat, 24 Aug 2002 01:42:40 -0700
J C Lawrence <J> wrote:
> if self.meta_type=='Folder':
> html = self.index_html(self,self.REQUEST,self.REQUEST.R$
> else:
> html = self()
Umm, change them both to calls to self(), or just get rid of the
conditional. It seems to work everywhere except the root of a Plone
site due the redirect business to _call_ on index_html. I've no idea
yet how to fix that.
Help moving it from a hack on navigation_slots to a portal_type would be
most appreciated.
--
J C Lawrence
---------(*) Satan, oscillate my metallic sonatas.
claw@kanga.nu He lived as a devil, eh?
http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live.