WPG2 and Lightbox not working

leslienord

Joined: 2003-09-08
Posts: 75
Posted: Sat, 2010-02-06 13:15

I'm having multiple issues with my latest install of WPG2 and WordPress 2.9.1. I'm not sure if some of the problems might be related to the server this install is on. The rel="lightbox[wpg2grid]" is being inserted into the link but it's opening another window. I am "assuming" that Lightbox works because of how it shows the themes in the admin.

I'm thinking I may have to start all over with the install of this one because of all the other issues I'm having, but I'm open to suggestions, please.

Thanks!
Leslie

 
leslienord

Joined: 2003-09-08
Posts: 75
Posted: Sat, 2010-02-06 16:27

UPDATE to this. I discovered that the WPG2 plug-in isn't inserting the tags needed into the head. Once I manually added these to the header.php I got it working again:

<script language="JavaScript" type="text/javascript"> lb_path = "http://www.domain.com/mockup/wp-content/plugins/wpg2/img/"; </script>
<script type="text/javascript" src="http://www.domain.com/mockup/wp-content/plugins/wpg2/js/prototype.js"></script>
<script type="text/javascript" src="http://www.domain.com/mockup/wp-content/plugins/wpg2/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="http://www.domain.com/mockup/wp-content/plugins/wpg2/js/lightbox.js"></script>
<link rel="stylesheet" href="http://www.domain.com/mockup/wp-content/plugins/wpg2/css/lightbox.css" type="text/css" media="screen" />