joomla language flags order - joomla

Joomla version 3.5.1.
Falang version 2.2.1
Currently have 3 langs displayed in folowing order: RU > ET > EN
Need to change display order to: ET > RU > EN
In Content Languages section ordering is missing.

I couldn't fix this issue from the Joomla backend either. However I found a workaround. If you have direct access to the MySQL database, go to the table jos_languages. The last field is named Ordering. Here you are able to change the ordering in any way you prefer.

I hope you have found the solution yourselve.
If not I hope this will help you.
Go to your Joomla backend.
Then go to Extensions and select Language(s)
Select Content languages.
There you can edit the order of the languages.
Do that and view the result at your website.

Related

How to use multiple themes in codeigniter like wordpress

I want to use multiple themes in codeigniter like wordpress.
e.g
Themes are A, B, C.
if i select Theme A then html would be change Theme A wise.
if i select Theme B then html would be change Theme B wise.
etc.
please help and thanks in advance.
Hi
Very hard to give this answer because your question is very out of range. :)
But I will try my best to do this.
Many way to build different themes put in CI
1) Use of CMS in codeigniter like
->http://www.getfuelcms.com/
->http://www.nodcms.com/en
2) Second way to do this things the easy way is to build your dynamic system as per your recruitment.
Also easiest way is to build your site in wordpress.
Although the library has it years(newer php version may scream error about &=, just delete & ) you can use https://github.com/philsturgeon/codeigniter-template - it uses theme concept. But you have to build database layer for themes usage logic. And if you know, which theme your site is using, then you just use method of the library: $this->template->set_theme($my_current_theme)
If you like a complete tutorial, check out this link
http://www.roytuts.com/using-template-in-codeigniter-3/. This is just an example, however and there's many more out there.
I agree with cssBlaster21895, that library can still be made to work for modern PHP versions. I just adjusted a few things and that made the errors disappear.

New Language Files

I am user of Joomla 2.5 cms and I try to built a double-language site.
Yesterday I installed this one module to my site
http://extensions.joomla.org/extensions/access-a-security/site-access/authentication-management/6660
but this don't support 2 languages, only one.
The help I need is some information on how I can add new files for this module with new labels of course at my excisting language packages.
if it doesn't support 2 languages, you have some problems
anyway you can ask your developer to help you.
or you can check the source and change the needed words to your desire language, then you can change the module name and install it separately
it is important to see if you have the right to change that extension.
and you can write your own of course :)

Joomla to Wordpress migration from HTML files

I know there exists tools that migrates Joomla to Wordpress at database level. But my problem is I don't have access to Joomla database anymore. I only have whole Joomla! 1.0.x site's local copy which was taken 2 years ago. Is it possible to migrate that posts to my Wordpress site?
Or should I copy-paste all content to a CSV file and use an Excel importer ?
Not specifically for Joomla , but I have made such a thing in the past several times while migrating from some Custom Cms's
It will depend on HOW BIG is your site and how much information you need to migrate (and it's complexity) but you can always go for HTML SCRAPPING / PARSING.
As from this point , GIYBF . And your Coding skills.
One of the best one IMHO is Simple HTML DOM ,and another that many recommend but I personally never used are htmlSQL And phpquery .
But there are also a lot of Tutorials on google ( here also and EXAMPLE TUT) explaining how to do it , and also a lot of questions here on SE and a list of options (not PHP exclusive).
The other option (which is basically the same , but without libraries) , is going or REGEX , like in this very simple example..
If you don't have the DB, then you don't have the content. All of the content on a Joomla site is stored in the DB. If you only have the Joomla files, there is nothing to copy and paste in to a CSV.
Try using this script. http://azeemkhan.info/2008/joomla2wordpress-import-wizard-v3/ Note you will need to install an old version of wordpress first and THEN upgrade your wordpress version.
There's a useful guide on this here and info on utf-8 support here.
Hope this helps

How do I create a custom locale in Magento?

The locale I need is not included in the standard Magento language extensions, so I need to create my own.
It will be es-us - Spanish language for the US.
I found this article: http://kb.magenting.com/content/14/50/en/translate-magento-interface-magento-localization-tips.html
It says:
"If there are no localization package for your locale you can create it by simply copying localization directory from English or any other translation."
Can someone walk me through how I get from that quote to having Spanish (USA) in the locale drop-down?
Thank you so much for your help!
I came upon this answer whilst investigating Mage_Core_Model_Locale_Config and I was able to come up with a solution that didn't require any code changes at all.
Mage_Core_Model_Locale_Config does indeed contain a hardcoded list of locales, but the getAllowedLocales() method combines this with the output of
Mage::getConfig()->getNode(Mage_Core_Model_Locale::XML_PATH_ALLOW_CODES);
in 1.4.2 the value of Mage_Core_Model_Locale::XML_PATH_ALLOW_CODES is
'global/locale/allow/codes'
So all you need to do is add the following xml to your app/etc/local.xml within your 'global' tags:
<locale>
<allow>
<codes>
<en_IE/>
</codes>
</allow>
</locale>
And the English(Ireland) locale will appear in your locale dropdown. The only limitation is that the locale code must be one of the ones defined in the Zend Framework documentation here:
http://framework.zend.com/manual/1.12/en/zend.locale.appendix.html
'es_US' is one of these supported codes. I hope that helps someone.
_Pez
Unfortunately, it looks as if the locale names are hardcoded in Mage_Core_Model_Locale_Config. Not only that, but language codes are installed in the database during install.
What I would recommend doing instead of rewriting that class to define your own custom language is to "piggyback" on another locale and use their code for your custom language pack. For example, in app/locale, you could place the folder gl_ES, copy over a Spanish language pack, and make the modifications you need for that language. Then for your store's locale in the dropdown (System > Configuration > General > Locale) you can choose Galician (Galician)
The custom solution that you're requesting I think would involve rewriting Mage_Core_Model_Locale_Config to add your new locale to the $_allowedLocales variable. I thought you may need to add the language to the core_language table but it looks as if that table's been deprecated.

Set Falang default language for joomla

I have my site in English & Spanish. I am using Falang Extension in Joomla and need to make Spanish language default. So that when a user visit the site he/she will see the Spanish language.
Is there anything I can do to make this possible?
You can install additional languages and choose your default from the Joomla Administrators Language Manager. Details at the Extensions Help. If your language isn't available from joomla.org directly, or you need additional language support, check the JED Language Support.
The problem may be due to Language Filter plugin configuration.
You have to open:
Extensions -> Plugin Manager -> System - Language Filter
And set:
Language Selection for new Visitors: Site Language
Hope this helps

Resources