Welcome, Guest. Please login or register.
Did you miss your activation email?
23 Jul 2008, 14:09

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1] 2 3
Print
Author Topic: Multilanguage CMSMS MLE version 1.2  (Read 5555 times)
0 Members and 1 Guest are viewing this topic.
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« on: 19 Oct 2007, 04:25 »

History changelog here


Release in forge

Diff file is VS CMSMS 1.2


Alby
« Last Edit: 22 Oct 2007, 10:58 by alby » Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
pgingao
Forum Member
*

Karma: 0
Offline Offline

Posts: 20

Location: London


Paulo Gingao


WWW
« Reply #1 on: 19 Oct 2007, 17:20 »

Hi,

how my users can switch from one language to another in front page? A button or something would be great.

Thanks a lot

Paulo

CHANGED FROM 1.1.4.1:

Update to CMSMS 1.2
Bugfix: content block not working in prev releases because I forgot a modify from 1.1.1  Embarrassed
Improved:
Defined a $force_mle_default variable for force initial language
Add function.concat_lang.php plugin

Diff file is VS CMSMS 1.2

Release in forge


Alby
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #2 on: 20 Oct 2007, 02:53 »

how my users can switch from one language to another in front page? A button or something would be great.

Tag {lang}  Wink

Alby
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
pgingao
Forum Member
*

Karma: 0
Offline Offline

Posts: 20

Location: London


Paulo Gingao


WWW
« Reply #3 on: 22 Oct 2007, 04:23 »

Hi Albi,

now I can see the flags but when I click them nothing happens. I realized when I click, the URL in the browser looks like this:

index.php?page=plataformas-de-elearning&pt_PT

and if I change it to:
index.php?page=plataformas-de-elearning&hl=pt_PT it works!!!

What can be wrong?

thanks again!

Paulo

how my users can switch from one language to another in front page? A button or something would be great.

Tag {lang}  Wink

Alby
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #4 on: 22 Oct 2007, 05:18 »

now I can see the flags but when I click them nothing happens. I realized when I click, the URL in the browser looks like this:

index.php?page=plataformas-de-elearning&pt_PT

and if I change it to:
index.php?page=plataformas-de-elearning&hl=pt_PT it works!!!

What can be wrong?

Clear your cache and check html source for link sintax of {lang}:
For no assume_mod_rewrite and no internal_pretty_urls, correct sintax is index.php?page=alias_page&hl=locale

Have you other rewrite urls or mod_security actived?

Alby
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
pgingao
Forum Member
*

Karma: 0
Offline Offline

Posts: 20

Location: London


Paulo Gingao


WWW
« Reply #5 on: 22 Oct 2007, 05:38 »

Hi Alby,

thanks for your fast reply. I have cleared the cache but it's the same.

How can I check if my server have other rewrite urls or mod_security actived?

Cheers

Paulo

now I can see the flags but when I click them nothing happens. I realized when I click, the URL in the browser looks like this:

index.php?page=plataformas-de-elearning&pt_PT

and if I change it to:
index.php?page=plataformas-de-elearning&hl=pt_PT it works!!!

What can be wrong?

Clear your cache and check html source for link sintax of {lang}:
For no assume_mod_rewrite and no internal_pretty_urls, correct sintax is index.php?page=alias_page&hl=locale

Have you other rewrite urls or mod_security actived?

Alby
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #6 on: 22 Oct 2007, 05:59 »


How can I check if my server have other rewrite urls or mod_security actived?


Have you a link to site?

Alby
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
pgingao
Forum Member
*

Karma: 0
Offline Offline

Posts: 20

Location: London


Paulo Gingao


WWW
« Reply #7 on: 22 Oct 2007, 06:04 »

Sure: www.paulogingao.com/2008

if you need admin access let me know!

Paulo


How can I check if my server have other rewrite urls or mod_security actived?


Have you a link to site?

Alby
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #8 on: 22 Oct 2007, 10:55 »


All links are ok but there is a problem for {lang} or flags link are hardcoded in template?
Which version of MLE, 1.2?
Try to uploads plugins/function.lang.php again and clean cache.

Alby
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
Ronson
Forum Member
*

Karma: 0
Offline Offline

Posts: 4


« Reply #9 on: 22 Oct 2007, 11:29 »

Is there a htaccess file that is working with MLE?
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #10 on: 22 Oct 2007, 11:56 »

Is there a htaccess file that is working with MLE?

Try with official docs/htaccess, documentation and faq

and this post for change rule working with MLE

Please, report this if works that I include in next release

Alby

« Last Edit: 23 Oct 2007, 16:02 by alby » Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
oskarello
Forum Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #11 on: 03 Nov 2007, 07:02 »

Dear communty,

I am now working on a site with cmsms mle 1.2 with two (prepared for three) languages: en_US, de_AT and fr_FR.
Most things are working fine. But there are four important questions, for which I didn't find a solution at the board:

1.) (Important)The footer is not stored and not displayed except in the default language of my site - this was en_US. The entries in the htmlblobs table are existing. When I fill the table cells manually, the other footers are also not displayed on the site, but then in the editor. But there is a message from the archiver module, when I try to change/apply them:
"Fatal error: Call to a member function on a non-object in D:\www\htdocs\maklad\modules\Archiver\Archiver.module.php on line 309 ".
Any suggestions ?
2.) (Important) I want to add different news to every language site (they will be the same but manually translated). How can I (simple) add support for this functionality ?

3.) (less important) I want to display the language icons in different colors for the active/inactive pages. I use no flags but text-images "En" "De" "Fr".
How can I force the {lang} tag to display alternative images for the active language ?

4.) (important) How can I prevent the section Header Content type from switching to Level 1 when clicked ? As I have a drop down css menu, I want it to do nothing when clicked. (Or, alternatively, bringing up the submenu tree when javascript is switched off in IE)

I found out that cmsms is one of the most easy usable cms (and I have tested MANY). Its both for the admin and the user easy to understand. Second, it is storage lightweight and has no functional overkill.
The mle version is a bit tricky but very ok, if you will integrate it fully in the next version.
Thanks for a good cms !

« Last Edit: 03 Nov 2007, 07:17 by oskarello » Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #12 on: 03 Nov 2007, 10:30 »

I am now working on a site with cmsms mle 1.2 with two (prepared for three) languages: en_US, de_AT and fr_FR.
Most things are working fine. But there are four important questions, for which I didn't find a solution at the board:

My first suggestion:
copy de_DE folder translations to de_AT and change the (few?)  items in lang php from DE to AT


1.) (Important)The footer is not stored and not displayed except in the default language of my site - this was en_US. The entries in the htmlblobs table are existing. When I fill the table cells manually, the other footers are also not displayed on the site, but then in the editor. But there is a message from the archiver module, when I try to change/apply them:
"Fatal error: Call to a member function on a non-object in D:\www\htdocs\maklad\modules\Archiver\Archiver.module.php on line 309 ".
Any suggestions ?

- Are you sure on htmlblobs table?
  Look for table property here
- For check, uninstall Archiver module (in Admin area)
- In admin Global Content you look right?


2.) (Important) I want to add different news to every language site (they will be the same but manually translated). How can I (simple) add support for this functionality ?

Read this


3.) (less important) I want to display the language icons in different colors for the active/inactive pages. I use no flags but text-images "En" "De" "Fr".
How can I force the {lang} tag to display alternative images for the active language ?

Substitute plugins/function.lang.php with this attach (drop .mpg extension):
- add class parameter in lang plugin
- add text parameter in lang plugin (request) required a update to config_lang.php - view attach
- add urlparam parameter in lang plugin (request)


4.) (important) How can I prevent the section Header Content type from switching to Level 1 when clicked ? As I have a drop down css menu, I want it to do nothing when clicked. (Or, alternatively, bringing up the submenu tree when javascript is switched off in IE)

I don't understand much, try to post in layout section forum


Alby

* function.lang.php.mpg (4.4 KB - downloaded 80 times.)
* config_lang.php.alby.mpg (1.15 KB - downloaded 67 times.)
« Last Edit: 04 Nov 2007, 05:58 by alby » Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
oskarello
Forum Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #13 on: 04 Nov 2007, 15:55 »

Hello Alby,

Quote
- Are you sure on htmlblobs table?
  Look for table property here
- yes, i knew the document and I made the necessary changes with SQL before. I will try soon deinstalling the archiever.
- I have now a simple workaround, I don't use global content in the template, but a User defined Tag which echoes a footer text as a replacement.
Quote
read this
- Ashes to my head, I didn't dig the forum deep enough ! Sorry !
Quote
Substitute plugins/function.lang.php with this attach
- thanks !

With the cms questions I will annoy the others.

Thank you very much for your fast help !
« Last Edit: 04 Nov 2007, 16:24 by oskarello » Logged
pgingao
Forum Member
*

Karma: 0
Offline Offline

Posts: 20

Location: London


Paulo Gingao


WWW
« Reply #14 on: 08 Nov 2007, 16:22 »

Hi,

his there any known incompatibility between MLE and NMS ?

I get this error in NMS when creating a nem message or when I click in "User settings" tab:
Fatal error: Call to a member function on a non-object in /home/pgingao/public_html/bcoach/modules/NMS/NMS.module.php on line 1613

I have the latest SVN from NMS Module files and my CMSMS is 1.1.3.1 "Apia"

Thanks

Paulo


History changelog here


Release in forge

Diff file is VS CMSMS 1.2


Alby
« Last Edit: 09 Nov 2007, 09:45 by pgingao » Logged
Pages: [1] 2 3
Print
Jump to: