Please login or register.

Login with username, password and session length
Advanced search  

News:

Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Import & Backup Plugin
SOBI2 Import & Backup
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: [1]   Go Down

Author Topic: [SOLVED] Categories not translated..  (Read 10719 times)

0 Members and 1 Guest are viewing this topic.

elkuku

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 3

  • Reviews:

    What is it?

[SOLVED] Categories not translated..
« on: 23. February 2007, 17:03:34 »
First of all, congrats for the new release :)
This is the first component i know which has translatable subcategories - great !

BUT They dont get translated at one point: The category chooser at "New entry" ..

Any suggestion ?
« Last Edit: 25. March 2007, 12:03:42 by Trinity »
Logged
Gruß,
Nikolai NiK-IT.de
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

Trinity

  • SOBI Team
  • Development
  • SOBI Hero
  • *
  • Thanx from users: 507
  • Offline Offline
  • Posts: 6860

  • Reviews:

    What is it?

Re: Kategories not translated..
« Reply #1 on: 24. February 2007, 10:41:42 »
Hi elkuku,

In the file form.class.php starting at line 831 replace:

$query "SELECT  cats.catid,  parentid, name,  introtext,  ordering " .
	
	
 
"FROM `#__sobi2_cats_relations` AS rel " .
	
	
 
"LEFT JOIN `#__sobi2_categories` AS cats ON rel.catid = cats.catid " .
	
	
 
"WHERE published = 1 ".
	
	
 
"ORDER BY {$config->catsOrdering}";



by:

$query "SELECT  relations.catid,  parentid, name,  introtext,  ordering " .
	
	
 
"FROM `#__sobi2_categories` " .
	
	
 
"LEFT JOIN `#__sobi2_cats_relations` AS relations ON `#__sobi2_categories`.catid = relations.catid " .
	
	
 
"WHERE published = 1 ".
	
	
 
"ORDER BY {$config->catsOrdering}";


Trinity
Logged
Get started fast - SOBI2 Import and Backup Plugin
Import & export entries, import & export categories, save your configuration
Back-up & restore your SOBI2 data - keep your data safe, and portable.

Get more info here: http://www.sigsiu.net/addons/import_and_backup_plugin.html
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

elkuku

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 3

  • Reviews:

    What is it?

Re: Kategories not translated..
« Reply #2 on: 24. February 2007, 11:26:46 »
Hi Trinity ;)

Perfect !  :silly:

Thanks a lot.. be shure i will use sobi in some future multilanguage projects (and make a donation of course).

Again Congrats for that fine component :)
« Last Edit: 24. February 2007, 20:31:18 by elkuku »
Logged
Gruß,
Nikolai NiK-IT.de
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

ranaverde

  • SOBI User
  • **
  • Thanx from users: 0
  • Offline Offline
  • Posts: 60

  • Reviews:

    What is it?

Re: [SOLVED] Categories not translated..
« Reply #3 on: 02. March 2007, 16:20:36 »
Hi Trinity

habe das script bei mir ebenfalls eingesetzt, SUUUUUPER
VIELEN DANK
saludos
ranaverde
Logged
Nada es para siempre. La vida está hecho de momentos...
Country: Spain Spain |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW
Pages: [1]   Go Up
« previous next »
 

Page created in 0.125 seconds with 25 queries.

Partner Sites: Joomla Web Design  |  Yagendoo Templates  |  LayDev - Joomla Templates  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Akeeba Backup  |  FLEXIcontent  |  templates4ALL  |  Joomla! InSecurity