Hi,
Can some-one tell me how I can open an website using fancybox, when I click on a link in a information page?
I want to let it popup in fancybox, instead of opening new browser window.
New member
what you need to do, is edit the information module, add the fancybox class id to the <a href links.
Then the information page at catalog/view/theme/yourtheme/template/information/information.tpl needs to be edited to remove the header, footer, column data and you may also need to remove the content div id's, class names etc, so it is basically just left with raw data.
Now when someone clicks a link in the information module, it will trigger the fancy box via the class id and display the just the text.
Follow how fancy box is set up on the product pages for the images, and use the same method for your information links.
Then the information page at catalog/view/theme/yourtheme/template/information/information.tpl needs to be edited to remove the header, footer, column data and you may also need to remove the content div id's, class names etc, so it is basically just left with raw data.
Now when someone clicks a link in the information module, it will trigger the fancy box via the class id and display the just the text.
Follow how fancy box is set up on the product pages for the images, and use the same method for your information links.
Hmm ok... bit to much for me in coding terms. Can you do it if I pay you for itSXGuy wrote:what you need to do, is edit the information module, add the fancybox class id to the <a href links.
Then the information page at catalog/view/theme/yourtheme/template/information/information.tpl needs to be edited to remove the header, footer, column data and you may also need to remove the content div id's, class names etc, so it is basically just left with raw data.
Now when someone clicks a link in the information module, it will trigger the fancy box via the class id and display the just the text.
Follow how fancy box is set up on the product pages for the images, and use the same method for your information links.

New member
Tried it, but did not work. Opens in the same window, no popup.Qphoria wrote:here's more examples:
http://forum.opencart.com/viewtopic.php ... 82#p165896
I think i removed some code somewhere ... will try to compare the scripts this weekend.
New member
Who is online
Users browsing this forum: No registered users and 11 guests