Post details: Skins, Stubs and Templates...

07/26/05

Permalink 10:29:52 am, Categories: b2evolution Tips, 192 words   English (US)

Skins, Stubs and Templates...

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

That 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'.

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 for your blog. When using a stub or a template, you must also set its filename in the 'Stub name' field. Otherwise, the permalinks will not function properly.

Trackback address for this post:

http://senalycamino.es/b2evolution/htsrv/trackback.php?tb_id=16

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.
Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, a, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
URLs, email, AIM and ICQs will be converted automatically.
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)

Blog B Title

This is the long description for the blog named 'Blog B'.

September 2020
Mon Tue Wed Thu Fri Sat Sun
<<  <   >  >>
  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        

Search

Categories


Archives

Recent Referers


Top Referers

Linkblog

b2evolution

  • b2evolution Project home Permalink
  • This is a sample linkblog entry This is sample text describing the linkblog entry. In most cases however, you'll want to leave this blank, providing just a Title and an Url for your linkblog entries (favorite/related sites). Permalink

contributors

Misc

Syndicate this blog XML

What is RSS?

powered by
b2evolution