Topic: MiaCMS 4.8

I have installed MiaVMS 4.8.
1. In MiaCMS Language Editor I couldn't tick language radio button for Manage or Export in IE7. In FF3 it is OK.
The same I have in Teplate Editor.
2. In MiaCMS Updates I have:
MiaCMS Version Information:
Your MiaCMS version is out of date. We recommend you upgrade.
The current stable version is 4.6.5
Your version is 4.8.0
3. In article editing I couldn't change style. (MostlyCe)

Last edited by tmrow (2009-01-19 11:58:09)

Re: MiaCMS 4.8

#1 & #3 - tmrow it sounds as if not all the JavaScript files are in place.  Assuming you FTP'd the files to your host, please confirm everything made it up successfully.

#2 - We forgot to update the version check info.  It is updated now and the update checker should be properly showing 4.8.0 as the stable release.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

I downloaded file MiaCMS_v4.8.tar.gz. Unpack to the proper catalog. Made a full installation successfully.
About #3 I changed Override Template CSS: to No and I can change style. But #1 I dont know which files are missed. The same is in template manager and review/uninstall components, modules and mambots.
Similar problem is in Content Items Manager. Click on name of item not open editing. For editing I should check this item and press Edit button. All this bugs are in IE7 but not in FF3.
I think problem is in YAHOO.miacms.base. In version 4.6.5 there was no problem with this operatons.

Last edited by tmrow (2009-01-20 12:24:32)

Re: MiaCMS 4.8

Good ole IE !   

We're looking into this now and expect a fix in a few days.

Hopefully, we'll hear more from other users about other problems, if any.

Please don't be shy guys/gals. If you think there is a problem, just let us know here.

http://brilaps.com || http://blog.ocszone.com || http://miacms.org

Re: MiaCMS 4.8

I have a fix for you to test.  Please download the following zip file - http://miacms.org/downloads/miacms48_IE_fix.zip.  Extract the zip and place the two files in your /includes/js folder.  Let them replace the existing ones.  This should fix the IE issues you reported.  Let us know.  Thanks.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

Thank you for fix.
It is only one problem. In Language Manager I can tick radio button, but I can Manage only English. I have installed polish language UTF-8 and after klicking Manage I have system information:
You can translate only languages in utf-8. to translate a language in another encoding please make it as default first.
That is in IE7. In FF3 it is OK.
Template manager, review/uninstall components, modules and mambots and Content Items Manager working OK.

Re: MiaCMS 4.8

OK I reuploaded the same zip file.  This time it includes changes to the same two files (so replace them again) and several updated language files.  I zipped it up in the proper directory structure.  Please try again.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

This fix is OK. But i found next IE7 problem.
In Content Item: Edit (MostlyCE - newlines = P elements), when I press enter I dont have newline but only [br/].
After clicking Visual character on/off and press enter I have newline.
Is this bug?

Last edited by tmrow (2009-01-23 03:59:42)

Re: MiaCMS 4.8

Can you tell me if it happens in a new item before you do a save or apply?  I just want to rule out the filtering that is done on save inside MiaCMS.

The HTML generation and cleanup done within the editor itself is control by the underlying core editor (TinyMCE).  You can control your preferences of breaks versus paragraphs within MOStlyCE Admin, but outside of that if it is being changed on you unexpectedly (and not directly because of a save or apply within MiaCMS) it is either a bug in TinyMCE or a feature of the HTML cleanup.  We don't hack on the TinyMCE core itself, we tightly integrate it into MiaCMS and extend its options within the CMS via MOStlyCE Admin.  If you feel that it is a bug then it would probably be best to report to the TinyMCE project and we'd pick up the fix from them next time we upgrade.  First though try it on their latest example and see if it still happens there - http://tinymce.moxiecode.com/examples/full.php.  We are 1 or 2 releases behind so perhaps they have already fixed it.  Let me know.  Thanks.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

ole IE fix


successs
thank you ocs

Linux, Delphi, Eclipse,

Re: MiaCMS 4.8

In new one and existing item editing. In TinyMCE demo it's working OK.

Last edited by tmrow (2009-01-23 10:04:53)

Re: MiaCMS 4.8

OK, thanks for checking.  Then the next time MOStlyCE is updated you'll have the fix.  I'm not sure when I'll get around to upgrading it just yet.  Been working on a new version.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

cauld wrote:

OK, thanks for checking.  Then the next time MOStlyCE is updated you'll have the fix.  I'm not sure when I'll get around to upgrading it just yet.  Been working on a new version.

I have installed MOStlyCE 3.2.4.1. Problem with newline is the same. I have allways [br/] in IE.
In TinyMCE demo it's working OK.

Re: MiaCMS 4.8

I have changed lines 250 and 251 in mostlyce.php from:
250                   force_br_newlines : "$br_newlines",
251            force_p_newlines : "$p_newlines",

to
250                   force_br_newlines : $br_newlines,
251            force_p_newlines : $p_newlines,

and it's working. I have a newline.

Re: MiaCMS 4.8

Cool, thanks for the heads up.  Glad it is working.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

FYI, I have corrected this issue and it will be changed by default in version 3.2.4.1a which I'll be releasing shortly.

http://brilaps.com
http://opensourcepenguin.net

Re: MiaCMS 4.8

Thanks Cauld.
I have done modifications in mostlyce_frontend.php:
function getImageList() {
    global $mosConfig_absolute_path, $mosConfig_live_site, $mosConfig_secret;
    $pathToImages = $mosConfig_absolute_path.'images/stories';
    $imagesArray = array();
    $imageList = scan_directory_recursively($pathToImages);

    $validExtensions = array('jpeg', 'jpg', 'png', 'gif');
    $count = 0;

    $jsCode = 'var tinyMCEImageList = new Array(';
    foreach ($imageList as $image) {
        $count++;
        $crtExtension = substr(strrchr($image, '.'), 1);
        if (in_array($crtExtension, $validExtensions)) {
            $urlImagePath = str_replace($mosConfig_absolute_path, $mosConfig_live_site.'/', $image);
            $postAbsolutePath = str_replace($mosConfig_absolute_path, '', $image);
            if ($count < count($imageList )) {
                $jsCode .= "[\"$postAbsolutePath\", \"$urlImagePath\"],";
            } else {
                $jsCode .= "[\"$postAbsolutePath\", \"$urlImagePath\"],";            }   
        }      
    }
    $jsCode = substr($jsCode, 0, strlen($jsCode)-1); //remove final comma
    $jsCode .= ");";
    //Dump out the newly assembled list of images for MOStlyCE
    echo $jsCode;
}
I have done that because sometime I couldn't see list of images.
What do you think about MOStlyCE skins?
TinyMCE offers default and O2K7.

Last edited by tmrow (2009-06-04 00:26:50)

Re: MiaCMS 4.8

The frontend stuff has been reworked a bit for 3.2.4.1a to support a new feature, content templates.  I have also added support for skins.  Thanks for the suggestion.  Release coming shortly.

http://brilaps.com
http://opensourcepenguin.net