phocagallery and sh404SEF ??

Phoca Gallery - image gallery extension
techclan
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Jul 2008, 07:14

phocagallery and sh404SEF ??

Post 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
DirkMu
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Jul 2008, 17:12

Re: phocagallery and sh404SEF ??

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocagallery and sh404SEF ??

Post by Jan »

Hi, the url in Phoca Gallery is created by standard Joomla JRoute method, so there should be not a problem ???

Jan
If you find Phoca extensions useful, please support the project
hifi
Phoca Member
Phoca Member
Posts: 25
Joined: 25 Jul 2008, 07:55

Re: phocagallery and sh404SEF ??

Post by hifi »

I have coded plugin for phoca gallery to sh404SEF, and it can be found:
http://joomlacode.org/gf/project/sh404_plugins/frs/
hifi
Phoca Member
Phoca Member
Posts: 25
Joined: 25 Jul 2008, 07:55

Re: phocagallery and sh404SEF ??

Post 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.
DirkMu
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Jul 2008, 17:12

Re: phocagallery and sh404SEF ??

Post 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
hifi
Phoca Member
Phoca Member
Posts: 25
Joined: 25 Jul 2008, 07:55

Re: phocagallery and sh404SEF ??

Post 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_"
DirkMu
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Jul 2008, 17:12

Re: phocagallery and sh404SEF ??

Post 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
hifi
Phoca Member
Phoca Member
Posts: 25
Joined: 25 Jul 2008, 07:55

Re: phocagallery and sh404SEF ??

Post 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.
Falcon
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jul 2008, 14:22

Re: phocagallery and sh404SEF ??

Post 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
Post Reply