Page 1 of 2

phocagallery and sh404SEF ??

Posted: 22 Jul 2008, 23:05
by techclan
Is there a plugin/extension for sh404SEF. I have a site with pretty much everything search engine friendly except phocagallery. I totally think this is an awesome component and well designed but having search engine friendly links is a must these days for certain sites....

Thanks

Re: phocagallery and sh404SEF ??

Posted: 23 Jul 2008, 21:31
by DirkMu
techclan wrote:Is there a plugin/extension for sh404SEF. I have a site with pretty much everything search engine friendly except phocagallery. I totally think this is an awesome component and well designed but having search engine friendly links is a must these days for certain sites....

Thanks
Hi techclan,

could you find anything useful? I am facing the same problem. I would like to use sh404sef but the url for the Phoca Gallery cannot be controlled by sh404sef.

Kind regards
Dirk

Re: phocagallery and sh404SEF ??

Posted: 24 Jul 2008, 20:50
by Jan
Hi, the url in Phoca Gallery is created by standard Joomla JRoute method, so there should be not a problem ???

Jan

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 07:57
by hifi
I have coded plugin for phoca gallery to sh404SEF, and it can be found:
http://joomlacode.org/gf/project/sh404_plugins/frs/

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 07:58
by hifi
Jan wrote:Hi, the url in Phoca Gallery is created by standard Joomla JRoute method, so there should be not a problem ???

Jan
sh404 can crete only either URL's with plugin or Joomla 1.0.x kind of SEF URLs (which are IMHO horrible).

But that plugin should do the trick nicely, whic is at Joomlacode.

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 10:45
by DirkMu
hifi wrote:I have coded plugin for phoca gallery to sh404SEF, and it can be found:
http://joomlacode.org/gf/project/sh404_plugins/frs/
Hi hifi,

Thanks for the component. I tested you component for sh404sef. For which Joomla and / or sh404sef version is it? I get the following error when the component is enabled:

Fatal error: Call to a member function setQuery() on a non-object in /home/muellerd/public_html/dev/components/com_sh404sef/sef_ext/com_phocagallery.php on line 42

Onl ine 42 there is a sql select 'SELECT id, title, parent_id FROM #__phocagallery_categories'. I am not familiar with php but what is the #_ for? The table you want to use is jos_phocagallery_categories. With jos_phocagallery_categories the select is working but with #__phocagallery_categories it's not.

Kind regards
Dirk

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 11:39
by hifi
Hi,

Joomla version is 1.5.4, sh404SEF version 1.0.11 build 147.

In SQL this #__ is replaced when running with prefix set in Joomla configuration. So it should work even someone wants to use different prefix than default "jos_"

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 13:58
by DirkMu
Ok. So what's wrong with my component?

Fatal error: Call to a member function setQuery() on a non-object in /home/muellerd/public_html/dev/components/com_sh404sef/sef_ext/com_phocagallery.php on line 42

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 21:24
by hifi
DirkMu wrote:Ok. So what's wrong with my component?

Fatal error: Call to a member function setQuery() on a non-object in /home/muellerd/public_html/dev/components/com_sh404sef/sef_ext/com_phocagallery.php on line 42
You have the same versions than me? I have to download that file and check it, I think I have same version on my test server now.

Re: phocagallery and sh404SEF ??

Posted: 25 Jul 2008, 23:56
by Falcon
I second that. I get the same error on my test-site when using this plug-in with sh404sef and joomla 1.5.4