You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a page with several sections. At the beginning of each new section, I want to show the page header again. To facilitate this, I have created an instance of IComponent called SectionHeader, but I'm unsure how to ensure that this only shows on page one of each section. IContainer has ShowIf() that I could in theory leverage, but I'm not sure how to write that check.
An alternative here is to create a new page instead of a new section and use ShowOnce() in the header to make it only show up on the first page. Each section should start on its own page anyways, so this would presumably help facilitate that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have a page with several sections. At the beginning of each new section, I want to show the page header again. To facilitate this, I have created an instance of
IComponent
calledSectionHeader
, but I'm unsure how to ensure that this only shows on page one of each section.IContainer
hasShowIf()
that I could in theory leverage, but I'm not sure how to write that check.An alternative here is to create a new page instead of a new section and use
ShowOnce()
in the header to make it only show up on the first page. Each section should start on its own page anyways, so this would presumably help facilitate that.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions