... Elxis version 2009.3 codename Aphrodite is out, download it from Elxis Download Center (EDC) ...

IOSR TinyMCE editor fix

From Elxis Official Documentation

Jump to: navigation, search
This page is part of the IOS Reservations v3.x online user guide created by Ioannis Sannos (Is Open Source).

You will find all articles of this manual inside the IOS Reservations category.
Purchase online IOS Reservations     IOS Reservations demo   IOSR Connector demo
License Commercial. Copyright (c) 2008-2011 Is Open Source. All rights reserved.
November 13, 2010: Version 3.5 released.


Because of a small bug the Elxis' TinyMCE editor wont work properly on Elxis 2009.0 or older releases when you manage hotels or rooms from front-end (there is no problem when you work from the administration's area). To make it work properly you have to either upgrade Elxis to 2009.1 (recommended) or apply the fix shown bellow.


When the problem occurs

The TinyMCE wont be loaded properly when: You manage hotels or rooms from the IOS Reservations Control Panel in Elxis front-end area AND you have enabled the WYSIWYG editor AND you use Elxis 2009.0, 2008.1 or 2008.0. In all other cases you don't have to apply a fix!


How to fix the editor

In case you face the problem follow these orders to fix the editor.

Open mambots/editors/tinymce.php file with any text editor (pspad is free and fine).

Find function botTinymceEditorInit (line 101).

In the top of this function you will find this block of code:

if (defined ('_SIMPLY_TINYMCE')) {
    botTinymceEditorInitF();
    return;
}

Change it to:

if (defined ('_SIMPLY_TINYMCE')) {
    return botTinymceEditorInitF();
}

Save the file, done!

This fix has been applied to Elxis 2009.1 Tartarus rev2452 (DEV version)
Personal tools