Hello
After Upgrading to PG 3.0.RC5 I don't see any image when choosing Phoca Gallery » List Of Categories (Categories View) in the menu options. I only can see images when selecting a specific category.
Does anybody have the same problem?
Regards Patrik
Phoca Gallery » List Of Categories (Categories View)
-
patbe60
- Phoca Member

- Posts: 20
- Joined: 09 Feb 2011, 16:22
-
patbe60
- Phoca Member

- Posts: 20
- Joined: 09 Feb 2011, 16:22
Re: Phoca Gallery » List Of Categories (Categories View)
I have seen some changes in components/com_phocagallery/models/categories.php:
As soon as I uncomment the following code:
the displaing of categories view works fine. As far as I can see the problem only happens, when categories in the categories view have subcategories. May be there is a problem in the code above? I don't have any idea about php.
Regards Patrik
As soon as I uncomment the following code:
Code: Select all
// Filter by language
$whereLang = '';
if ($this->getState('filter.language')) {
$whereLang = ' AND cc.language IN ('.$this->_db->Quote(JFactory::getLanguage()->getTag()).','.$this->_db->Quote('*').')';
}Regards Patrik
-
patbe60
- Phoca Member

- Posts: 20
- Joined: 09 Feb 2011, 16:22
Re: Phoca Gallery » List Of Categories (Categories View)
Same problem then in components/com_phocagallery/models/category.php
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery » List Of Categories (Categories View)
Hi, if your categories and images were created in previous development versions, they don't include the information about language, the categories and images needs to be created newly or the info about the language should be added manually in the database, the language column should be set to "*" as all languages.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
patbe60
- Phoca Member

- Posts: 20
- Joined: 09 Feb 2011, 16:22
Re: Phoca Gallery » List Of Categories (Categories View)
Thank you very much. This did solve the problem.
Regards Patrik
Regards Patrik
-
infomadness
- Phoca Member

- Posts: 14
- Joined: 07 Jun 2011, 17:24
Re: Phoca Gallery » List Of Categories (Categories View)
How did you solve the problem?patbe60 wrote:Thank you very much. This did solve the problem.
Regards Patrik
-
infomadness
- Phoca Member

- Posts: 14
- Joined: 07 Jun 2011, 17:24
Re: Phoca Gallery » List Of Categories (Categories View)
I don't see language column in my phocagallery tables.. can you please explain this further?Jan wrote:Hi, if your categories and images were created in previous development versions, they don't include the information about language, the categories and images needs to be created newly or the info about the language should be added manually in the database, the language column should be set to "*" as all languages.
Jan
I can't see any photos in category section.. Please help.
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery » List Of Categories (Categories View)
Hi, you need to see the database columns, or to add the images into the system again, there were some changes in the development version (the language feature was finished in last RC), so installing the gallery newly will solve this problem.
Jan
Jan
If you find Phoca extensions useful, please support the project