creating a subcategories from UCP / 2.6.0

Phoca Gallery - image gallery extension
chenem
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Jan 2010, 10:36

Re: creating a subcategories from UCP / 2.6.0

Post by chenem »

hi.
I just replace all JRequest::getVar('Itemid', 1, 'get', 'int') to JRequest::getVar('Itemid', 1, 'default', 'int') in the directory : com_phocagallery/views/user/tmpl

thanks you component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
rachko69
Phoca Member
Phoca Member
Posts: 11
Joined: 06 Oct 2009, 16:53

Re: creating a subcategories from UCP / 2.6.0

Post by rachko69 »

I installed 2.6.2 and everything is OK. Thank chenem, thanks Jan. :)
Jan in file ....com_phocagallery\views\user\tmpl\default_subcategories.php
in 455 row --- echo '<p>'.JText::_('Main category not created').'</p>';
I think that this is not language frendly :|
best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Hi, what you mean with:
I think that this is not language frendly
?
If you find Phoca extensions useful, please support the project
mwalford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 26 May 2010, 04:20

Re: creating a subcategories from UCP / 2.6.0

Post by mwalford »

I too am seeing this error on a new joomla site with the latest Phocagallery. It seems to occur depending on how you navigat to the category.

If your joomla menu is pointing to a phocagallery category as the "menu type" then it works fine with SEF turned on.
If your joomla menu is pointing to a blog category or an article with a gallery embedded then it doesn't work with SEF turned on.


The example I am working with is http://www.pipeorgans.co.nz
***If you click "Media" it goes to a category/blog layout with two articles. One article is a phocagallery and the other is a normal article. Viweing photos by navigating this way doesn't work.

***If you hover "Media" and then Click "Photographs" it takes you direct to the phocagallery and viewing photos works.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Hi, I see only link to component :-(
If you find Phoca extensions useful, please support the project
mwalford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 26 May 2010, 04:20

Re: creating a subcategories from UCP / 2.6.0

Post by mwalford »

My apologies. I removed the link because it was giving the 500 error.

I have changed the link back so you can now see the problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Seem like the error is rendered here:

8 JError->raiseError() /home/ivatonco/public_html/tochnovreme/libraries/joomla/application/component/controller.php:470

Maybe some problem with getting info about the controller - maybe the sef will cut the info about this :-(

:idea:

Jan
If you find Phoca extensions useful, please support the project
mwalford
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 26 May 2010, 04:20

Re: creating a subcategories from UCP / 2.6.0

Post by mwalford »

Thank you very much for looking at the problem. If SEF is disabled the problem goes away. In the meantime I think I will disable the gallery and go back to direct links to the component like before. In time it may be fixed.

Once again, thanks for looking into the problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply