Recent Topics

1 Feb 16, 2010 20:54    

My b2evolution Version: 3.3.3

I am trying to group images using the Lightbox 1.3 plugin. I am using

rel="lightbox[groupname]"

which does not work. However, non grouped images do show up in the lightbox.

Can someone kindly tell me if what I am trying to do is even supported on 3.3.3? According to the plugin info, grouping is supported. If anyone has this working, please tell me exactly what you did to make this work.

For example, in the plugin settings, did you check the box to use Lightbox2?

I am lost with this....

2 Feb 16, 2010 22:10

Hi

Not sure what the problem is with your lightbox as the group thing seems to work on mine. I hadn't used the group function until tonight so I put together a test page:

http://www.leeturner.org/index.php/test-lightbox-page

See if that works for you. I have the 'Use Lightbox 2' setting selected.

Can you post a link to your site where this isn't working?

Cheers
L

3 Feb 17, 2010 02:05

Hi and thanks for the reply. I am using b2Evo on a work intranet site so I can't post a link, :(

I checked your site and it works perfectly, not sure what is going on on my end. In the plugin settings I have the checkbox checked for "Use Lightbox2".

I checked the source of my page and all the required js and css is being loaded correctly. I am using rel="lightbox[test]" on several images and they all open in a separate window. When I remove [test] image grouping and uncheck "Use Lightbox2", then the lightbox 1 works fine. Very puzzling.

Any suggestions?

Also, do you have "Apply rendering" set to "opt-out"?

4 Feb 17, 2010 02:18

can any of this be causing a conflict?

	<!-- headlines: -->
	<script type="text/javascript" src="/rsc/js/jquery.min.js"></script>
	<script type="text/javascript" src="/rsc/js/functions.js"></script>
	<script type="text/javascript" src="/rsc/js/rollovers.js"></script>
	<script type="text/javascript" src="/rsc/js/hoverintent.js"></script>

	<script type="text/javascript" src="/rsc/js/superfish.js"></script>
	<script type="text/javascript">
	/* <![CDATA[ */
		
		jQuery( function() {
			jQuery("ul.sf-menu").superfish({
	            delay: 500, // mouseout
	            animation: {opacity:"show",height:"show"},
	            speed: "fast"
	        });
		} )
	/* ]]> */
	</script>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			jQuery('#sidebar div.widget_plugin_sorted_bloglist').removeClass('widget_core_colls_list_public')
		})
	</script>

5 Feb 17, 2010 10:39

Hi

I don't use the rendering option of the lightbox plugin as I am adding the rel="lightbox" to the code directly. I have no idea if the code could be causing a conflict. The best thing you can do is to disable all plugins other than the lightbox plugin and see if it works then. If it does then enable the plugins one at a time to see if there is a conflict.

Just to be sure, you are putting the rel="lightbox[group]" on the <a href> and not the <img> tag aren't you?

Cheers
L

6 Feb 17, 2010 21:27

I tracked down the culprit and it is jquery.min.js in the rsc/js folder

Now this is a mystery to me since that file seems to be needed for the b2evo admin screens to work correctly. After I temporarily renamed that file, the lightbox2 then works fine...but now my admin screens are not formatted properly and some of the menu items don't work correctly..

So bizarre that I am having this issue.
stumped...

7 Feb 18, 2010 10:58

Glad that you have narrowed it down. Sorry I can't help to narrow it down further for you to see why it is a problem in the first place.

L

9 Feb 18, 2010 18:14

Funny that you mentioned colorbox. I added this to my b2evo blog today and it works and looks great! Lot's of customization options..

10 Feb 23, 2010 09:41

you may want to check the versions of both jQuery instances. Chances are one of them doens't work niceky with Lightbox, especially if the Lightbox library isn't updated.


Form is loading...