CMS MADE SIMPLE FORGE

Multilanguage CMS

 

[#10878] Make MleCMS work with CMSMS V2

avatar
Created By: John Ablaxoublabla (samplist)
Date Submitted: Sat Feb 06 16:41:50 -0500 2016

Assigned To:
Version: 1.11.4
CMSMS Version: v2.1.2
Severity: Critical
Resolution: None
State: Open
Summary:
Make MleCMS work with CMSMS V2
Detailed Description:
Ok so here's what I did to make the MleCMS module work with CMSMS version 2.1.2

I downloaded the MleCMS module from here:
http://viewsvn.cmsmadesimple.org/dl.php?repname=mlecms&path=%2F&isdir=1&

I installed it by creating a directory named MleCMS inside the Modules directory
and then copied 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 changes to the following files (replaced
$smarty->assign with $smarty->assignGlobal):

MleCMS/lib/class.mle_tools.php
Replaced $smarty->assign with $smarty->assignGlobal on lines 112 to 116

MleCMS/action.langs.php
Replaced $smarty->assign with $smarty->assignGlobal on lines

Can these changes be implemented on the module?

Thanks.


History

Comments
avatar
Date: 2016-02-07 14:22
Posted By: Eric Pesser (heriquet)

Hi John,

Is your dev fully compatible with the current version?

Can you see it won't change anything on the current 1.12 sites ? So that
everybody can migrate to CMSMS 2.* sites thanks to that dev?

If so, I propose that some guys test it on their sites, and if it's ok, then we
release.

For the version, I propose you to name it beginning by "2" so that we know it's
CMSMS 2 compatible.

What do you thing about this?

Eric
      
avatar
Date: 2016-02-10 02:41
Posted By: John Ablaxoublabla (samplist)

Yes making the aforementioned changes makes it compatible with current version
of CMSMS (2.1.2 “Andros Town”).
I will check it with 1.12 also. So how do I proceed from now on?
      
avatar
Date: 2016-02-10 02:50
Posted By: John Ablaxoublabla (samplist)

Update: I checked it with 1.12 but it does not work.
      
avatar
Date: 2016-02-19 04:52
Posted By: John Ablaxoublabla (samplist)

So, is there any way these changes make it to release? Sure there is a breaking
change with older versions of CMSMS (1.12) but I think many users will find it
usefull for Mlecms to exist for CMSMS v2.x.
      
avatar
Date: 2016-02-22 03:00
Posted By: Mathieu Muths (airelibre) (airelibre)

It will - Eric is working on it - a lot of people (including us) need an
multi-language solution for cmsms2 ;)
      
avatar
Date: 2016-02-24 06:09
Posted By: John Ablaxoublabla (samplist)

Thank you for the respond Mathieu, that's good to hear.
      
avatar
Date: 2016-02-24 08:05
Posted By: Eric Pesser (heriquet)

Hi John,

I think the best should be to compose a beta testers group so that we can
approve or not your changes.

My point of view is that we must keep the actuel MleCMS working in 2.0 exactly
the same as on 1.X series as it is used on a lot of sites.

So upgrade will be a critical part before posting a new release.

I'd like to make part of this group.

Can you send me the last version you made? I suppose a XML file made by the
export of the module.

Thanks,

Eric
      
avatar
Date: 2016-02-25 06:08
Posted By: John Ablaxoublabla (samplist)

Eric hi, I have sent you the MleCMS files in .zip archive.
Thanks.
      
avatar
Date: 2016-02-25 14:04
Posted By: John Ablaxoublabla (samplist)

Eric hi, I have also sent you the XML file.
Thanks.
      
avatar
Date: 2016-08-11 18:13
Posted By: Zdeno Kuzmany (xxl)

Guys, do you have some progress with this issue?

I'm developer MleCMS for CMSMS 1.x, but I want release new version.

The main issue is thath InitializeFrontend doesn't know page alias
(cms_utils::get_current_alias())

Do you have solution on this?
      
Updates

Updated: 2016-02-07 14:22
resolution_id: => 5