Categories | Question details Back To List | ||
Tabbar and mysql 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 == <tabbar hrefmode="iframes-on-demand"> == (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. Answer posted by Support on Oct 01, 2008 06:09 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 http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Common_Problems_in_Grid.html#grid_art_comprob the article discuss the dhtmlxgrid, but XML loading problems and solutions are common for all components |