Post by uwe_kwigx » Thu Jan 14, 2016 11:53 pm

Hello,
i just downloaded Lightbox and created a new folder in my "jquery" folder (which already existed because of some other scripts).

Its located in "catalog/view/javascript/jquery/lightbox"

I then downloaded the header.tpl from "catalog/view/theme/default/template/common" and pasted this line

Code: Select all

<link href="catalog/view/javascript/jquery/lightbox/dist/css/lightbox.css" rel="stylesheet">
between </div> and <?php } ?> as the second last row. Its in <body> tag.

And the other one

Code: Select all

<script src="catalog/view/javascript/jquery/lightbox/dist/js/lightbox.js"></script>
right under some other <script> and <link> where also <script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script> was located. Its in the <head> tag.

I then uploaded everything and i cannot get it working with the given code

Code: Select all

<a href="images/image-1.jpg" data-lightbox="image-1" data-title="My caption">Image #1</a>
Any ideas?
Last edited by uwe_kwigx on Fri Jan 15, 2016 5:17 pm, edited 1 time in total.

Newbie

Posts

Joined
Fri Aug 28, 2015 5:22 pm

Post by viethemes » Fri Jan 15, 2016 12:04 am

Could you provide your site URL, so we can take a look at the problem closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by uwe_kwigx » Fri Jan 15, 2016 12:07 am

viethemes wrote:Could you provide your site URL, so we can take a look at the problem closer?
It's http://www.kwigx.com/test

Newbie

Posts

Joined
Fri Aug 28, 2015 5:22 pm

Post by uwe_kwigx » Fri Jan 15, 2016 4:32 pm

push :-[

Newbie

Posts

Joined
Fri Aug 28, 2015 5:22 pm
Who is online

Users browsing this forum: No registered users and 27 guests