MleCMS get_variable()
MleCMS get_variable()
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?
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?
Re: MleCMS get_variable()
Are you trying to install a non-2.x compatible module into 2.x?
Re: MleCMS get_variable()

(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.
Re: MleCMS get_variable()
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.
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!
* 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!
Re: MleCMS get_variable()
Yeah it's a good idea. I'll do it
Thanks for all informations.

Thanks for all informations.
Re: MleCMS get_variable()
Rolf's site has a bunch of tips for doing ML sites:
http://www.cmscanbesimple.org/blog/mult ... ade-simple
http://www.cmscanbesimple.org/blog/mult ... ade-simple
Re: MleCMS get_variable()
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.
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.
Re: MleCMS get_variable()
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.
Re: MleCMS get_variable()
There are currently 2 modules under development:
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.
- - MleCMS: some new developers seem to have joined the project as I said before;
- - Eridu: My own project, a fork of old Babel;
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!
* 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!
Re: MleCMS get_variable()
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:
MleCMS/action.langs.php
lines 74 to 76
I haven't made any extensive test but this seems to work fine with:
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]
lines 74 to 76
Code: Select all
[removed by moderator]
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.
Reason: No hacks allowed.
Re: MleCMS get_variable()
Please read forum rules before posting!!!!
Thank you.
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!
* 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!
Re: MleCMS get_variable()
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?

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?
Re: MleCMS get_variable()
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.samplist wrote:So what would be the correct way for this to be 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!
* 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!
Re: MleCMS get_variable()
I filed a bug in Forge, let's hope it gets fixed.
Re: MleCMS get_variable()
Thank you.
I'm confident it will be.
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!
* 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!