MleCMS get_variable()

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
grazia
Forum Members
Forum Members
Posts: 21
Joined: Wed Dec 05, 2012 10:28 am

MleCMS get_variable()

Post by grazia »

hello,
I installed MleCMS with all its dependencies, but when I try to see the page with MLE configuration this is the answer:

Call to undefined method CmsApp::get_variable() in (mysite)/modules/MleCMS/function.admin_mle_config.php on line 35

the row 35 is:
global $themeObject;


Please can you help me?
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: MleCMS get_variable()

Post by Jeff »

Are you trying to install a non-2.x compatible module into 2.x?
grazia
Forum Members
Forum Members
Posts: 21
Joined: Wed Dec 05, 2012 10:28 am

Re: MleCMS get_variable()

Post by grazia »

:o I realized only now that Multilanguage CMS is not compatible with 2.x...!
(thank you for notice)

Is there another module for multilanguage in made simple that I can install?

Client ask for upgrade to 2.1 but it's a multilanguage site.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: MleCMS get_variable()

Post by Jo Morg »

AFAIK there are new members on the MleCMS development team. You may be interested in contacting them and maybe sponsor the upgrade of the module to work in CMSMS 2.x.
You don't have nothing to lose.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
grazia
Forum Members
Forum Members
Posts: 21
Joined: Wed Dec 05, 2012 10:28 am

Re: MleCMS get_variable()

Post by grazia »

Yeah it's a good idea. I'll do it ^-^

Thanks for all informations.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: MleCMS get_variable()

Post by Jeff »

Rolf's site has a bunch of tips for doing ML sites:
http://www.cmscanbesimple.org/blog/mult ... ade-simple
grazia
Forum Members
Forum Members
Posts: 21
Joined: Wed Dec 05, 2012 10:28 am

Re: MleCMS get_variable()

Post by grazia »

I'll try to use the script. It isn't easy.

But I think a good CMS to last should have a well-functioning multi-language module. Is it possible to ask to Made Simple development team to update MLE? I can't sponsor with money, I only can suggest it as an important complement of Made Simple.
samplist
Forum Members
Forum Members
Posts: 38
Joined: Fri Sep 08, 2006 7:42 am

Re: MleCMS get_variable()

Post by samplist »

I too miss the mle module functionality in V2. If there is a movement to sponsor with money the DEV team I would gladly do so.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: MleCMS get_variable()

Post by Jo Morg »

There are currently 2 modules under development:
  • - MleCMS: some new developers seem to have joined the project as I said before;
  • - Eridu: My own project, a fork of old Babel;
I don't know about MleCMS, but Eridu can be checked out from SVN to be tested by those curious about it's development (mind you: for testing purposes only atm). It will be seeing rapid changes in the next days though.
Either project has it's strengths and weaknesses, and sponsors are always welcome for both (or for any Open Source project for that matter)...

There are currently no plans to implement MLE on the core, other than to facilitate 3rd party modules to offer that feature as it already does.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
samplist
Forum Members
Forum Members
Posts: 38
Joined: Fri Sep 08, 2006 7:42 am

Re: MleCMS get_variable()

Post by samplist »

Ok so here's what I did to make the mlecms module work with CMSMS version 2.12.

Downloaded the mlecms module from here: http://viewsvn.cmsmadesimple.org/dl.php ... F&isdir=1&

I installed it by creating a directory named MleCMS inside the modules directory and then copying the extracted files from the trunk.r121 folder of the archive to the Modules MleCMS directory.

Then to make it work I had to make these changes to the following files (basicly replacing $smarty->assign with $smarty->assignGlobal):

MleCMS/lib/class.mle_tools.php
Replace lines from 112 to 116 with:

Code: Select all

[removed by moderator]
MleCMS/action.langs.php
lines 74 to 76

Code: Select all

[removed by moderator]
I haven't made any extensive test but this seems to work fine with:

Code: Select all

{MleCMS action="langs"}
{MleCMS name="snippet..."}
{MleCMS name="block..."}
{$lang_parent}
{$lang_locale}
Last edited by Jo Morg on Sat Feb 06, 2016 9:06 pm, edited 1 time in total.
Reason: No hacks allowed.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: MleCMS get_variable()

Post by Jo Morg »

Please read forum rules before posting!!!!
Thank you.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
samplist
Forum Members
Forum Members
Posts: 38
Joined: Fri Sep 08, 2006 7:42 am

Re: MleCMS get_variable()

Post by samplist »

I'm very sorry didn't want to break the rules, honestly :-[ .
I just thought I'd offer some help, since this is a module I also use for my multilang sites.
So what would be the correct way for this to be implemented?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: MleCMS get_variable()

Post by Jo Morg »

samplist wrote:So what would be the correct way for this to be implemented?
File a bug report on the Forge on the respective project. Give as much detail as possible (just as you did here) adding what the nature of the error was and what your suggestion is meant to fix. That helps the developers; if the fixes are correct chances are they'll be accepted and implemented.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
samplist
Forum Members
Forum Members
Posts: 38
Joined: Fri Sep 08, 2006 7:42 am

Re: MleCMS get_variable()

Post by samplist »

I filed a bug in Forge, let's hope it gets fixed.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: MleCMS get_variable()

Post by Jo Morg »

Thank you.
I'm confident it will be.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”