Support Home Page › Forums › Joomla Software › Easy Folder Listing Pro Plugin › Auto Closing Folders
- This topic has 10 replies, 2 voices, and was last updated 12 years, 9 months ago by Michael Gilkes.
-
AuthorPosts
-
January 25, 2012 at 11:39 pm #234dudemireParticipant
On my website folders are automatically closing when clicked on. They open for a second then close. A link to the page is provided below.
Joomla Version – 1.7.3
PHP Version – 5.3.8
Easy Folder Lisitng Pro 1.5
http://ci.ridgecrest.ca.us/police-department/rpd-press-releases
January 26, 2012 at 1:50 am #1435Michael GilkesKeymaster@dudemire. Thanks for posting. I checked out the link. That is really weird. It is definitely a conflict issue with jQuery. It seems like it is performing a “wink” (basically toggling twice in sequence) instead of toggling once when clicked.
Have you tried changing some of the jQuery options in the plugin?
The first thing I would like you to try is to change the transition from toggle to fadeToggle. let me know what happens.
January 26, 2012 at 1:58 am #1436dudemireParticipantI changed the toggle to fade and it does the same thing. I have changed all the transition settings and they all do the same thing.
Also i have change all the settings under the jQuery section and still have not gotten it to work properly.
January 26, 2012 at 1:12 pm #1437Michael GilkesKeymaster@dudemire. I did a little Javascript debugging on your web page using Firebug (in Firefox). It seems as though jQuery is running the code twice on the page. So, that means that the click event is added twice to the elements, which makes it call toggle twice when you click once.
I am not 100% sure what is causing this to load twice. I would like you to try a couple things though.
1. Something on your page loads jquery 1.6.4 from google api. If you could disable that temporarily, to see if that fixes it, that would be great.
2. If that doesn’t work, go into the PLugins Manager for the plugin and set the plugin to not load jQuery, and also to not use noConflict.
If neither of those two things work, would it be possible for me to get a temporary admin login to the Joomla backend? Is the site live?
Basically, from what I can tell, you have (at least) two versions of jQuery being loaded (1.6.1 and 1.6.4). I don’t know if this is causing the problem. It really shouldn’t be , but it could be the case.
January 26, 2012 at 5:38 pm #1438dudemireParticipantI think I found the module that is loading jQuery. JoomlaWorks ‘Frontpage SlideShow’.
I disabled jQuery in both the slideshow and EFLP and it still does not seem to work properly, i played with switching jQuery between the two module/plugins and cannot get it to work.
I unpublished the slideshow module but EFLP still closes the folders.
This is a live site but I’m willing to give you temporary access.
January 27, 2012 at 5:02 pm #1439Michael GilkesKeymaster@dudemire. Sounds good. If you are willing to let me access the site, send the login info to support[at]valorapps[dot]com.
To be honest, I am on the verge of releasing version 2.0 of the plugin. It should be released by Monday. I removed jQuery entirely from it, and the new version is using Mootools. It should solve your problem. If you are willing to wait over the weekend, you will get a free copy.
For existing users my upgrade policy can be found at the Valor Apps website.
January 27, 2012 at 10:37 pm #1440dudemireParticipantI’ll just wait until version 2.0, That should fix the issue.
Thanks for all the help.
January 31, 2012 at 9:55 pm #1441Michael GilkesKeymaster@dudemire. Version 2.0 is released! Send me an email with the order number for your previous version and I will give you instructions on getting the new version for FREE.
@everyone. If you purchased an earlier version of the plugin prior to January 1, 2012. You are eligible for a 60% discount coupon. Email me at support[at]valorapps[dot]com to get it.
January 31, 2012 at 10:02 pm #1442dudemireParticipantI’ll just go ahead and purchase it again. Thanks for the support and you’re product.
January 31, 2012 at 10:56 pm #1443dudemireParticipantSo I installed version 2.0 and now the sub folders will not open unless expand all is clicked.
http://ci.ridgecrest.ca.us/police-department/rpd-press-releases
February 1, 2012 at 1:03 am #1444Michael GilkesKeymaster@dudemire. Wow! I am shocked, but I have a theory. I opened your site in several browsers: Safari, Firefox and Opera (so far). Interestingly, in Opera I see the same thing happening in this version as in the previous version. I see it start to expand the subfolder then it immediately collapses. My theory is that there is some javascript on our page that is hijacking the click events on table rows (tr elements) and causing them to be fired twice! It doesn’t matter whether my code is using jQuery or Mootools, it is still javascript.
Whatever is causing the problem could either be loaded by another plugin, a module, a component , or even some javascript from your template. It is definitely not something in my plugin’s code. The javascript code in 2.0 was completely refactored in Mootools. Also, base on the fact that the click events on the “Collapse All/Expand All” are not hijacked, I can only infer that it is click events made on a tr element that are hijacked. Also, the filter works perfectly.
Let me know if my explanation helps you in pinpointing the cause.
-
AuthorPosts
- The topic ‘Auto Closing Folders’ is closed to new replies.