Website integration
Posted by Yosa Cs | Posted in Label 1 | Posted on 2/09/2011 01:04:00 AM
0
From b2evolution manual
Jump to: navigation, search
While b2evolution can be used as a standalone blogging platform, it is also designed to be used as a blog/news/content manager to be embedded in a larger site.
For example, our website - b2evolution.net - itself uses b2evolution for several sections such as the news blog, the screenshots browser or even the donors listings.
Yet, other parts of the site are just static pages or even pages generated by other software such as phpBB for the forums or MediaWiki for this Wiki Manual.
Achieving this basically only requires 2 steps:
1. Anchor a b2evolution blog to one or more specific location(s) of your website through the use of stub files.
2. Adapt the look & feel of your b2evolution blogs in order to match the rest of your site by customizing a skin.
For advanced users, those two steps can be further combined into one by using a "noskin" template (such as a_noskin.php) instead of a stub file above.
[edit] Installing b2evolution as part of a larger site
You can install b2evolution at the root of your website or within a subdirectory.
The easiest solution is to install at the root. If that is not an option, try to install b2evo at a level that is high enough for all your projected "blog pages" to be under the b2evolution folder. If that is not an option either, it *is* possible to have b2evolution blogs running outside of the b2evolution root *but* that will require you to edit some paths in the advanced config file.
Once b2evolution is installed, you'll want to place stub files at the different locations where you'll want b2evolution to generate dynamic content pages.
One of the easiest ways to do that is to move the sub files that come with b2evolution (named blog1.php, blog2.php, etc...) to their desired location and rename them to what you want. Do not forget to also adjust the new URL/location of your blog(s) in the backoffice under Blog Settings > URLs.
For details, see Call a blog from a subdirectory and repeat for as many blogs/website sections as needed.
[edit] Porting the site design to your blog
There are basically 2 ways to proceed here:
* Either you find a skin which works "close enough" to the design of your site and you then tweak it in order to match your site. Edit the CSS, Add the site navigation...
* Or you start with a static page of what your blog should look like in your site. You then create a skin or template form scratch and add the Template tags into the page one by one to make it dynamic.
See Create a skin based on an existing layout.
Retrieved from "http://manual.b2evolution.net/Website_integration"
Category: Integration
Comments Posted (0)
Posting Komentar
Silahkan berkomentar disini