- b2evolution CMS User Manual
- Installation / Upgrade
- Upgrade
- Instructions for specific versions
- Upgrading from 0.9.x to 1.6 alpha
Upgrading from 0.9.x to 1.6 alpha
Re-customizing you skin
If you used a custom skin in version 0.9.x then upgraded to 1.6.alpha, and you want to reuse your customized skin, at the very minimum, you’ll have to change the following:
Step 1. Replace the part:
<base href="<?php skinbase() ?>" .../>
just with:
<?php skin_base_tag() ?>
Step 2. Replace the part:
if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );
(which is probably at the top of your skin) with:
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
Step 3. Replace the line, similar to this one:
<meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset() ?>" />
with:
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $io_charset; ?>" />
Step 4. Add the following line to the beginning of the <head> … </head> part:
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $io_charset; ?>" />
Your skin does not necessarily have all of the lines mentioned above. You may skip the lines that you can’t find in your skin.