Forum OpenACS Development: Re: Headers in acs

Collapse
4: Re: Headers in acs (response to 1)
Posted by Jeff Davis on
Duplicate headers happen because we moved the title and context bar out of the package local master and to the sitewide master. I think lars-blogger had been fixed but I think photo-album might still be broken.

the way to fix it is make sure that you don't have title and context_bar in the page or package local master if you have one. I will check those two modules monday and make sure they have been fixed.

the top of any package page (with a few exceptions) should look like

<master>
<property name="title">@title@</property>
<property name="context">@context@</property>
Where context should be the list of lists as passed to ad_context_bar.

You should not have title and context bar in you page and instead defer rendering of such persistent elements to the sitewide master.