Page 1 of 2
					
				How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 1:02 pm
				by SCM
				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???
 
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 2:11 pm
				by tyman00
				Check out the Downloads Forge for a module named Lightbox. It will simplify your job 

 
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 2:26 pm
				by SCM
				ok now it was sucessfull
but what are the further steps?? the help file isn't really useful 

 
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 2:33 pm
				by tyman00
				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.
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 2:45 pm
				by SCM
				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??
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 4:24 pm
				by tyman00
				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.
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 4:33 pm
				by SCM
				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
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 4:37 pm
				by tyman00
				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}
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 4:39 pm
				by SCM
				hmm I used rel=lightbox[album1]
for example. that works too, but ok thx, i will try name
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Fri Mar 13, 2009 5:27 pm
				by SCM
				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 

 
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Sun Jul 26, 2009 7:13 am
				by mel
				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
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Sun Jul 26, 2009 10:02 am
				by fatlizard
				
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Tue Aug 04, 2009 5:46 pm
				by Raboo
				Regarding the "prev" and "next" images not showing.
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; }
Should be
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; }
Please note the "/" after the "url("
 
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Tue Aug 04, 2009 6:09 pm
				by Dr.CSS
				That only has to be there if you don't have the base href in the head...
			 
			
					
				Re: How integrate lightbox in CMS?
				Posted: Tue Aug 04, 2009 6:42 pm
				by SCM
				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??