RuubikCMS v1.1.2 Beta:

download

RuubikCMS demo

Username: admin
Password: ruubik

Demo website

News

RuubikCMS 1.1.2 Beta released

09.10.2014

RuubikCMS 1.1.2 Beta is now available for download. Special characters in page names are working now...

Read more

RuubikCMS 1.1.1 released

16.02.2012

RuubikCMS 1.1.1 is now available for download. It has one small new feature and includes the manual security...

Read more

Local file inclusion vulnerability

18.10.2011

We were informed 2011-10-17 that RuubikCMS 1.1.0 has a local file inclusion vulnerability in file...

Read more

Bookmark and Share

RuubikCMS and multilanguage sites

Although RuubikCMS does not currently have support for translating web page content page by page, there is a simple way to use it with web sites that have multiple languages:

1. Install one copy of RuubikCMS in your primary language subfolder (for example /en/) and duplicate this folder for other languages (for example /fi/ and /sv/). Using command-line:  

cp -rp en fi
cp -rp en sv

2. Redirect requests from the domain root to your primary language subfolder. For example you could use this in your www.yourdomain.com/index.php:

<?php header('Location: en/index.php'); ?>

3. Remember to change the siteroot setting in CMS Site Setup -tab for every language.

4. To enable multilanguage links in RuubikCMS, edit file /ruubikcms/includes/dbconfig.php and change FALSE to TRUE in line 24:

define("SHOW_MULTILANG", TRUE);

5. Edit the language language folders and their longer descriptions in the next line (row 25) to match the folders you created:

$multilang_links = array('en' => 'English', 'fi' => 'Finnish', 'sv' => 'Swedish');

You should now be able to change between these different RuubikCMS language installations just by using the language links that appear in the top right part of RuubikCMS. Using this method saves you the trouble of multiple logins when updating a multilanguage RuubikCMS website.

Back to documentation index