Warning: Cannot modify header information - headers already sent by (output started at /home/wwwabide/public_html/conf/_basic_config.php:1) in /home/wwwabide/public_html/inc/sessions/model/_session.class.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwabide/public_html/conf/_basic_config.php:1) in /home/wwwabide/public_html/inc/skins/_skin.funcs.php on line 379
Skins, Stubs, Templates & website integration...
« About widgets...Apache optimization... »

Skins, Stubs, Templates & website integration...

06/16/09

Permalink 04:52:19 pm, by didaskalos Email , 206 words   English (US)
Categories: b2evolution Tips

Skins, Stubs, Templates & website integration...

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.

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

Feedback awaiting moderation

This post has 353 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

If you want to HAVE and DO more, you first have to BE more!

Search

XML Feeds

powered by b2evolution free blog software