Page 1 of 1
Phoca Gallery » List Of Categories (Categories View)
Posted: 05 Jun 2011, 14:14
by patbe60
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
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 05 Jun 2011, 15:03
by patbe60
I have seen some changes in components/com_phocagallery/models/categories.php:
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('*').')';
}
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
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 05 Jun 2011, 15:23
by patbe60
Same problem then in components/com_phocagallery/models/category.php
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 07 Jun 2011, 00:16
by Jan
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
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 07 Jun 2011, 17:50
by patbe60
Thank you very much. This did solve the problem.
Regards Patrik
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 07 Jun 2011, 19:49
by infomadness
patbe60 wrote:Thank you very much. This did solve the problem.
Regards Patrik
How did you solve the problem?
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 07 Jun 2011, 20:02
by infomadness
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 don't see language column in my phocagallery tables.. can you please explain this further?
I can't see any photos in category section.. Please help.
Re: Phoca Gallery » List Of Categories (Categories View)
Posted: 07 Jun 2011, 23:18
by Jan
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