No image in my popup box
Posted: 18 Nov 2009, 21:48
I have installed the Phoca Gallery component version 2.5.8 into Joomla version 1.5.9 and everything works as it should when I use one of the standard Joomla templates. (JA_Purity or rhuk_milkyway)
My problem occurs when I try to use my own Joomla template. If I setup my parameters for “Detail View Settings” using any of the following methods:
1. Standard Popup Window
2. Modal popup box
3. Highslide JS
The detail view does not show an image when I click on a thumbnail. What I get is a blank box.
Is there a tag or CSS block that I need to have defined in my template that will allow Phoca Gallery to function as it does with the standard templates? I have included a copy of index.php for my template in case you need it .
My problem occurs when I try to use my own Joomla template. If I setup my parameters for “Detail View Settings” using any of the following methods:
1. Standard Popup Window
2. Modal popup box
3. Highslide JS
The detail view does not show an image when I click on a thumbnail. What I get is a blank box.
Is there a tag or CSS block that I need to have defined in my template that will allow Phoca Gallery to function as it does with the standard templates? I have included a copy of index.php for my template in case you need it .
Code: Select all
<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!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; ?>" >
<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/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/Wood2/css/styles.css" type="text/css" />
</head>
<body>
<div id="content">
<!-- This is a markup just to put the logo at the top of the page -->
<div id="logo_block">
<div class="bg"></div>
</div>
<!-- This is the USER1 position of the template -->
<div class="user1_bg">
<div id="user1">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
</div>
<div id="header">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<!-- This is the LEFT position in the template -->
<?php if($this->countModules('left')) : ?>
<div class="boxed">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php endif; ?>
<!-- All of the Joomla articals are in the component position-->
<div id="posts">
<!-- This is the TOP position in the template it is contained in the same area as the posts-->
<div class="post">
<?php if($this->countModules('top')) : ?>
<jdoc:include type="modules" name="top" style="xhtml" /><br/>
<?php endif; ?>
</div>
<div class="post">
<jdoc:include type="component" />
</div>
</div>
<div class="clearfloat"></div>
<div id="footer">
<!-- This is the footer area of the page -->
<jdoc:include type="modules" name="footer" style="xhtml"/>
</div>
</div>
</body>
</html>