VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mabeall32 on December 16, 2011, 03:31:10 AM

Title: not able to select state in dropdown for USA
Post by: mabeall32 on December 16, 2011, 03:31:10 AM
when I'm in the shopping cart on go to the account maintenance screen on the front end, I cannot select a state.  On the backside, it works find.  is there something I'm doing wrong?
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 16, 2011, 11:47:02 AM
java conflict in your template,
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 16, 2011, 12:18:45 PM
Ok, what do I do about it?
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 16, 2011, 12:41:53 PM
post your url
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 16, 2011, 13:23:22 PM
 
http://www.maxinesworx.com/matlinmfg/index.php/my-account (http://www.maxinesworx.com/matlinmfg/index.php/my-account)
sign in as maxine password 123456
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 16, 2011, 15:11:03 PM
your template uses jquery, you can disable the vmart jquery


Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 16, 2011, 15:18:32 PM
where do I find it.  I went to configuration and unclicked everything except update database and nothing happening.  (i also deleted cache and history).  I must be unclicking the wrong thing?
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 16, 2011, 18:12:59 PM
Mabe all are in config
/administrator/index.php?option=com_virtuemart&view=config

or in vrituemart menu >>
configuration
-configuration

click on TAB nr 3 >"Templates"
search Activate Css Styles & Javascripts

uncheck
Using the Virtuemart jQuery

click on save or apply on top right corner

refresh or reload the non-working page
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 17, 2011, 03:12:04 AM
that didn't work, I still don't have the dropdown and it turn off the accordian effect on the category on the left side of the page.
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 17, 2011, 13:29:53 PM
turn off "use external google jquery"
and see what happens
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 17, 2011, 13:42:48 PM
No, it didn't help
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 17, 2011, 14:20:08 PM
I dotn know what to tell you, the vmart jquery and definitely conflicting with the jquery in your template
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 17, 2011, 14:24:50 PM
Hi mabeall32,
I have take a look on your website and you don't deactivated the internal jquery.
Plz uncheck :
Using the Virtuemart jQuery in configuration

or we can't help you
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 17, 2011, 14:44:27 PM
i did but, change it back.  I changed it some you can get to backend when I turn of the virtuemart jquery, the category listing on the left stop working.  change the password after you get in the backend.  I delete the user when we are finish
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 17, 2011, 21:47:26 PM
OK, i have look the code.
The problem is the template set jQuery at the End and are not set when virtuemart call jQuery.
YOu must look to add jQuery at the begin of your template. directly  in the head before the tag
<jdoc:include type="head" /> from template
The file in normal case in templates/matlin6/ is index.php

<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/matlin6/jquery.js"></script>


remove the other call to jquery that you can find in this template or module (search for jquery.js in your file if it's not in index.php

and don't readd the virtuemart jquery , plz ;)
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 18:02:52 PM
I must be doing something wrong or not understanding what I need to do.  It still not working.  Help!
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 21, 2011, 18:09:51 PM
works for me

[attachment cleanup by admin]
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 19:14:50 PM
not for me
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 21, 2011, 19:30:06 PM
what browser?
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 20:00:22 PM
firefox 8 and ie9
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 21, 2011, 20:34:41 PM
works for me in both of those
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 20:36:22 PM
what doesn't mine work? :(
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 21, 2011, 21:02:31 PM
have you cleared you browser history?
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 21:06:53 PM
yes, I have clean cache, I deleted history, what else should I try?
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 21, 2011, 21:08:17 PM
it works on the backend.
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 21, 2011, 21:46:08 PM
you are choosing the country first right? u cannot choose state until country
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 22, 2011, 01:59:04 AM
yes, I have country  ,then state/province/region.
I tried to attach a screen capture, but I was not able to past it into post or attach it.
It something to do with my template, but I don't know how to fix it so it will work correctly. 
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 22, 2011, 10:58:19 AM
WAIT, what I have been doing is going to checkout and then doing the dropdown. Because that password u posted dont work anymore.

IS THIS AFTER logging in?

IF so, joomla loads another java file after logging in, and that might be conflicting
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 22, 2011, 12:41:56 PM
I have it set for register users only.  I have played with index.php to prevent it from loading twice. but I must not getting the right combination.  I was looking for the php for just the account maintenance to maybe changed it to load a different template that works for it but doesnt' effect other pages.
I changed the password back, so you can get back in.  (123456). 
Title: Re: not able to select state in dropdown for USA
Post by: PRO on December 22, 2011, 14:42:48 PM
OK, i see what it is. You have to change the country field back to -Select-   then select US again.

I have reported this
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 23, 2011, 09:33:39 AM
Quote from: BanquetTables.pro on December 22, 2011, 14:42:48 PM
OK, i see what it is. You have to change the country field back to -Select-   then select US again.

I have reported this

Fixed in last SVN
Title: Re: not able to select state in dropdown for USA
Post by: mabeall32 on December 23, 2011, 12:56:17 PM
I have the release the last release (release 12/20) will there be another release soon fixing bugs.
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 26, 2011, 21:25:45 PM
SVN is the DEV release, wrote after 12/20, but you must use turtoise svn and configure it to download the dev releases.
Title: Re: not able to select state in dropdown for USA
Post by: dontflinch on December 26, 2011, 21:33:26 PM
I posted on another thread about having a similar problem.  when I disabled "Using the Virtuemart jQuery" is when the dropdown stopped working on mine.
Title: Re: not able to select state in dropdown for USA
Post by: Studio 42 on December 27, 2011, 11:54:46 AM
If you remove the virtuemart jquery you must provide another method to add jQuery but you must never add 2 time jquery/scripts in your document or you get conflicts
Title: Re: not able to select state in dropdown for USA
Post by: nebular on January 02, 2012, 14:04:54 PM
Here with the same problem, I need help to fix it.
http://forum.virtuemart.net/index.php?topic=95643.msg314497#msg314497

Best Regards.

Title: Re: not able to select state in dropdown for USA
Post by: anotart on May 31, 2012, 22:19:35 PM
Quote from: BanquetTables.pro on December 21, 2011, 21:46:08 PM
you are choosing the country first right? u cannot choose state until country

Oh my gosh!  I spent hours trying to figure this out and the answer was so simple!