Page 1 of 1

Not the entire subcategory name is displayed

Posted: 24 Sep 2008, 16:13
by ihtus
Hello! First, I wanna say THANKS for that great photo gallery!

Below is a simple structure of the phoca gallery:
"category name" - parent category
"long subcategory name" - subcategory name
Image
After i link a menu item to the gallery as Phoca Gallery Category List Layout, the category folder is displayed as a small icon, and no metter how long is the name of the parent category is - it is displayed entirely always!
Image

But if i create a subcategory with a long name, the icon of the cubcategory is not small (as for parent category), but bigger, and here the problem i have: the name of the subcategory is not displayed entirely! How can i get displayed all the name of the subcategory? Maybe i could get the list of the subcategories items of the gallery to be displayed the same as the list of the parent categories are displayed? How can i make it? I mean in this way the entire name will by displayed when the folder icon of the subcategory item will be small, not big!
Image



Please help me someone!
Thanks in advance! God bless you!

Re: Not the entire subcategory name is displayed

Posted: 24 Sep 2008, 16:28
by caro84g
Hi,

You are dealing with 2 'views' (menu item types).

In the first one: the categories view, the default setting is to display small thumbnails. You can set this in the Global parameters.https://www.phoca.cz/documents/2-phoca-g ... -menu-item

In the second one: this is the category layout view. This view always appears when you click on a category (no matter in what view that is). In this view you can set the number of characters in the name. I don't know what happens when the box is smaller than the name. You can also select the size of the name. Both of those settings you have to set in Component Parameters (in Menu >> Your Menu >> Your Phoca Gallery Menu item).

It is possible to display the subcategories as a category list, though it is only possible from a direct menu link. You have 2 options: you can use the 'hide' function (again in Component Parameters) or you can use the Phoca Gallery Plugin. (Possibility of selecting a top category in the categories view is already on the feature request list, I thought)

I hope I explained it sufficient enough to you. If it's not clear, read the user manual once again: https://www.phoca.cz/documentation/index ... -component

Good luck!

Carolien

Re: Not the entire subcategory name is displayed

Posted: 25 Sep 2008, 08:33
by ihtus
caro84g wrote: ...
It is possible to display the subcategories as a category list, though it is only possible from a direct menu link. You have 2 options: you can use the 'hide' function (again in Component Parameters) or you can use the Phoca Gallery Plugin. (Possibility of selecting a top category in the categories view is already on the feature request list, I thought)
...
Thank you caro84g for your answer!
But could you please give some details for the quoted text?
1. How can i make the subcategory list to be displayed as category list from direct menu link?
2. How to use 'hide' function (again in Component Parameters) ? Where is this function?
3. What parameters of plugin should i use?

Thanks again in advance!

Re: Not the entire subcategory name is displayed

Posted: 25 Sep 2008, 09:11
by caro84g
Hi,

1&2: create a menu item with the type 'categories view'. Go to component parameters and look up the 'hide categories' parameter (in the categories view settings). Enter the category-id's you want to hide (separated with a semicolon (;) (which is all except the ones you want to show). For more info see: https://www.phoca.cz/documents/2-phoca-g ... -menu-item

3: download the phocagallery plugin, install and activate it
Create an article with the plugin code of the categories you want to show.
Code to show 1 category: {phocagallery view=categories|categoryid=3}
For more codes see the Phoca Gallery Plugin documentation: https://www.phoca.cz/documentation/index ... ery-plugin
and Phoca Gallery Plugin demo: https://www.phoca.cz/phocagallery/demo/i ... ery-plugin
And create a menu-item that displays this article.

Carolien