We created a simple custom template and wanted to use a gallery extension (now we are using simple image gallery) to display images with a lightbox.
The joomla version is 2.5.6 and Simple Image Gallery 2.2.
The plugin itself seams to work, but it simply not shows a lightbox when clicking on a thumbnail. It just opens the image in a new tab.
With the default atomic template the lightbox works. It's a problem with our custom template we suppose. As the template only consists of the templateDetails.xml, index.php, template.css and a few images, the problem must either be in our index.php or in some joomla backend settings.
Here is our index.php:
Code: Select all
<?php
//No direct access.
defined('_JEXEC') or die;
JHtml::_('behavior.framework', true);
$app = JFactory::getApplication();
?>
<?php echo '<!DOCTYPE html>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc::include type "head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="head">
<jdoc:include type="modules" name="header" style="xhtml" />
</div><!--#head-->
<div id="content">
<div id="menu">
<jdoc:include type="modules" name="top" style="xhtml" />
</div><!--#menu-->
<div id="component">
<jdoc:include type="component" style="xhtml" />
</div><!--#component-->
</div><!--#content-->
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml" />
</div><!--#footer-->
</div><!--#wrapper-->
</body>
</html>
regards
videl