jfb-skinning-board-wrappers [Jcink.com Wiki]

JFB >> Skinning >> Board Wrappers

The board wrappers section of JFB is the primary place you can customize the HTML, and add custom codes to the board. Our wrappers are kept all in one area for you to have greater customization.

Default Board Wrappers

Here are the default JFB board wrappers in case you lose/mess up yours:

<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><% TITLE %></title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<body>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% NAVIGATION %>
<% DSHOUTBOX %>
<% BOARD %>
<% STATS %>
<% COPYRIGHT %>
</div>
</body>
</html>

Basic Wrapper bits

<% TITLE %>  ~ the title of the board as grabbed from "General settings." Typically this is left alone in the <title> tag of the wrapper

<% GENERATOR %> <% CSS %> <% JAVASCRIPT %> ~ These three should almost always be right below the <title>, they carry the CSS, javascript, and other functions. It's very important to have the <% CSS %>  tag or else your skin will not work.

<% BOARD HEADER %> ~ This is the header of the board, carrying the navigation, the logo, the menu, and everything else you see in the "head" or header of the page.

<% NAVIGATION %> ~ The navigation links that you see while viewing, such as, for example Your forums >> A forum >> Viewing a topic.

<% DSHOUTBOX %> ~ The shoutbox, IF enabled for global viewing in wrappers, will appear. You should delete this bit if you are not using it.

<% BOARD %> ~ The entire board area itself, that means anywhere in between the navigation and the copyright area. 

<% STATS %> ~ This is for debug information at the bottom of the board, such as: 
[ Script Execution time: 0.1234 ]   [ 17 queries used ]   [ GZIP Disabled ]   [ Server Load: 3.32 ] but you ALSO need to enable this to see the skin chooser.

<% COPYRIGHT %> ~ The board copyright. It should be noted that when people reference FOOTERS for codes, BELOW the copyright or above it is considered the footers.

Advanced Wrapper Bits

These are more advanced wrapper bits that coders can use to make their work easier. Variables below can be called as such and are pulled from the board itself. You can read more about these here: jfb-skinning-board-wrappers-advanced

 
jfb-skinning-board-wrappers.txt · Last modified: 2011/07/17 02:31 by viruszero
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki