Page 1 of 1
[vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.5.2)
Posted: Tue Jan 10, 2012 10:52 pm
by Qphoria
This script will make it so that the information links in the footer popup in a fancybox (1.5.1) or colorbox (1.5.2) overlay.
It uses an ajax code check to hide the header/footer/sides if the page opens as a fancybox, while still allowing the pages to load normally when opened directly. Very small vQmod changes.
footer_info_fancybox.gif (156.42 KiB) Viewed 7398 times
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 3:10 am
by opencartArab
cool .. i like it.
Thanks..
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 5:10 am
by cantykiwi
Nice one Q!!!

Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 5:44 am
by Qphoria
Small update. Added "rel" tag. Now you can use the Next/Prev arrows to scroll through all information pages easily
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 7:03 am
by Ozfarmer
Thanks Qphoria! very good work!
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 7:30 am
by quocbinhvip
cool .. i like it. Thanks..
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 10:25 pm
by Luke Worsfold
Hi there how to i get this to work on my site??
Re: [vQmod] - Footer Information Fancybox
Posted: Wed Jan 11, 2012 10:27 pm
by Qphoria
Luke Worsfold wrote:Hi there how to i get this to work on my site??
http://forum.opencart.com/viewtopic.php?f=131&t=27139
Re: [vQmod] - Footer Information Fancybox
Posted: Mon Mar 12, 2012 12:25 pm
by cwswebdesign
Great mod! It looks awesome in 1.5.1.3
Does it need to be modified to work with 1.5.2.1 ?
Thanks!
Re: [vQmod] - Footer Information Fancybox
Posted: Tue Mar 13, 2012 9:41 am
by Qphoria
Added colorbox version for v1.5.2
Re: [vQmod] - Footer Information Fancybox
Posted: Fri Mar 23, 2012 7:44 am
by cwswebdesign
Qphoria wrote:Added colorbox version for v1.5.2
Thank you!!
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Mon Mar 26, 2012 6:06 pm
by disgruntled
Minor quirk. If the store is setup using www in admin, your mod does not work when just using
http://store.com and viseversa. The funny thing is in the admin Opencart gives the example using www on the second store of a multi store setup. We are using version 1.5.2.1
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Tue Mar 27, 2012 2:41 am
by Qphoria
I'm not sure I can do anything about that due to
Same Origin Policy limitations for ajax
The web treats "
www.domain.com" and "domain.com" as 2 different origins.
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Tue Mar 27, 2012 2:53 am
by disgruntled
Hi Q, found a fix. It's opencart's .htaccess that's the problem. Not sure why it's not fixed because it's so simple? just placed this in our .htaccess and fixed it.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Tue Mar 27, 2012 3:01 am
by disgruntled
One other problem that was solved (which has nothing to do with this mod) is that when an Opencart site is accessed without using the www the add to cart buttons on the home page will not work. The .htaccess re-write fixed that problem.
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Wed Apr 11, 2012 2:23 am
by Qphoria
updated to fix a problem with them not showing when on an https page.
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Mon Jul 30, 2012 7:41 pm
by lightworks
Qphoria,
This works great - many thanks. A quick question: given that it opens up a full page in pop-up necessitating scrolling, is there a way to add a different URL to T&Cs etc so that a specially designed text page (without header etc) can be opened? Similar to one of those 'print this page' set-ups while leaving the main T&Cs page intact?
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Tue Aug 07, 2012 10:21 pm
by cwswebdesign
wondering if anyone can help me out. I know this mod alone works with no errors and works great, but I've got some other mod that is preventing this from working and I can't figure out which one.
This is the error I'm getting:
---------- Date: 2012-08-07 14:18:18 ~ IP : xxxxxxxx ----------
REQUEST URI : /index.php?route=information/information&information_id=12
MOD DETAILS:
modFile : /home/xxxxxxxx/public_html/ocart/vqmod/xml/footer_information_colorbox_v152.xml
id : Footer Information Fancybox
version : 152.1
vqmver : 2.1.5
author : qphoria
SEARCH NOT FOUND (ABORTING MOD): <?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
I would give out a site link but I have to disable this mod because it doesn't allow the rest of the site to function properly.
Help is greatly appreciated!
Thanks
DL
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Fri Aug 10, 2012 5:38 am
by cwswebdesign
cwswebdesign wrote:wondering if anyone can help me out. I know this mod alone works with no errors and works great, but I've got some other mod that is preventing this from working and I can't figure out which one.
This is the error I'm getting:
---------- Date: 2012-08-07 14:18:18 ~ IP : xxxxxxxx ----------
REQUEST URI : /index.php?route=information/information&information_id=12
MOD DETAILS:
modFile : /home/xxxxxxxx/public_html/ocart/vqmod/xml/footer_information_colorbox_v152.xml
id : Footer Information Fancybox
version : 152.1
vqmver : 2.1.5
author : qphoria
SEARCH NOT FOUND (ABORTING MOD): <?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
I would give out a site link but I have to disable this mod because it doesn't allow the rest of the site to function properly.
Help is greatly appreciated!
Thanks
DL
Fixed Now.
DL
Re: [vQmod] - Footer Information Fancybox(1.5.1)/Colorbox(1.
Posted: Thu Oct 04, 2012 10:56 pm
by faizanmemon786
getting this erro... can anyone tell me how to fix this...
---------- Date: 2012-10-04 14:53:54 ~ IP : 92.98.158.123 ----------
REQUEST URI : /
MOD DETAILS:
modFile : /home/u456264460/public_html/vqmod/xml/footer_information_fancybox.xml
id : Footer Information Fancybox
version : 1.0
vqmver : 2.1.5
author : qphoria
SEARCH NOT FOUND (ABORTING MOD): <a href="<?php echo $information['href']; ?>">