mustis wrote:
where do I upload lightbox.js ??
I think this is the main-problem you had. You need to upload the files for lightbox to your webserver where CMSMS is installed, maybe some kind of subfolder (i.e. javascript) and then link to this location inside the section of your template.
[quote author=mustis link=topic=3904.msg41293#msg41293 date=1162563594
why doesent this work??
Done as it says above.
lightbox v2
cmsms 1.0.2
pipcitures (latest)
The only mistake I could find in your source-code is that you have referenced the JavaScript files in your head-section as absolute local paths, but you will need relative paths. Furthermore it seems that permissions are not set correctly.
As to your question if I can make a module out of it: It is not neccessary to do so. There are so many nice galleries for CMSMS and this is just an add-on for an existing tag. You could also get it to work with CMSMS default galleries tag with just a little tweaking of PHP code.
Regards
Nils