ewebdev.com
January 07, 2009, 02:56:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to map SOBI2 url /sobi/ to /something-else/ ?  (Read 1478 times)
intersol
Newbie
*
Posts: 2


« on: November 14, 2007, 09:37:05 AM »

How to map SOBI2 url  /sobi/ to /something-else/  ?

The virtuemark plugin seams to have a such feature but this one no. It should work by over-writing the title on artio configuration but it doesn't !
Logged
ewebdev.com
« on: November 14, 2007, 09:37:05 AM »

 Logged
Fallen
Need help?
Administrator
Newbie
*****
Posts: 41

Lazyness drives us forward!


« Reply #1 on: November 14, 2007, 05:21:06 PM »

hey,

will release new version in few days (hopefully few).

stay tuned,
Cheers
Logged
intersol
Newbie
*
Posts: 2


« Reply #2 on: November 14, 2007, 06:46:44 PM »

I hope you'll post an reply here when you do Wink

Thanks
Logged
jime
Newbie
*
Posts: 2


« Reply #3 on: December 13, 2007, 12:23:42 AM »

Hi Intersol,

This is what I did to solve the same issue.

Tested with versions
Joomla 1.0.13
Virtuemart 1.0.13a
Sobi2 2.8.2   
JoomSef 2.2.4


Extract then open com_sobi.php from the zip file

Before line 21
Code:
$title = array();

Add
Code:
$title[] = getMenuTitle(@$option, @$task, @$Itemid);

comment out lines 22-25
Code:
//$title = array();

//$title[] = 'sobi';
//$title[] = '/';

upload file to components/com_sef/sef_ext

Updated:  I should have mentioned this as well.

Important: don't forget to purge the sef urls and clean the cache after applying the above fix.


If all OK you can remove the commented out lines and re-upload.

This modification uses the menu name instead of sobi in the SEF URL.

Thanks Fallen for a great plugin.

Hope that helps.

Cheers

Jim

www.xactit.com
« Last Edit: December 14, 2007, 10:46:38 AM by jime » Logged
Fallen
Need help?
Administrator
Newbie
*****
Posts: 41

Lazyness drives us forward!


« Reply #4 on: December 17, 2007, 07:26:22 PM »

Heya,

have released a fix, so you can change the prefix to whatever you want, just not an empty one.
please feel free to download it here:
download here

of course it is for Artio JoomSEF 2.1.0, next release will be for new version of Artio JoomSEF.

Cheers.
Logged
Fallen
Need help?
Administrator
Newbie
*****
Posts: 41

Lazyness drives us forward!


« Reply #5 on: December 28, 2007, 02:44:59 PM »

new release for ARTIO JoomSEF 2.2.4 available here:

download page[url]

hope you enjoy it.

cheers!
Logged
joseph
Newbie
*
Posts: 1


« Reply #6 on: July 25, 2008, 04:56:42 PM »

Hi,

I have installed:
Joomla 1.0.15
joomsef-2.4.4-com_sobi2
Artio JoomSEF v2.2.4
Sobi RC 2.8.7.1

I get the same problem but I get /directory/ instead of the component name I specified in the general configuration of sobi. May I know how to fix this?

I'm not good in php.. I tried to change $title[] = $prefix; to $title[] = 'someName'; and it seems to work for a while but after that it changes back the /directory/ . I also did a custom title in the configurations of JoomSEF but doesn't to work as well.

Hope to get a reply soon. Thanks in advance!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Valid XHTML 1.0! Valid CSS!