J-BusinessDirectory - Language Tab Order on Frontend Edit Company form

Support Forum

 
 

 

Hi there,

In a multi-language configuration (EN & NL), I would like to change the Language Tab order at the front-end in the Add/Edit  Company/Events etc. webforms.

Having the Native Tab (e.g. Dutch - NL) as #1 and (English -EN) as #2. (On our site NL is mandatory, other languages Optional).

Forms like: (administratorcomponentscom_jbusinessdirectoryviewscompany mpledit.php)
Is that possible?


It would be great to sort these tabs automatically to the installed language order (table jos_languages.ordering) one can set in Administrator > Extensions > Languages > Content Languages > Order).


Cheers!

 

2 replies

Hi,

 

Currently the languages are ordered alphabetically based on language identifier.
You can edit {joomla}/components/com_jbusinessdirectory/assets/utils.php and remove asort($result); from static function getLanguages() function.

Hi George,

Thanks a lot for the hint, that did it for me!

Mark

 
 
 

3 Item(s)

Show per page