I just tried installing WP-ecommerce and it does not play nice with Featured Content Gallery (FCG).
The end result is FCG is rendered useless and in the Revolution "Church" template all the images appear in vertical stack on the page.
WP-ecommerce Conflict?
11 posts • Page 1 of 2 • 1, 2
Re: WP-ecommerce - FireBug Debug Info
Here's some more info on the error as captured by FireBug. I also attached a screen shot, so you can see what's happening with the FCG photos. In my case you can see that the image is appearing between the "news" and "reviews" section and continues all the way down the page..
- Code: Select all
element.getElements is not a function
populateGallery()(Object length=0 prevObject=Object jquery=1.2.3, 0)jd.gallery.js (line 147)
populateData()()jd.gallery.js (line 139)
initialize()(Object length=0 prevObject=Object jquery=1.2.3, Object timed=true)jd.gallery.js (line 99)
$defined()()8nZi%2Fb...Oxw%3D%3D (line 1)
startGallery()word (line 672)
$defined()()8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()(undefined)8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()(startGallery())8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()("domready", undefined, undefined)8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()()8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()()8nZi%2Fb...Oxw%3D%3D (line 1)
$defined()(DOMContentLoaded )8nZi%2Fb...Oxw%3D%3D (line 1)
[Break on this error] element.getElements(options.elementSelector).each(function(el) {
- Attachments
-
- FCG_error.jpg (138.99 KiB) Viewed 5476 times
- DPC
- Posts: 5
- Joined: Mon Jan 26, 2009 9:16 am
Re: WP-ecommerce Conflict?
wp-eccomerce uses jquery framework, fcg uses motools framework, they are not compatible
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4738
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
Re: WP-ecommerce Conflict?
I noticed that JQuery offers the following solution when working on the same page as other libraries.
jQuery.noConflict()
Is there a chance to motools offers the same.. Surely there must be a hack that can be applied?
jQuery.noConflict()
Is there a chance to motools offers the same.. Surely there must be a hack that can be applied?
- DPC
- Posts: 5
- Joined: Mon Jan 26, 2009 9:16 am
Re: WP-ecommerce Conflict?
There's a quick and easy solution to this problem (if you understand PHP).
Step 1:
Add the following lines to your theme's header.php file immediately below the call to wp_head():
Step 2:
Open the main file for the Featured Content Gallery (content-gallery.php) and edit the following lines <em>at the end</em> of the file:
Change them to:
Assuming the featured content gallery is on the front page of your blog (like it is on mine) this completely solves the conflict problems between the two plug-ins.
You can check out the interaction live on my site. The home page is http://www.jumping-duck.com and the e-commerce store is http://www.jumping-duck.com/store.
Good luck!
Step 1:
Add the following lines to your theme's header.php file immediately below the call to wp_head():
- Code: Select all
<?php if(is_front_page()) do_action('jdm_head'); ?>
Step 2:
Open the main file for the Featured Content Gallery (content-gallery.php) and edit the following lines <em>at the end</em> of the file:
- Code: Select all
/* we want to add the above xhtml to the header of our pages: */
add_action('wp_head', 'gallery_styles');
add_action('admin_menu', 'gallery_options_page');
Change them to:
- Code: Select all
/* we want to add the above xhtml to the header of our pages: */
add_action('jdm_head', 'gallery_styles');
add_action('admin_menu', 'gallery_options_page');
Assuming the featured content gallery is on the front page of your blog (like it is on mine) this completely solves the conflict problems between the two plug-ins.
You can check out the interaction live on my site. The home page is http://www.jumping-duck.com and the e-commerce store is http://www.jumping-duck.com/store.
Good luck!
- ericmann
- Posts: 2
- Joined: Thu May 14, 2009 6:44 pm
Re: WP-ecommerce Conflict?
Thank you so much for this fix Eric 
- TheGlassInYourMouth
- Posts: 3
- Joined: Thu Mar 12, 2009 9:14 pm
Re: WP-ecommerce Conflict?
Hi,
I am using both wp-e-commerce and Featured Content Gallery on my site. I followed the steps mentioned above for fixing the conflict for the gallery. But, after doing this, gallery starts displaying in Firefox and IE7 but not in Safari.
How to fix this issue in Safari? Please help me out.
Thanks,
Shweta
I am using both wp-e-commerce and Featured Content Gallery on my site. I followed the steps mentioned above for fixing the conflict for the gallery. But, after doing this, gallery starts displaying in Firefox and IE7 but not in Safari.
How to fix this issue in Safari? Please help me out.
Thanks,
Shweta
- shweta
- Posts: 1
- Joined: Tue Jun 23, 2009 3:24 am
Re: WP-ecommerce Conflict?
I've applied this code change and still doesn't work for me. I even went so far as to disable the Wp-Ecommerce Plugin and still the FCG content doesnt' show up.
I have no idea what else to try right now - about ready to throw in the towel and request a refund for the Corporate theme after 3 days of trying to get this to work.
I have no idea what else to try right now - about ready to throw in the towel and request a refund for the Corporate theme after 3 days of trying to get this to work.
- bluprojekt
- Posts: 4
- Joined: Tue Jun 23, 2009 12:42 pm
Re: WP-ecommerce Conflict?
I've now gone so far as to remove all previous test posts, uninstall the WP-Ecommerce plugin and created two new test posts. Following the EXACT procedure for FCG, I created the two new entries with the two custom fields. And the results: Still nothing showing up. 
I even reverted back to WP 2.7.1 to see if this was an issue with WP 2.8 (which is having it's own set of issues with Javascript I've discovered)
What else should I try???
I even reverted back to WP 2.7.1 to see if this was an issue with WP 2.8 (which is having it's own set of issues with Javascript I've discovered)
What else should I try???
- bluprojekt
- Posts: 4
- Joined: Tue Jun 23, 2009 12:42 pm
Re: WP-ecommerce Conflict?
I'm having the same exact conflict between featured content and wp-ecommerce. I also tried the above fixes but no luck. All that's showing up where featured content should be is a 1px border outline but thats it. Any other advice??? 
- fightDirty
- Posts: 1
- Joined: Sat Jun 27, 2009 5:05 pm
11 posts • Page 1 of 2 • 1, 2
Return to Development, Improvement, and Conflicts
Who is online
Users browsing this forum: No registered users and 0 guests









