Powered by MediaWiki
Personal tools

Upgrade from 0.9.x to 1.6 alpha

From B2evolution

Jump to: navigation, search

[edit] Skins

If you use a custom skin, at the very minimum, you'll have to change the following:

  • Replace the part
 <base href="<?php skinbase() ?>" ... />

just with

 <?php skin_base_tag() ?>
  • 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.' );
  • 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; ?>" />
  • Add the following line to the beginning of the <head> ... </head> part:
 <?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>

Your skin does not necessarily have all of the lines mentioned above. Just skip those, which are not present.