Switch from main header to subsite header

Hi!

I've a hard-coded diary view that must show the sub-site header but it's showing the main header instead (both are working perfectly for the rest of the pages, views and so on).

I'm looking for a solution to hide the main header, but all of them hide it for all pages

Does anybody knows how to do it?

1 Like

@fatimamartinez
This example introduces "drop" directives that respond to the classes 'gl-drop', 'gl-front-drop' and 'gl-inner-drop'.
If you have these diazo directives in your rules.xml you can use those special 'gl-*-drop' classes in your theme to "apply" the behaviour you want to your headers.

gl-drop -- drop elements of your theme marked with this class.
gl-front-drop -- drop elements of your theme marked with this class if they are on the front-page.
gl-inner-drop -- drop elements of your theme marked with this class if they are on an inner page.

2 Likes

I solved it! I found out that I had to create a collection for each time I wanted to show my new view.

Thank you so much for your help @pigeonflight!!

Plone Foundation Code of Conduct