Gallery description

Phoca Gallery - image gallery extension
mutala
Phoca Member
Phoca Member
Posts: 22
Joined: 08 Mar 2010, 19:21

Gallery description

Post by mutala »

So I've got a few sub-categories, and I'd like their description shown in the category view. Like image description. Is that possible?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Gallery description

Post by Jan »

Hi, if you mean displaying description below the thumbnails:
https://www.phoca.cz/templatedemo/phoca- ... escription

you can enable it in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Gallery description

Post by siddan »

If I understand you correctly,,, then there is no option to display description for subategories in a category view display.
I only know you can display description under categories when you view the main page of Phocagallery
For this you have to link to Phoca gallery Category List Layout
mutala
Phoca Member
Phoca Member
Posts: 22
Joined: 08 Mar 2010, 19:21

Re: Gallery description

Post by mutala »

Jan, I want the description just like that under the pics, but for categories.

And siddan, I have my gallery front page as one user's cat, in which are all the (sub)categories. And I'd like to have description shown for these.

Thanks already mates.
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Gallery description

Post by siddan »

Hi, I couldn´t reply sooner, was accused of spamming :)

Do you only have one category shown on the front page?
Cus you can enable to also show subcategories with its description, it just will not tell you that they are actually subcategories
mutala
Phoca Member
Phoca Member
Posts: 22
Joined: 08 Mar 2010, 19:21

Re: Gallery description

Post by mutala »

siddan wrote:Hi, I couldn´t reply sooner, was accused of spamming :)

Do you only have one category shown on the front page?
Cus you can enable to also show subcategories with its description, it just will not tell you that they are actually subcategories

How can I do that?
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Gallery description

Post by siddan »

You have an option to display sub categries Yes or No

8th option from the top in Global Configuration
And the 3rd option you can select how to display the Categories, with detail information

https://www.phoca.cz/documents/2-phoca-galle ... egory_List_
mutala
Phoca Member
Phoca Member
Posts: 22
Joined: 08 Mar 2010, 19:21

Re: Gallery description

Post by mutala »

siddan wrote:You have an option to display sub categries Yes or No

8th option from the top in Global Configuration
And the 3rd option you can select how to display the Categories, with detail information

https://www.phoca.cz/documents/2-phoca-galle ... egory_List_

And is there something to manage what I see there? Like, I don't really want all this info "viewed, image count" etc. And if I could get the height to match. :D

Hope I'm not asking stupid things.

Thanks again mate. :)
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Gallery description

Post by siddan »

Hehe I was waiting for that question :D

Have a look at this thread. Needs a little hacking in the core files, though.
https://www.phoca.cz/forum/viewtopic.php?f=1&t=7824

But if you are not familiar with php you can comment out whole lines of code with //
Just place "//" after echo //
mutala
Phoca Member
Phoca Member
Posts: 22
Joined: 08 Mar 2010, 19:21

Re: Gallery description

Post by mutala »

Can I just copy something like this:

Code: Select all

echo '<div style="margin-right:5px;margin-left:'.$this->tmpl['imagewidth'].'px;">';
		if ($this->categories[$i]->description != '') {
		   echo '<div>'.$this->categories[$i]->description.'</div><p>&nbsp;</p>';
		}
to category/default.php? If so, then where?

Thanks again.
Post Reply