News:

Support the VirtueMart project and become a member

Main Menu

States Dropdown Problem

Started by authentic, July 06, 2013, 02:11:34 AM

Previous topic - Next topic

authentic

Hello All,

I am dealing with the same symptoms posted a few times on this forum, but unfortunately none solve my problem.  I am trying to get the "states" drop down to display the states properly.  Unfortunately, nothing i do seems to fix the issue.  What I have found in my digging however is this error and I believe it is the cause of my trouble....

Link to page where problem is....
www.orange20bikes.com/index.php/catalog/user/editaddresscartBT.html

[20:01:12.893] TypeError: $(...).vm2front is not a function @ http://www.orange20bikes.com/index.php/catalog/user/editaddresscartBT.html:144

Any ideas how to get this to work?  Ive tried everything suggested in other posts.
Turn off all non-joomla plug ins
Use Standard Template
Clear Cache
Etc.

Any help would be really... well....  helpful.
Thanks

franzpeter

What VM version are you using?

authentic

sorry for the very slow reply.  Life is hectic  :o
I have updated to .20b but that did not fix the issue.

I did however end up narrowing down the problem to the template.  After turning off all modules, then switching template, i got the drop-down to work.  As soon as I turn on the template, the problem is back.
I am now running the bare minimum extensions for my needs.

the site is located at : orange20bikes.com

This is the error what is holding up my launch so getting it nipped in the bud is a high priority.

Thanks all.


jenkinhill

The dropdowns are working for me on IE10 and Firefox 20. Usual cause of them not working is a JavaScript conflict. In your case it could be that community builder is causing problems sometimes as that loads its own jQuery library.

But it does work.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

lindapowers

#4
There seems to be a bug in VM with the states dropdown, happened to me also in 2.022a

The solution that worked for me (provided by the yagendoo guys):

"/administrator/components/com_virtuemart/helpers/config.php" and insert the following code in line 1112:

JFactory::getApplication()->set('jquery',TRUE);

It has to be inserted after this line:

vmJsApi::js( 'jquery.noConflict');

Milbo

yeh, I accidently deleted the inofficial convention to prevent loading the jquery twice. But you can also just disable jQuery in vm config.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/