X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Ability Template v4.4.x (https://forum.x-cart.com/showthread.php?t=61776)

ibdmanhb 10-10-2012 12:08 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
Thanks Phil,

I have 1 more issue, the logo for Pinterest does not display in the floating bookmark window.

Thank you

PhilJ 10-10-2012 12:43 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
Quote:

I have 1 more issue, the logo for Pinterest does not display in the floating bookmark window.

See attached fix. This adds Xing also. DEMO

ibdmanhb 10-10-2012 02:07 PM

Re: X-Cart Ability Template v4.4.x
 
Works like a Champ ! You the man....

Thanks

ibdmanhb 10-10-2012 08:31 PM

Re: X-Cart Ability Template v4.4.x
 
Phil,
I spoke too soon, the Pinterest logo shows now but when I click on it it just kicks me back to the home page, no child window opens. Any suggestions ?

Thanks

PhilJ 10-10-2012 09:55 PM

Re: X-Cart Ability Template v4.4.x
 
Not sure, works fine on the demo, maybe clear browser cache, or try a different browser?

ibdmanhb 10-11-2012 12:31 PM

Re: X-Cart Ability Template v4.4.x
 
My mistake....

It works fine on http://www.ocsurfwear.com but does not on http://www.weartattoos.com. These are both recently converted stores to 4.5.2. The only difference is OCsurf is running CDSEO and weartattoos is using just Xcart clean URL's. If you click on pinit on weartattoos it reloads the page back to home instead of loading the pinit page but the URL looks weird: http://www.weartattoos.com/#, it has a # at the end. Same behavior on IE and FF. Any ideas ????

Thanks

PhilJ 10-13-2012 05:32 AM

Re: X-Cart Ability Template v4.4.x
 
Hmm, in skin/ability/custom/addons/social_share/js/jquery.social.share.2.2.min.js

Look for...

Quote:

<a href="#" class="pinItButton" title="Pin It on Pinterest">Pin it</a>

Replace with...

Quote:

<a href="#pinit" class="pinItButton" title="Pin It on Pinterest">Pin it</a>

Seems to work fine on the demo with clean URLs enabled, with the above fix.

I have updated the zip file a few posts up also.

ibdmanhb 10-13-2012 10:11 AM

Re: X-Cart Ability Template v4.4.x
 
Hey phil,

So I made that change in the javascript and I still get the same behavior. If you mouse over the pinit button you can see in the status bar it's href= /weartattoos.com/#. I disabled the clean URL's and tried again and now it works, I get the URL of the product when I mouse over the pinit button. It's definately tied to clean URL's. I'm using the stock .htaccess from Xcart clean URL's. Something is broke.....

Thanks again

totaltec 10-14-2012 11:27 AM

Re: X-Cart Ability Template v4.4.x
 
Quote:

Originally Posted by ibdmanhb
Something is broke.....

What browser and operating system are you running? It works fine for me on weartattoos runnning Win7/Chrome. I get the Pinterest login screen when I click the button.

ibdmanhb 10-14-2012 01:22 PM

Re: X-Cart Ability Template v4.4.x
 
Thanks for looking at this,

Win7 on IE9, FF and chrome all do the same thing. When clicking on pinterest it just reloads the home page with that odd URL. If I turn off clean URL's it works fine in all browsers. My other site runnibg CDSEO does not have this issue. So when you mouse over the pinit button the status line shows the products clean URL and not http://weartattoos.com/# ? I even cleared all the cookies and cache on the browsers and still get the same behavior.

Hmmm.......


All times are GMT -8. The time now is 06:59 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.