Gallery description
-
mutala
- Phoca Member

- Posts: 22
- Joined: 08 Mar 2010, 19:21
Gallery description
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?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Gallery description
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
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

- Posts: 40
- Joined: 08 Aug 2009, 16:37
Re: Gallery description
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
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

- Posts: 22
- Joined: 08 Mar 2010, 19:21
Re: Gallery description
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.
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

- Posts: 40
- Joined: 08 Aug 2009, 16:37
Re: Gallery description
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
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

- Posts: 22
- Joined: 08 Mar 2010, 19:21
Re: Gallery description
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

- Posts: 40
- Joined: 08 Aug 2009, 16:37
Re: Gallery description
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_
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

- Posts: 22
- Joined: 08 Mar 2010, 19:21
Re: Gallery description
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.
Hope I'm not asking stupid things.
Thanks again mate.
-
siddan
- Phoca Member

- Posts: 40
- Joined: 08 Aug 2009, 16:37
Re: Gallery description
Hehe I was waiting for that question
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 //
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

- Posts: 22
- Joined: 08 Mar 2010, 19:21
Re: Gallery description
Can I just copy something like this:
to category/default.php? If so, then where?
Thanks again.
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> </p>';
}Thanks again.