How do I replace colorbox with the fancybox in OpenCart? - fancybox

I have managed to get the fancybox to work on the product and category pages but it is not working with the shopping cart and checkout. I am not sure which files I should be changing so they will work with the fancybox. Thank you for anyone that may be able to help me here.
Fancybox Version: 2.1.5
Opencart: 1.5.5.1

Use this extension
The below mentioned extension give you fancybox zoom option
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=5389

Related

Paypal Express review page buttons not working

I have a serious issue in Paypal when I done the payment through paypal express chekout it redirect back to Mangeto on paypal/express/review page , it do not allow me to place order, the Place order button is showing disable and no action clicking on "update order data" button .
I followed the below link but I haven't got any result.
Click
Please help me,I tried from the last two days.I am ready to share admin detail if required.
Please don't suggest clear cache or enable from admin section I have done all this suggestion.
My solution was to download a fresh copy of magento and copy the files Review.php, review.phmtl and review.js to my site and it worked. I never edited those files maybe the extensions I installed changed those. Hope it helps!
After spending lots of time I got the solution for this problem.
I compressed js and css file for fast execution of my website thats why its happen after remove compression from js file, Paypal start working.

Use feedburner email subscription without Popup

For my selfhosted Wordpress blog, i wish to add Feedburner email subscription form.
Embed code from feedburner site:
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=[BLOGNAME]', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
My issue is, i dont want the popup window to show up. That thing is so 80's stuff.
Instead, is it possible to show the popup contents inline? Using JS or PHP or something?
Check out how div contents change over click here using JS: http://www.willmaster.com/library/web-development/replace-div-content.php
Would be great if something similar could be worked out.
I guess this is easy to do but i have limited knowledge on web designs and php/js/forms.
Thanks in advance.
PS: Please do not suggest plugins. I hate installing plugins unless absolutely necessary.
You can change target="popupwindow" to target="_self" or target="_blank", it can load in current page or go to a new page.

Advanced Custom Fields wordpress plugin - Options Page Shortcode

I am using the Advanced Custom Fields Plugin (http://www.advancedcustomfields.com) with the options page add-on so I can use global variables throughout the theme (on multiple pages).
I don't know PHP and I'm trying to get the custom field from the options page by using a shortcode in the content on the different pages inside the WYSIWYG editor.
Is this possible? I can't figure out how to do it after days of trying. Can anyone help? I've tried going to the plugin's support and haven't gotten anything back.
Please Help! I really need to get this working!
References:
http://www.advancedcustomfields.com/docs/functions/using-shortcodes/
http://www.advancedcustomfields.com/add-ons/options-page/
Figured out a way around it. I can just use the shortcode they provide to reference a specific post/page ID which accomplishes the goal of only having to put it in once and it being rendered at multiple pages as long as the shortcode is there and properly formatted.
Use the post_id of option in your shortcode as per this example:
[acf field="myfieldname" post_id="option"]
Block type: Text Block (WYSIWYG field)
Text:
[acf field="NAME-OF-ACF-FIELD" post_id="options"]
Image (Return Format: Image URL) and alt text:
<img src="[acf field='NAME-OF-ACF-FIELD' post_id='options']" alt="[acf field='NAME-OF-ACF-FIELD' post_id='options']" />

Remove Like button from Facebook Comments plugin (iFrame version)

There are instructions on how to scrub the Like button from the Comments plugin for the XFBML version, but not the iFrame one. The Like button bundled with the Comments plugin is redundant since we already have a share bar.
Anyone know how?
The first version of the Facebook comments plugin would allow you to specify a custom css style sheet where you could remove this. The newest second version of this plugin does not allow for this so you won't be able to modify, aside from shrinking the iframe that holds the comment box.

FB.provide is not a function

I'm developing a WordPress plugin to show above or bottom the posts Facebook like and send buttons.
Unfortunately when is also activated a plugin for Facebook share button there is a Javascript error (FB.provide is not a function) and like and send buttons don't appear.
For example this happens in this page: http://www.pasqualepuzio.it/2011/04/plugin-facebook-like-and-send-button/
How can I solve this issue?
Thank you very much
I ´ve faced the same problem and it happens if you add the script twice on the site (http://connect.facebook.net/sv_SE/all.js)
I understood that part that we cant have all.js twice but I want to have Facebook Share Button and Facebook Like Button.
According to Docs, I need to include these two JS Files.
https://connect.facebook.net/en_US/all.js
http://static.ak.fbcdn.net/connect.php/js/FB.Share
Now, If I include both Firebug will give me same error "FB.provide is not a function". If I remove either of them then Like or Share button wont work.
I can do iFrame version but I have HTML Encoding issues with iFrame Version. I am programmatic generating HTML Response.
Any idea, how to approach?
There is a workaround for this: instead of placing the javascript Fb.Share within the same page where you are loading the Javascript SDK, use an Iframe with the first and set it in the second.