Hello, everyone!
How to set custom title for Categories in Phoca Gallery, but without showing in mod_phocagallery_menu ?
For example:
I have product category - Smartphones, and category look like this:
Products - Smartphones (and this is the title of the category page). Products is index of Phoca Gallery. In mod_phocagallery_menu is also show only: Smartphones, and lets say subcategories after move mouse over it.
I want to set price range 300 to 500 dollars, and want when user is in category to see in title: Products - Smartphones - Price range: 300$ to 500$, but i NOT want this to show in mod_phocagallery_menu.
How do i achieve that ?
How to set custom title for Categories?
-
mishef
- Phoca Member

- Posts: 19
- Joined: 04 Jul 2011, 14:20
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to set custom title for Categories?
Hi, you can set the title formatting in menu link parameters (to display only menu title or menu title plus category title)
To set it for your needs, I think, you need to customize in php
e.g. category view:
components/com_phocagallery/views/category/tmpl/ ...
Jan
To set it for your needs, I think, you need to customize in php
e.g. category view:
components/com_phocagallery/views/category/tmpl/ ...
Jan
If you find Phoca extensions useful, please support the project
-
mishef
- Phoca Member

- Posts: 19
- Joined: 04 Jul 2011, 14:20
Re: How to set custom title for Categories?
Ok. How to call "Geo tagging Title" for example and place it next to category title.
In default.php i found where category title is:
<div class="componentheading'.$this->params->get( 'pageclass_sfx' ).'">'.$heading.' HERE I WANT TO PLACE Geo Tagging Title</div>'. "\n";
In this way if i type my text in Geo Tagging Title imput field i will get what i want for different categories.
Thanks.
In default.php i found where category title is:
<div class="componentheading'.$this->params->get( 'pageclass_sfx' ).'">'.$heading.' HERE I WANT TO PLACE Geo Tagging Title</div>'. "\n";
In this way if i type my text in Geo Tagging Title imput field i will get what i want for different categories.
Thanks.
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to set custom title for Categories?
Hi, you need to load the geo tagging title from database (not sure which geo tagging you for now mean?) but if it is included in database, such needs to be loaded from database, if it is included in image, it should be extracted from image.
Jan
Jan
If you find Phoca extensions useful, please support the project