Forums / Setup & design / Use section of parent for display

Use section of parent for display

Author Message

Nathaniel Fitzgerald-Hood

Wednesday 04 February 2004 9:54:01 pm

I have a site divided into 3 sections. The sections share tpl overrides for content classes but use different pagelayouts. I have created my own user class (Staff Member) which is placed automatically in a custom user group under the Users section (ID: 14). This information is used for login and information display. To display staff lists staff members are placed in a hierarchy of directories across the 3 sections (based on their geographic location, position, etc).

The three sections which I use to display everything are 11, 9 and 13. Since a user can appear in any or all of them I want to display the correct pagelayout override for the section based on that of the parent, not the staff member. So, if a staffmember is in a folder within section 13 that pagelayout override is used.

Is there someway to accomplish this (appending ?SectionID=9 to the URL doesn't do it)? At the moment it uses the section for the staff member (14) no matter what.