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.
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.
Attachments
cool .. i like it.
Thanks..
Thanks..
التعليمات باللغة العربية على الرابط التالي
https://www.opencartarab.com/docs
استضافة اوبن كارت العرب
https://host.opencartarab.com
http://forum.opencart.com/viewtopic.php?f=131&t=27139Luke Worsfold wrote:Hi there how to i get this to work on my site??
Great mod! It looks awesome in 1.5.1.3
Does it need to be modified to work with 1.5.2.1 ?
Thanks!
Does it need to be modified to work with 1.5.2.1 ?
Thanks!
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Qphoria wrote:Added colorbox version for v1.5.2
Thank you!!
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
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
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.
The web treats "www.domain.com" and "domain.com" as 2 different origins.
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]
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
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.
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?
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?
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
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
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Fixed Now.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
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
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']; ?>">
---------- 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']; ?>">
Who is online
Users browsing this forum: No registered users and 80 guests