If you want to have a quick and simple way for doing tab bars, this small ZClass product is for you.
Just import the .zexp in your product folder, & assign the ZTabContainer_add_permission.
Create a ZTabContainer , and add inside as many ZTab as you need.
Each ZTabContainers have 4 color properties :
Each ZTab have 4 properties :
Create a ZTabContainer (index_ztab for example) findable by acquisition.
Put those lines at the beginning of each method:
<dtml-if index_ztab> <dtml-with index_ztab> <dtml-var index_html> </dtml-with> </dtml-if>
And create 4 ZTab instances within the ZTabContainer (index_ztab), and give each Ztab the method, title and icon you want.
Should look like this (but you can change colors, and icons)