Custom template requisites for using phoca gallery?
Posted: 16 Apr 2012, 04:48
Hi,
im trying to make phoca gallery work properly on my own custom template. The problems are: images are displayed in one column instead of three AND i cant get any js plugin working (like shadowbox or Highslide JS). Things DO work if i use any preinstalled joomla template.
You may say "your template is broken, use another template". The thing is i want to use my own template, out of the question.
This happens even if i make a clean joomla install and install ONLY the phoca gallery plugin. So its a template issue. Happens even if im not using js, nor css.
So, let me get to the point with a simple question:
If i use a nearly empty template... let's say, something like this:
<?php defined('_JEXEC') or die;
JHtml::_('behavior.framework', true);
?>
<!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">
<head>
</head>
<body>
<jdoc:include type="component" />
</body>
</html>
Should phoca gallery work properly?
If not, what are the template requisites for getting phoca gallery to work?
Thats all! Thanks
José Ignacio
Addtional information:
Im using PHP 5+, Phoca Gallery 3.2, Joomla! 2.5
im trying to make phoca gallery work properly on my own custom template. The problems are: images are displayed in one column instead of three AND i cant get any js plugin working (like shadowbox or Highslide JS). Things DO work if i use any preinstalled joomla template.
You may say "your template is broken, use another template". The thing is i want to use my own template, out of the question.
This happens even if i make a clean joomla install and install ONLY the phoca gallery plugin. So its a template issue. Happens even if im not using js, nor css.
So, let me get to the point with a simple question:
If i use a nearly empty template... let's say, something like this:
<?php defined('_JEXEC') or die;
JHtml::_('behavior.framework', true);
?>
<!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">
<head>
</head>
<body>
<jdoc:include type="component" />
</body>
</html>
Should phoca gallery work properly?
If not, what are the template requisites for getting phoca gallery to work?
Thats all! Thanks
José Ignacio
Addtional information:
Im using PHP 5+, Phoca Gallery 3.2, Joomla! 2.5