but now I find a temporary fix for it and I publish it here for use of other member
After clean install of joomla and virtuemart, if you switch the language to a RTL language all tabs on virtuemart forms will disappear.
( tab in the entrance page “control panel|statistics”, new product tabs and so on)
I have checked it with joomla 1.5.10 and joomla 1.5.14 with the latest version of virtuemart 1.1.3
I think the problem is with the script in “vmTabPanel” class definition.
I change the code and set the text direction of “startPane” function manually to “ltr” later in the same class I changed the text direction of “startTab” function back to current language direction (eg. ‘rtl’) this changes apparently solved the problem and tabs reappeared again, although they are aligned to the left of the screen but the form content is well aligned according to the global text direction (eg. ‘rtl’ ).
here is the exact code:
open the file administrator/components/com_virtuemart/classes/htmlTools.class.php
find class definition “class vmTabPanel”
change the line 400 under class definition from
function startPane($id) {
to
also change line 462 under class definition from
to
I hope developers solve this issue for the next release.
I will appreciateĀ if someone tell me how to use the global direction in this class
I like to use something like dir=’$direction’ as we do on themes but I was unsucseccful
Regards
No related posts.
happy to hear so from you ![]()
thank you
8:00 pm
VCz6qu Excellent article, I will take note. Many thanks for the story!