Custom template requisites for using phoca gallery?

Phoca Gallery - image gallery extension
jinavar1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2012, 03:55

Custom template requisites for using phoca gallery?

Post by jinavar1 »

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
jinavar1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2012, 03:55

Re: Custom template requisites for using phoca gallery?

Post by jinavar1 »

Hey... a really do need this working... i could try a loot of things, but i dont have many time. So if someone knows anything about this, i'll take the knowledge gratefully
jinavar1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2012, 03:55

Re: Custom template requisites for using phoca gallery?

Post by jinavar1 »

I found the problem... so i found the template requisites.

This a template that should support well phoca-gallery:

<!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>
<jdoc:include type="head" />
</head>

<body>
<jdoc:include type="component" />
</body>
</html>


The requisites are the 2 lines in red are the requisites. I missed the first one.

You can mark this topic as "Solved"

Thanks anyway
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Custom template requisites for using phoca gallery?

Post by reko »

thx for posting your solution! just in case you don't know it: http://docs.joomla.org/Creating_a_basic ... !_template

- solved
Post Reply