Author Topic: How to run SobiSEF with JoomFish  (Read 9734 times)

jlchavez and 1 Guest are viewing this topic.

Offline the_observer

Re: How to run SobiSEF with JoomFish
« Reply #10 on: 08. January 2010, 16:45:32 »
Hi all,

The modification is not working for me :(
Probably i am doing something wrong.

I use sobisef plugin +joomfish all latest versions.

The problem is that for the one of the two languages when i click on anything inside sobi it does nothing.The other language works ok.
Which language will be working and which will not depends on ,in what language i am when i purge links in the sobisef menu.

If i didable sobisef it works fine.

Is there an idea what i might be doing wrong?
Any suggestion will be much appreciated.

Thank you 4 your time reading this.

Regards,
The Observer.

Note: Finally i made it work reading this guide and steps 6 , 7 did the job.
Though i have no idea if i HAD to do those to work cause i dont see anyone else to mention something relevant.
« Last Edit: 11. January 2010, 11:27:59 by the_observer »
Country: Greece Greece |  OS: Windows 7/Server 2008 R2 Windows 7/Server 2008 R2 |  Browser: Firefox 3.5.6 Firefox 3.5.6 | View Profile

Offline cooperation

Re: How to run SobiSEF with JoomFish
« Reply #11 on: 02. March 2010, 12:10:03 »
Hello,

please I need some help. I tried to change the code as mentioned in my SOBI2 CLONE, but still I am stuck in the category view. I can not enter the detail view of any entry.

Are ther any other files to be changed if you are using a SOBI2 Clone?

I have latest Joomla, latest Sobi2 (cloned), latest sobi SEF plugin (cloned), enabled all three Joomla SEF option (page works fine except detail view of SOBI2 entries)

Thanks for every help
Country: Spain Spain |  OS: Windows Vista/Server 2008 Windows Vista/Server 2008 |  Browser: Firefox 3.5.8 Firefox 3.5.8 | View Profile

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline tekknokrat

Re: How to run SobiSEF with JoomFish
« Reply #12 on: 02. March 2010, 13:04:06 »
I have an issue with the sef part and joomfish.
The above changes are added to sobisef.class.php. The urls are purged.
I got it managed to open the details page for one language.

Link that works looks like for german language:

"/de/ausflug-suchen/alle-ausfluege/fahren-mit-dem-rennrad-demo-eintrag-.html"

When I change the language to en the link now looks like:

"/en/search-a-trip/all-trips/ausflug-suchen/alle-ausfluege/fahren-mit-dem-rennrad-demo-eintrag-.html"

This link is not working. The alias "search-a-trip/all-trips" is duplicated in de and en.

Any hint on that?
Sorry, can't help anymore with php because of switching to python ;-)
Country: Spain Spain |  OS: Linux (Ubuntu) Linux (Ubuntu) |  Browser: Firefox 3.5.8 Firefox 3.5.8 | View Profile

Offline alfredo

Re: How to run SobiSEF with JoomFish
« Reply #13 on: 08. March 2010, 00:43:47 »
ah72 thank you for this solution....

It is working very well and solutioning the problem but not completely.

Following your istructions, now I can go inside the Detail pages of Sobi items. And the URLs are working ok with SobiSEF.
Everything solutioned but only in one of the two lenguages.
In english is working ok your solution, but when I turn into spanish is still the problem that I can not see the details page of the Sobi items. Is staying in the front/category page.
When I click on the item to see the details, it is not changins but the URL is showing the item but duplicating the Category path in english, like that: "http://localhost/optimit/index.php/es/empresa/partners/encuentra-un-partner/company/partners/find-a-partner/partners/atos-origin.html"

I think the complete solution is very close.... please, could you help me with this???

Thanks a lot in advance.
Alfredo


Country: Spain Spain |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 | View Profile

Offline cooperation

Re: How to run SobiSEF with JoomFish
« Reply #14 on: 08. March 2010, 09:50:53 »
Hello,

Please ah72, I have the samne problem. I finally achieved to enter the details view of one language. When I change the language, I cannot access the detail view page.

The good linke:
http://domain.com/es/comunidad/censo-de-motocicletas-maincontent/enduro-125-h6.html

and the bad link:
http://domain.com/en/community/censo-de-motocicletas-maincontent/comunidad/censo-de-motocicletas-maincontent/enduro-125-h6.html

There is another strange issue: on my primary language, the "Sobi2" Component Title is duplicated in the Breadcrups. Maybe thats a hint ..?

My Breadcrup looks like:
Spanish: Home - Comunidad - Censo de motocicletas - Censo de Motocicleta

English: Home - Community - Motorbike statistics 

@Alfredo:
Do you have the same douple Breadcrump displayed?
Country: Spain Spain |  OS: Windows Vista/Server 2008 Windows Vista/Server 2008 |  Browser: Firefox 3.5.8 Firefox 3.5.8 | View Profile

Offline alfredo

Re: How to run SobiSEF with JoomFish
« Reply #15 on: 08. March 2010, 11:31:44 »
Cooperation,

It is happening to me the same with the URLs.
First lenguage is ok. But when I try with the other lenguage, then I can not access the item details. And the URL is duplicating the path but in the other lenguage. Same like you.

But my breadcrums are not duplicated. In the second lenguage they are not changing because I can not access the details. Only the URL is changing.

I hope we can find the solution soon.
Can somebody help????

Thanks
Alfredo

Country: Spain Spain |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 | View Profile

Offline cooperation

Re: How to run SobiSEF with JoomFish
« Reply #16 on: 09. March 2010, 13:10:32 »
Hello Alfredo,

I just figured out that the search does not work too. If I click on a result entry, I got redirected to the forntpage.

I'll post this to a similiar post:
http://www.sigsiu.net/forum/index.php/topic,22299.10.html

Maybe there we can get some solutions.
Country: Spain Spain |  OS: Windows Vista/Server 2008 Windows Vista/Server 2008 |  Browser: Firefox 3.5.8 Firefox 3.5.8 | View Profile

Offline alfredo

Re: How to run SobiSEF with JoomFish
« Reply #17 on: 09. March 2010, 13:20:10 »
Hello Cooperation,

Thanks for the answer.

I was searching a lot and I dont find a solution for the problem with SobiSEf + Joomfish and SEF URLs.

But I found one possible solution. That is to uninstall SobiSEf and Install one Extension called AceSEF.
This extension is generatin SEF URLs for all camponents. And also it has one Extension addon specially for Sobi2.
It has very good opinions from users and looks good.

You can find it here:
- http://www.joomace.net/joomla-extensions/acesef
- http://www.joomace.net/e-shop/sobi2-acesef

You have to pay (Around 25$ more or less) but I think it is worthing to avoid the problems with SobiSEF.
They tell that it is also 100% compatible with Joomfish.

I will try this and I will tell how it is working...

Un saludo español, cooperation.  :)

Alfredo






Country: Spain Spain |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 | View Profile

Offline effgee

Re: How to run SobiSEF with JoomFish
« Reply #18 on: 06. April 2010, 17:29:03 »
Any way of getting this working with translated aliases as well???
The translated aliases make good SEF friendly urls for when people search for those terms.

Hi all,

After the following code in file "/components/com_sobi2/plugins/sobisef/sobisef.class.php"

      // if we don't have Menu Itemid
      if ( strstr( $request, "component/" ) ) {
         $request = str_replace( "component/", null, $request );
      }



Add this:

      // if joomfish installed
      if(JFile::exists(JPATH_SITE .DS. 'components' .DS. 'com_joomfish' .DS. 'helpers' .DS. 'defines.php')) {
         
         // get language sefprefixes (defined in jfrouter plugin admin panel)
         $my_joomla_conf =& JFactory::getConfig();
         $my_jfish_params = $my_joomla_conf->getValue("jfrouter.params");
         $my_jfish_sefprefixes = $my_jfish_params->getValue("sefprefixes",array());
         
         foreach ($my_jfish_sefprefixes as $my_jfish_prefix) {
            list( , $my_jfish_prefix) = split("::",$my_jfish_prefix,2);
           
            // removing language sefprefix if it exists in requested url
            if ( strstr( $request, $my_jfish_prefix."/" ) ) {
               $request = str_replace( $my_jfish_prefix."/", null, $request );
               break;
            }
         }
      }



This modification concerns function revert() which parses url requests, and we need to remove any additional info in the url that is not stored in the db (sobisef table) before further processing. Same thing is done when joomla is installed in a subdirectory and for 'component/' (when no sobi2 menu exists) and for "index.php/" when mod_rewrite not in use (look few lines before this added code)

Notes:
1. You might need to do the following: "Extensions>Plugin Manager>" click on "System - Jfrouter" then hit save or apply (getValue("jfrouter.params") did not return the plugin parameters before doing so)

2. Don't translate sobi2 menu item alias, translate menu name only.


Appreciate any feedback
Country: Greece Greece |  OS: Windows Server Home/Server 2003 Windows Server Home/Server 2003 |  Browser: Firefox 3.6 Firefox 3.6 | View Profile

Offline tekknokrat

Re: How to run SobiSEF with JoomFish
« Reply #19 on: 06. April 2010, 20:40:54 »
I have everything running fine together with Joomfish + sh404 (current version) and a small modification to its class file,  with SOBI2SEF completely disabled.

Only part were some more work is neccesary is the search urls.

How does AceSEF resolve search urls? Does it natively translate them?
Sorry, can't help anymore with php because of switching to python ;-)
Country: Germany Germany |  OS: Linux (Ubuntu) Linux (Ubuntu) |  Browser: Firefox 3.6.3 Firefox 3.6.3 | View Profile

Tags: