Upgrade from 2.x to 3.x
b2evolution 2.x skins should work in b2evolution 3.x without modification. (see below if you have issues with the menu bar)
However, if you want to take advantage of all the new features in b2evolution 3.0 you may need to add a few skin tags to your skin.
Note: as of b2evo 3.1.0-beta, not all skins that are packaged with b2evo include the following. This will be fixed in the stable release.
See posts.main.php in the evopress skin for an example.
Note: The following procedure requires a lot of code. We will try to package that into smaller code for the stable release. The following is valid code though.
Locate this section in your
*.main.php skin file:
This is where the loop of posts starts.
In order to display featured or intro posts, you need to add the following before the code above, like this:
What if the new menu bar doesn’t work?
The menu bar is not typically part of the skin so it should work with any skin, including third party skins.
CSS for the menu
The first thing to try is to reload the page several times (until the cache clears) or try on another browser. Most issues only appear the first time you try to load the menu after you upgrade.
If that doesn’t work, it is very likely that the skin you are using is using some dirty CSS tricks (like !important) that tamper with the menu styles.
The CSS styles for the menu are located in
The menu is included through the
_html_header.inc.php file. Again, this file is not typically part of a skin. However if your skin requires to have this file, here is what you need to know:
In version 2.x you had this:
In version 3.x you should now have:
add_js_for_toolbar(); and see what happens.
Removing the menu
If for some reason you decide you’re better off without the evobar menu, comment out
add_js_for_toolbar(); as said above and also comment out the following line:
Created by • Last edit by on Nov 10, 2013