Hi,
I have question how to change phoca gallery component that the reason will be like tihs:
Description
[Images]
Instead of default:
[Images]
Description
Do I have to change source code?
Regards,
Damian Mamys
description above images
-
dwainm
- Phoca Newbie

- Posts: 3
- Joined: 24 Feb 2010, 17:14
Re: description above images
Hi Damian Mamys
You will have to change the source code.
I can point you in the right direction, you will have to make structural changes to the following files:
/components/com_phocagallery/views/category/view.html.php
/components/com_phocagallery/views/category/tmpl/default.php
Dwain
You will have to change the source code.
I can point you in the right direction, you will have to make structural changes to the following files:
/components/com_phocagallery/views/category/view.html.php
/components/com_phocagallery/views/category/tmpl/default.php
Dwain
-
wajri
- Phoca Newbie

- Posts: 5
- Joined: 29 Apr 2010, 12:15
Re: description above images
Thanks DwainHi Damian Mamys
You will have to change the source code.
I can point you in the right direction, you will have to make structural changes to the following files:
/components/com_phocagallery/views/category/view.html.php
/components/com_phocagallery/views/category/tmpl/default.php
Unfortunately, I couldn't find the piece of source code that is responsible for this.
Where exactly do I have to make changes in this files - please help me if anyone knows.
Maybe someone has adapted source code ?
Best Regards,
Damian Mamys
-
imperialWicket
- Phoca Enthusiast

- Posts: 78
- Joined: 28 Feb 2010, 15:39
Re: description above images
As dwainm detailed, change /components/com_phocagallery/views/category/tmpl/default.php.
Around line 214 (I'm using the 2.7.3 Phoca Gallery) this code displays the title/description:
Move that code block above the image output (somewhere around line 119 or so), and you should be in business.
Around line 214 (I'm using the 2.7.3 Phoca Gallery) this code displays the title/description:
Code: Select all
if ( $this->tmpl['detailwindow'] == 5) {
if ($this->tmpl['displaytitleindescription'] == 1) {
echo '<div class="highslide-heading">';
echo $value->title;
echo '</div>';
}
if ($this->tmpl['displaydescriptiondetail'] == 1) {
echo '<div class="highslide-caption">';
echo $value->description;
echo '</div>';
}
}-
wajri
- Phoca Newbie

- Posts: 5
- Joined: 29 Apr 2010, 12:15
Re: description above images
OK, Thank you very much I've done it! 