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

0 Members and 1 Guest are viewing this topic.

Offline elkuku

[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, 13:03:42 by Trinity »
Gruß,
Nikolai NiK-IT.de
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile NiK-IT.de

Offline Trinity

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8922
  • Reviews:

    What is it?

    • Sobi Team Member
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
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Sigsiu.NET

Offline elkuku

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 »
Gruß,
Nikolai NiK-IT.de
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile NiK-IT.de

Offline ranaverde

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
Nada es para siempre. La vida está hecho de momentos...
Country: Spain Spain |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Marketingshop Mallorca

Tags: