Skins, Stubs, Templates & website integration...

by Earl Randall

By default, blogs are displayed using a skin. (More on skins in another post.)

This means, blogs are accessed through 'index.php', which loads default parameters from the database and then passes on the display job to a skin.

Alternatively, if you don't want to use the default DB parameters and want to, say, force a skin, a category or a specific linkblog, you can create a stub file like the provided 'a_stub.php' and call your blog through this stub instead of index.php .

Finally, if you need to do some very specific customizations to your blog, you may use plain templates instead of skins. In this case, call your blog through a full template, like the provided 'a_noskin.php'.

If you want to integrate a b2evolution blog into a complex website, you'll probably want to do it by copy/pasting code from a_noskin.php into a page of your website.

You will find more information in the stub/template files themselves. Open them in a text editor and read the comments in there.

Either way, make sure you go to the blogs admin and set the correct access method/URL for your blog. Otherwise, the permalinks will not function properly.

2 comments

Comment from: ringtones [Visitor]
ringtonesGreat post. Hope you write more on the subject soon.
12/12/10 @ 00:20
Comment from: Seminal Fluid [Visitor]
Seminal FluidA semen fluid volume analysis evaluates certain characteristics of a male's low semen volume and the sperm amount contained in the low semen. It may be done while investigating a couple's infertility problems or maybe after a vasectomy to verify that the procedure was successful. It is also used for testing donors for semen donation. In the last few years it is really possible to produce more semen with completely safe and natural ways like buying herbal pills from the various Internet shops. Ejaculate volume is the volume of sperm concentration of sperms in your seminal fluid. A lot of factors are taken into consideration to measure the ejauclate count of a every man for example the true length of time between ejaculations, semen sample analysis, how the sample is kept when being transported to the lab. Pills for more ejaculation fluid is fantastic 100% herbal mix that without doubt will increase a lot the amount of sperm ejaculation fluid by as much as 400 percent. The amazingly popular natural tablet has some native Australian vitamins, herbal and minerals.
01/10/11 @ 03:10

This post has 10 feedbacks awaiting moderation...