I have some tabs on the tabbar and the last one is the tab for “shoppingcart”.
All works nice and neat.
it refreshes on click… and all other things it has to provide, are all coming up like the sun on Hawaii.
But…:
I tried and wondered, if it would be possible to:
Make the tab not only to show “shoppingcart”, but also a placeholder for the number of items in it.
The string $numberOfItems comes from a mysql query.
The idea is:
Shoppingcart ( $numberOfItems) ==>> "shoppingcart (21)
Next number of items selected in the grid ==>>Execute update script ==>> "shoppingcart (22) and so on.
The tabbar is built as == == (structure as found in tabs7a.xml)
Tried with pure php…No luck.
Tried with CDATA… No luck either.
If above is not a complete impossibillity, please could you (without writing the complete script…) give me a direction, where to look for.
The tabbar can load configuration XML from any kind of server side script, so you can form it dynamically with necessary data ( basically , the usage of server side script is more common approach , than a static xml file )
If you have some problem with XML loading - please reffer to the
dhtmlx.com/docs/products/dhtmlxG … rt_comprob
the article discuss the dhtmlxgrid, but XML loading problems and solutions are common for all components