[Zope-CMF] I can't live without DTML in Portal Document

Loren Stafford lstafford@morphics.com
Wed, 10 Oct 2001 09:17:40 -0700


> From: Tres Seaver [mailto:tseaver@zope.com]
>
>
>
> That 'relative_to_content' flag causes 'standard_html_header' to
>
> insert a base tag with the current object's 'absolute_url'.  I think
> this is still broken in CMFDecor, however.
>

Aha! My custom 'standard_html_header" was missing that code (probably for
hysterical reasons). I inserted...

  <dtml-if relative_to_content>
  <base href="&dtml-absolute_url;" />
  </dtml-if>

...and now everything works as it should.

-- Thanks
-- Loren