Page 1 of 3

Multilanguage CMSMS MLE version 1.2

Posted: Fri Oct 19, 2007 8:25 am
by alby
History changelog here


Release in forge

Diff file is VS CMSMS 1.2


Alby

Re: Multilanguage CMSMS MLE version 1.2

Posted: Fri Oct 19, 2007 9:20 pm
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Sat Oct 20, 2007 6:53 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 8:23 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 9:18 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 9:38 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 9:59 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 10:04 am
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 2:55 pm
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 3:29 pm
by Ronson
Is there a htaccess file that is working with MLE?

Re: Multilanguage CMSMS MLE version 1.2

Posted: Mon Oct 22, 2007 3:56 pm
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Sat Nov 03, 2007 11:02 am
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 !

Re: Multilanguage CMSMS MLE version 1.2

Posted: Sat Nov 03, 2007 2:30 pm
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

Re: Multilanguage CMSMS MLE version 1.2

Posted: Sun Nov 04, 2007 8:55 pm
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 !

NMS incompatibilty with CMS MLE?

Posted: Thu Nov 08, 2007 9:22 pm
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