How integrate lightbox in CMS?
How integrate lightbox in CMS?
i would like to use lightbox (http://www.huddletogether.com/projects/lightbox/) in one of my pages managed with the cms.
but i don't know how to integrate this. can anybody help pls???
but i don't know how to integrate this. can anybody help pls???
Re: How integrate lightbox in CMS?
Check out the Downloads Forge for a module named Lightbox. It will simplify your job 

If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: How integrate lightbox in CMS?
ok now it was sucessfull
but what are the further steps?? the help file isn't really useful
but what are the further steps?? the help file isn't really useful

Last edited by SCM on Fri Mar 13, 2009 2:29 pm, edited 1 time in total.
Re: How integrate lightbox in CMS?
I've run into issues with the XML for CGExtensions before too. Try downloading the ZIP package and FTPing it to the /modules folder. Then go into the Modules page and install it.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: How integrate lightbox in CMS?
ah yes thanks, now it works
but then i have a second question:
how can i delete the linkt in lightbox2:
click here to download the picutre
and why is the prev and previous image missing in my lightbox? in which directory do i have to store these files??
but then i have a second question:
how can i delete the linkt in lightbox2:
click here to download the picutre
and why is the prev and previous image missing in my lightbox? in which directory do i have to store these files??
Re: How integrate lightbox in CMS?
I believe you will have to modify the template/javascript in the /modules/lightbox directory.
As far as the prev/next links. They should show up when you hover over the image. If they do not you have not properly setup your {Lightbox} call... be sure to read the help on that.
As far as the prev/next links. They should show up when you hover over the image. If they do not you have not properly setup your {Lightbox} call... be sure to read the help on that.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: How integrate lightbox in CMS?
hmm yes i did that
but i dont know why this is needed
{LightBox image='imagefile.gif'} - Repeat as many times as necessary to create image popups
but i dont know why this is needed
{LightBox image='imagefile.gif'} - Repeat as many times as necessary to create image popups
Re: How integrate lightbox in CMS?
You didn't read it all of the help then...
"(optional) name="" - Specify a name for the rel link. This can be used to group images together and to allow paging back and forth between them"
Here is what you need: {Lightbox image="John.jpg" name="family"}{Lightbox image="Jane.jpg" name="family}
"(optional) name="" - Specify a name for the rel link. This can be used to group images together and to allow paging back and forth between them"
Here is what you need: {Lightbox image="John.jpg" name="family"}{Lightbox image="Jane.jpg" name="family}
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: How integrate lightbox in CMS?
hmm I used rel=lightbox[album1]
for example. that works too, but ok thx, i will try name
for example. that works too, but ok thx, i will try name
Re: How integrate lightbox in CMS?
ok now i used the following code:
{LightBox image='/uploads/images/gallery/Rehbock.jpg' name="Rehbock"}
{LightBox image='/uploads/images/gallery/Rehbock2.jpg' name="Rehbock"}
and in the header of the page i put:
{LightBox action='css'} {LightBox action='js'}
but nevertheless the next/prev aren't there
{LightBox image='/uploads/images/gallery/Rehbock.jpg' name="Rehbock"}
{LightBox image='/uploads/images/gallery/Rehbock2.jpg' name="Rehbock"}
and in the header of the page i put:
{LightBox action='css'} {LightBox action='js'}
but nevertheless the next/prev aren't there

Re: How integrate lightbox in CMS?
Hi,
Still have same problem. But I noticed that my log are full of request like :
Required but not found URLs (HTTP code 404) : /fr/contact/modules/LightBox/js/lightbox.js
It's definetly a problem with url, but I dont know why.
I use mod_rewrite. {LightBox action='css'} {LightBox action='js'} are located in of in my template.
Sorry for SCM if it's not the same issue,
Thanks
Mel
Still have same problem. But I noticed that my log are full of request like :
Required but not found URLs (HTTP code 404) : /fr/contact/modules/LightBox/js/lightbox.js
It's definetly a problem with url, but I dont know why.
I use mod_rewrite. {LightBox action='css'} {LightBox action='js'} are located in of in my template.
Sorry for SCM if it's not the same issue,
Thanks
Mel
Version 1.6-MLE
Re: How integrate lightbox in CMS?
Regarding the "prev" and "next" images not showing.
Edit the Lightbox/css/lightbox.css
Should be
Please note the "/" after the "url("
Edit the Lightbox/css/lightbox.css
Code: Select all
#prevLink:hover, #prevLink:visited:hover { background: url(modules/LightBox/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(modules/LightBox/images/nextlabel.gif) right 15% no-repeat; }
Code: Select all
#prevLink:hover, #prevLink:visited:hover { background: url(/modules/LightBox/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/modules/LightBox/images/nextlabel.gif) right 15% no-repeat; }
Re: How integrate lightbox in CMS?
That only has to be there if you don't have the base href in the head...
Re: How integrate lightbox in CMS?
the / in front of the url doesn't work for my page. it only works if i use the absolute link (http://www.....)
but why??
but why??