Update V2.0 » V2.1
FCKeditor was replaced by CKEditor and EditArea by CodeMirror. In addition, the Webutler has been extended to operate multilingual pages.
The Webutler plugins and settings for the CKEditor are completely outsourced, so that a straightforward update to newer versions of CKEditor is possible. If you want to update the editor itself, may except "/wb_ckeplugins", "/wb_ckeskin" and "wb_ckeconfig.js" from the /admin/ckeditor delete everything and upload a new version. If you want to avoid mistakes, you should test everything locally first.
What to do?
- Using FTP, delete the complete directory /admin
- Upload the new /admin directory
- Overwrite the file "/index.php" with the new file.
- Override the "/includes/functions.php" file with the new file.
- Copy the "/content/access/offline.php" file on the server.
- Copy the directory "/includes/languages" on the server.
- Mail recipients can now be created in the Administration and selected in the editor.
- The variables $formsent from the config.php of the form module must be transferred to the Administration.
- Using FTP, delete the directory /includes/forms, before uploading modified settings (config.php, logo file) into the new files.
- Upload the new /forms directory
- CKEditor uses to load its own styles and templates now Javascripts instead of XML files.
If the files /content/style/fckstyles.xml and /fcktemplates.xml have been changed:
- Download the files fckstyles.xml and fcktemplates.xml from /content/style
- Transfer the own styles in the file "ckestyles.js"
- Transfer the own templates in the file "cketemplates.js"
- Important! Pay attention to the formatting according to the examples
- delete fckstyles.xml and fcktemplates.xml of /content/style from the server
- Load the files ckestyles.js and cketemplates.js to /content/style on the server
In addition, copy the folder /content/media/image/tpl_icons to /content/media/image to the server. The directory contains the template previews.
- In the "baseconfig.php" file the variable $webutler_config['watermark_imgdir'] came about. This you have to add in your baseconfig.php.
- In the file "globalvars.php", the following variables must be added:
- $webutler_config['urlgetvars'] for the number of URL GET parameter
- $webutler_config['languages'] and $webutler_config['setnewlang'] for the languages administration
- $webutler_config['fullpageedit'] for the placement of the menu item "Edit current page"
- $webutler_config['adminnewpage'] and $webutler_config['admindelpage'] "Add page" to display the window "Delete page" and
- $webutler_config['adminlayouts'], $webutler_config['adminmenus'] and $webutler_config['adminblocks'] for the editing features of layouts, menus and blocks in the "Advanced administrator functions" window
- $webutler_config['mediabrowser_wh'] and $webutler_config['imageeditor_wh'] as a central adjustment for the size of the media browser and image editor popup windows
These new variables can be copied from the new globalvars.php out.
- The Google Maps plugin editor now uses the new Maps API V3. It's just a simple plugin with a site with info window (bubble) can be specified. In the new API, you need no more key. Created with the FCKeditor maps can not be edited with the new plugin. If you want to change, you must delete the old map and create a new one. On one page, only one map can be placed.
- Multilingualism: If you want to change an existing page on multilingualism has yet to update the following modules. Who does not need multilingualism or the affected modules, may waive the update.
- The search function (directory: /includes/search):
- Accept the entries from the old config.php in the new config.php.
- In the entries of the include pages plugins.php expand.
- Who wbsearch.css changes to the files or did wbsearch.tpl, it must also take into the new files.
- Delete the old directory from the server, the new upload.
- The user management (directory: /modules/users):
- Accept the entries from the old config.php in the new config.php.
- Download the image for mail delivery, and copy the new module directory.
- Who sendmail.php changes to the files, loginblock.css, loginblock.tpl, userspage.css or has made userspage.tpl, it must also take into the new files.
- Delete the old directory from the server, the new upload.
- The news module (directory: /modules/news):
- Back up /config.php file, the database (/db/news.sqlite) and the /img directory
- Delete the old news module from the server
- Load the new news module on the server
- The backed up files config.php and news.sqlite and load the images from the directory /img to the server
- config.php file and enter the /db and /img with its contents CHMOD 777
- Call the file "update_newsdb_20-21.php" in the browser and perform the database update
- The update_newsdb_20-21.php can be deleted after the update
The enhancements to the admin interface and are visible only when multilingualism in the globalvars.php is enabled.