Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:29:35 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155528 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Problem with 'new' module: photoalbum and Lightbox  (Read 547 times)
macsmet

Offline Offline

Posts: 234


« on: November 05, 2009, 12:04:08 PM »

Hi there all,

For a long time now I am looking  for a photoalbum module with Lightbox that works with a dropdown menu to choose from Media. I decided to give it a go with info from the forum and combined to modules: Another Image Gallery and Lightbox JS. I got a working module now but it only shows one album when I put more than one on a page.
Any idea's?
Tonight I post the whole module on the website so everyone could download and test it.

Greetings,

MacSmet
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #1 on: November 05, 2009, 02:06:18 PM »

Do you mean something like this?
http://ertlbrecher.bplaced.net/spielplatz/eggs/shuttle-landed.php (site under construction)
each page has its own image gallery, here: smooth gallery

Logged

*weg*
macsmet

Offline Offline

Posts: 234


« Reply #2 on: November 05, 2009, 03:25:21 PM »

Hi there Chio,

My module works when I put only one album on a page.
The problem starts when I put more than one album on a page: it shows only the first one.

Greetings,

MacSmet
Logged
macsmet

Offline Offline

Posts: 234


« Reply #3 on: November 05, 2009, 07:08:51 PM »

Hi there all,

First of all my mistake: it is jquery that is used in my module (and not the Lightbox JS module) to create the Lightbox effect. Read my other posts for more info.
The view.php is customized and for the module to work you must make links in your template to the jquery files located in the js folder.

Please help me to customize it further:
- make it work with more albums on one page
- make it work with assigned homefolders

Greetings,

MacSmet
Logged
Vincent

Offline Offline

Posts: 360


WWW
« Reply #4 on: November 06, 2009, 11:53:07 AM »

Hi Macsmet,

You didn't zip the file correctly. Attached the one that will install.
Secondly: I don't see the lightbox effect (didn't dig deep in it though, just had a quick look).
Also I'd suggest to name the zip file equal to the name of the module (in your case fotoalbum), that would be clearer.


Regards,
Vincent
Logged
macsmet

Offline Offline

Posts: 234


« Reply #5 on: November 06, 2009, 12:59:32 PM »

@Vincent: Oops, my mistake!
Thanks for correcting.
Module only works when jquery files are linked from within your template.

Greetings,

MacSMet

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!