Page 1 of 1

lightbox problem with 145r401 version

Posted: Tue 16. Mar 2010, 10:41
by dbaron
Hi all

I just install the last version of phpwcms: 145r401
I try to use lightbox with image in a image CP or image <div> CP but nothing work :(

Here my config in my template:
JS library: MooTools 1.2
always load: checked
use Google Ajax Lib: unchecked
load frontend.js: checked

In the page, I have the followed code:

Code: Select all

<script src="template/inc_js/mootools/mootools-release-1.11.js" type="text/javascript"></script>
  <script src="template/inc_js/frontend.js" type="text/javascript"></script>
  <link href="template/lib/slimbox/slimbox.css" rel="stylesheet" type="text/css" media="screen" />
  <script type="text/javascript" src="template/lib/slimbox/slimbox.mootools-1.2.js"></script>
  <script src="template/inc_js/mootools/SimpleTabs.js" type="text/javascript"></script>

  <script src="template/inc_js/tabsinit.js" type="text/javascript"></script>
but I don't have mootools folder in inc_js forder :(

Did I do something wrong?

Thanks for your help

Dominique

Re: lightbox problem with 145r401 version

Posted: Tue 16. Mar 2010, 10:52
by flip-flop
It canĀ“t work. You are using the SimpleTabs Mootools v1.1.

Please change SimpleTabs to MooTools v1.2

Knut

Re: lightbox problem with 145r401 version

Posted: Tue 16. Mar 2010, 12:49
by dbaron
Thanks flip-flop

Do I need to add it separately now?

Re: lightbox problem with 145r401 version

Posted: Tue 16. Mar 2010, 13:27
by flip-flop
Thats the best way.

- Compare the old css file with new css file.
- Compare the your old template with the new one.

(And kill the old JS file).

Knut

Re: lightbox problem with 145r401 version

Posted: Wed 17. Mar 2010, 07:06
by dbaron
Thanks flip-flop, it works like a charm

Dominique