Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Recommended method to change <Toolbar> on a per page basis


Hello all,

While working and exploring the Theme demo files I noticed there were multiple <ToolBar> elements "ToolBar1" "ToolBar2" etc. My question is what would be the suggested method to actually switch between these different toolbars as it's not highlighted in the docs or within the codebase.

My Goal:

I would like to use a default toolbar (say <ToolBar1 />), but on special pages I would like to switch to <ToolBar2 />, but only for that page.

Does anybody have any suggestions?


Text formatting options
Submit

Replies (1)


Hi Joah,

Try to check in the code how the title/breadcrumbs are changing. You can use the same solution for a page-based toolbar.

Regards,
Keenthemes support


Text formatting options
Submit
Text formatting options
Submit