[ZPT] acquisition question

David Hart dhart@atlantisblue.com.au
Thu, 29 Aug 2002 10:53:15 +1000


This is probably a basic question, but here goes:

I'm running NeoBoard under CMF 1.3/Plone 1.0.0a3.

Note: NeoBoard required a small fix get it to work with the CMF 
(getIcon() namespace collision), and Plone has bug in [not] setting 
global portal_url in header and footer objects.

In this object hierarchy:

- /discussion
    a_1
    a_2
  - a_3
      a_1

in the header object (html_header macro) rendered at /discussion/a_3/a_1 
traversal:

    <base hreff="http://yoursite/folder/content/template_id"
          tal:attributes="hreff python: here.absolute_url() + '/' + 
here.template.getId()" />

(note: hreff used temporarily to prevent incorrect base href)

"here" is returning the discussion object, not the second a_1 object. Why?

-- 
David Hart