VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mahmoodee on March 14, 2016, 10:52:52 AM

Title: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 10:52:52 AM
Hello,
I use Virtuemart 3.0.14 and joomla 3.4.8 .

(joomla administrator RTL)When I click on the VM back end admin drop down select, nothing happens. At the bottom of the browser I see javascript:void(0).
This problem only in  all VM admin drop down select, other joomla admin drop down select work well.
(joomla administrator LTR) VM back end admin drop down menus work well .
please how I solve  this problem
Title: Re: VM Back End Admin drop down select not working RTL
Post by: Milbo on March 14, 2016, 11:05:50 AM
"When I click on the VM back end admin drop down select, "

Any dropdown? Which view? on the VM Dashboard?
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 11:25:13 AM
Hello,

yes any drop down select in vm admin, like select product gategory , select manufactures in  VM Dashboard.
like Shopper Group select ,Tax Affecting select in product details .
All drop down select in vm admin not work in RTL and show javascript:void(0) when click at the bottom of the browser
Title: Re: VM Back End Admin drop down select not working RTL
Post by: Milbo on March 14, 2016, 11:28:52 AM
But it works LTR? Do you change your template for RTL? Because it all looks like a js error due a non standard template.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 11:57:28 AM
I make a new installation of joomla 3.4.8 from joomla.org
and install new vm component .
I use the default joomla admin template, which become rtl when install rtl language like Arabic.
the same problem with default joomla admin rtl template .
all drop down select not work in vm only . and work well in other joomla admin components.
I use  standard template without any change .
please help me
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 12:46:33 PM
Yes It work for ltr but for rtl languages not working
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 13:33:12 PM
Any other suggestions?
Title: Re: VM Back End Admin drop down select not working RTL
Post by: GJC Web Design on March 14, 2016, 15:02:03 PM
have you checked for Javascript errors when on your RTL template????
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 14, 2016, 15:19:40 PM
there is only js warning
Empty string passed to getElementById() in jquery.min.js

[Login data removed by Milbo: please send login data only to Mods or users which you trust.]
Title: Re: VM Back End Admin drop down select not working RTL
Post by: Milbo on March 15, 2016, 00:49:45 AM
Hmm, first I wonder that VM is not translated, there should be a version.
But you are right, non chosen is working and I do not even see a js error. Strange.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 15, 2016, 08:12:44 AM
I install the Arabic translation for vm now , but the same problem , dropdown select not work in rtl .
I am waiting a solution for this problem please.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 16, 2016, 07:52:35 AM
Any other suggestions?
Please I cannot use VM if this bug still exist
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 16, 2016, 16:50:09 PM
UP
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 17, 2016, 09:51:57 AM
Quote from: Milbo on March 15, 2016, 00:49:45 AM
you are right, non chosen is working and I do not even see a js error. Strange.
Please help me to solve this bug  :(

Mod edit:  impatient bump message removed. Please read http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: VM Back End Admin drop down select not working RTL
Post by: lindapowers on March 19, 2016, 13:28:06 PM
Quote from: mahmoodee on March 18, 2016, 10:46:11 AM
>:( no one  :'(

They have helped you for free already in a post where only you seem to have the problem, if is so urgent stop making 250 posts and pay one of them to check it, like everyone else does.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 19, 2016, 17:46:43 PM
Thanks for you.
no one help me ,
This is a bug not error show for only me.
any one use rtl language will see this bug in VM admin.
I can find one and pay for him to solve thi problem , but I want a VM to be without bugs.
Thank you again.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: Milbo on March 20, 2016, 20:04:18 PM
Thx Linda,

the problem is, we just cannot reproduce it within 5 minutes. I dont know about RTL. If it is set by language, or template.
Title: Re: VM Back End Admin drop down select not working RTL
Post by: na.sa11 on March 25, 2016, 08:37:48 AM
i have this problem so!!
in backend joomla in isis templates and with arabic or rtl lang there is this problem
many joomla admin have the error in arabic sites
pls slove this problem or help me to slove this bug
thank you
in joomla 3.x and vm 3

Mod edit:  impatient bump message removed. Please read http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: VM Back End Admin drop down select not working RTL
Post by: mahmoodee on March 29, 2016, 18:11:55 PM
Hello,
I find this solution for this problem
I replace this file
components\com_virtuemart\assets\js/chosen.jquery.min.js
with this file
media\jui\js/chosen.jquery.min.js
and this file
components\com_virtuemart\assets\css/chosen.css
with this file
media\jui\css/chosen.css

and now the dropdown select work

I just have one problem in this solution:
the width of dropdown select  is not accurate , If I inspect it on chrome it show the width like width: 220px10
<div class="chzn-container chzn-container-single" style="width: 220px10;" title="" id="top_category_id_chzn">

Title: Re: VM Back End Admin drop down select not working RTL
Post by: mjrs on July 13, 2016, 20:17:41 PM
Hi !
Go to isis template and open template-rtl.css and delete this code:

right: -9999px;

from line 8697:

.chzn-container .chzn-drop

Fine
Title: Re: VM Back End Admin drop down select not working RTL
Post by: masstech on December 05, 2017, 14:26:01 PM
Did this really solved the issue for you, its not working for me