Multilanguage CMSMS MLE version 1.2

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
alby

Multilanguage CMSMS MLE version 1.2

Post by alby »

History changelog here


Release in forge

Diff file is VS CMSMS 1.2


Alby
Last edited by alby on Mon Oct 22, 2007 2:58 pm, edited 1 time in total.
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Multilanguage CMSMS MLE version 1.2

Post by pgingao »

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
alby wrote: 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  :-[
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
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

pgingao wrote: how my users can switch from one language to another in front page? A button or something would be great.
Tag {lang}  ;)

Alby
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Multilanguage CMSMS MLE version 1.2

Post by pgingao »

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
alby wrote:
pgingao wrote: how my users can switch from one language to another in front page? A button or something would be great.
Tag {lang}  ;)

Alby
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

pgingao wrote: 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
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Multilanguage CMSMS MLE version 1.2

Post by pgingao »

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
alby wrote:
pgingao wrote: 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
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

pgingao wrote:
How can I check if my server have other rewrite urls or mod_security actived?
Have you a link to site?

Alby
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Multilanguage CMSMS MLE version 1.2

Post by pgingao »

Sure: www.paulogingao.com/2008

if you need admin access let me know!

Paulo
alby wrote:
pgingao wrote:
How can I check if my server have other rewrite urls or mod_security actived?
Have you a link to site?

Alby
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

pgingao wrote: Sure: www.paulogingao.com/2008
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
Ronson

Re: Multilanguage CMSMS MLE version 1.2

Post by Ronson »

Is there a htaccess file that is working with MLE?
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

Ronson wrote: 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 edited by alby on Tue Oct 23, 2007 8:02 pm, edited 1 time in total.
oskarello

Re: Multilanguage CMSMS MLE version 1.2

Post by oskarello »

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 edited by oskarello on Sat Nov 03, 2007 11:17 am, edited 1 time in total.
alby

Re: Multilanguage CMSMS MLE version 1.2

Post by alby »

oskarello wrote: 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

oskarello wrote: 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?

oskarello wrote: 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

oskarello wrote: 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)

oskarello wrote: 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
Attachments

[The extension mpg has been deactivated and can no longer be displayed.]

[The extension mpg has been deactivated and can no longer be displayed.]

Last edited by alby on Sun Nov 04, 2007 10:58 am, edited 1 time in total.
oskarello

Re: Multilanguage CMSMS MLE version 1.2

Post by oskarello »

Hello Alby,
- 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.
read this
- Ashes to my head, I didn't dig the forum deep enough ! Sorry !
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 edited by oskarello on Sun Nov 04, 2007 9:24 pm, edited 1 time in total.
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

NMS incompatibilty with CMS MLE?

Post by pgingao »

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

alby wrote: History changelog here


Release in forge

Diff file is VS CMSMS 1.2


Alby
Last edited by pgingao on Fri Nov 09, 2007 2:45 pm, edited 1 time in total.
Locked

Return to “[locked] CMSMS MLE fork”