Adjusting Layout Question

Phoca Gallery - image gallery extension
Azounstone
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 08 Jul 2009, 20:25

Adjusting Layout Question

Post by Azounstone »

Hi,

Great product! I would like to adjust the amount of white space shown on each page and would be grateful if you can advise how I do this? The image below shows the area between the arrows that I wish to adjust:

Image

Many thanks for your assistance with this.

Andy
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Adjusting Layout Question

Post by caro84g »

Hi,

I think you could change this with a template override.
Copy the file components/com_phocagallery/views/category/tmpl/default.php to templates/yourtemplate/html/com_phocagallery/category/default.php

And change it there.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Azounstone
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 08 Jul 2009, 20:25

Re: Adjusting Layout Question

Post by Azounstone »

Many thanks for such a quick response :)

I have copied the file over as you suggested but am unsure what it is that I am meant to be changing in order to reduce the white space? Our site is also giving an error now when trying to view the gallery:

Warning: Division by zero in /home/az2ocom/public_html/site/templates/yoo_blueprint/html/com_phocagallery/category/default.php on line 35

Regards

Andy
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Adjusting Layout Question

Post by caro84g »

Hi,

to remove the error, could you try to rename default.php to default1.php, this way the override doesn't work

I don't know exactly what lines you have to change to remove the white space. You have to try to read the PHP and find out what defines the white spaces (probably some <br/> or <tr> ). This requires some knowledge of HTML / php (more HTML, 'cause you need to be looking at the output).

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Azounstone
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 08 Jul 2009, 20:25

Re: Adjusting Layout Question

Post by Azounstone »

I have renamed the file as suggested and this has indeed fixed the error message.

With regards to removing some of the whitespace I have looked through the file but must admit I am not sure what to remove to adjust that area.

If anyone reading this thread is able to tell me exactly what I need to change I would be extremely grateful.

Thanks

Andy
Post Reply