Update V1.1 » V2.0
A big version jump with major changes. The Webutler V2 has evolved from an online HTML editor to a small CMS. The basic idea to allow an uncomplicated, individual page design was kept.
For a better handling and order to keep track of a few restructuring and renaming were necessary. Some extensions require new directories. The Webutler still uses the old FCKeditor. The new version of CKEditor, unfortunately not all the features necessary for the Webutler so that an update was not yet possible.
What to do?
Due to the extensive changes a little hand work is called for.
Preparation
- unzip the new version locally
- delete the demo files from the following directories
- /content/blocks (everything except the .htaccess)
- /content/menus (everything except the .htaccess)
- /content/pages (everything except the .htaccess)
- /content/layouts (everything except the .htaccess)
- /content/media/image
- /content/media/file
- /content/media/flash
- /content/media/track
Download the /content directory of the old version from web space and the files to the new directories this way:
- Files from /content/menus (old) to /content/menus (new)
- Files from /content/pages (alt) to /content/pages (new)
- Files from /content/templates to /content/layouts
- Files from /content/media/image (old) to /content/media/image (new)
- If you want to use the lightbox for existing images must create a subdirectory /.box and save an enlarged view of the image in this directory
- Example: /imagepath/image.jpg (small) /imagepath/.box/image.jpg (large)
- For new images, this is done automatically
- Files from /content/media/files (alt) to /content/media/files (neu)
- Files from /content/media/flash (old) to /content/media/flash (new)
- The /content/style/style.css (old) to /content/style (new), overwrite the existing file
Further still, the directories /content/blocks and /content/media/track added, but which play no role for the update. When all files have been moved, the loaded from the web space /content directory can be deleted.
Important! The file names in /content/pages may contain more hyphens. The hyphen is used for the separation of GET variables/required.
Updates
Open all files of /content/pages and /content/layouts with a local HTML editor and update the content via search and replace. In the files menu, no changes should be necessary.
- In the comment placeholders from begin_MENUNAME » begin_menu_MENUNAME from MENUNAME » menu_MENUNAME and from end_MENUNAME » end_menu_MENUNAME
- for future blocks following comments are set: begin_block_BLOCKNAME, block_BLOCKNAME and end_block_BLOCKNAME
- From class="menu_border" is class="block_border" same highlight color for menus and blocks
Forms
Who uses forms and sendform.php, still must make the following changes in the form pages:
- <script src="scripts/checkform.js" type="text/javascript"></script> remove the "checkform.js" is loaded automatically
- The sendform.php load after openable bodytag the page
<?PHP include "includes/forms/sendform.php"; ?>
- Send forms in action attribute no longer "scripts/sendform.php" but to yourself
<?PHP echo $_SERVER['REQUEST_URI']; ?>
- The submit button has to have the name of the sending form (name="sendform")
- The sendform.php from the web space download and fill in the sender information in the file /includes/forms/config.php
Config adapt
The /admin/config.inc.php download from the web space and enter the following variables in the file /settings/baseconfig.php file:
- $server_path » $webutler_config['server_path']
- $homepage » $webutler_config['homepage']
- $admin_name » $webutler_config['user_name']
- $admin_pass » $webutler_config['user_pass']
- $start » $webutler_config['startseite']
The variable $rewrite from the config.inc.php is in the variable $webutler_config['modrewrite'] in the file is moved globalvars.php and is adjustable so no longer have the administration.
Upload and Chmod
To conclude, all upload to the web space. Give the directory /content and all subdirectories and /baseconfig.php CHMOD file settings 777.
Is of course better before they are uploaded everything first to test locally in XAMPP. The variables $webutler_config[server_path] and $webutler_config['homepage'] in the baseconfig.php be adapted for short-term need.