In this tutorial I will show you how to make and add a global Affiliates block in the footer of your IPB 2.3.x board |
To start off with let's make our affiliates block. This will consists of two tables. The first table is 2 rows, inside the first table in the bottom TD will be the second table.
This table will have 2 rows and 5 columns.. As seen in the following code. TD width will roughly be 20% each. Align center is optional.
For this example we will have the top row buttons and the bottom row text links, just for variety nothing special.
For a little individuality we will use the borderwrap class from IP.B CSS. This will wrap each TD in a 1px stroke ( depending on your borderwrap code ) |
| Because of limitations in html please view this page for the CODE |
| |
| Now that we have a table let's add some example buttons and TEXT. These buttons are standard 88x31 |
 |
| Innovative-Coding Pixel2Life NeThinGoez ColourLovers |
| |
Now add your buttons/text in the proper TD that you would like. Or just follow along here.
With the buttons and text in place the code will look like this. |
| |
| Now for the fun part. Adding the table to IPB's footer to display on every page. |
| |
| Login to your IP.B and head over the the ACP. Once there navigate to LOOK AND FEEL > find your skin. |
Click on the options button ( ) and click EDIT TEMPLATE HTML.. Then, All global HTML > global_board_footer |
FIND:
<if="$this->ipsclass->input['act']=='idx'"></div></if>
ADD ABOVE:
THIS CODE
|
| |
| Click, SAVE TEMPLATE BIT and refresh your board and you should have something similar to this depending on your buttons/text |
| |
 |
| obviously don't use my link buttons that I host. If you would like to affiliate with me you are welcome to visit my affiliates page. |
| Thanks! |
| |
|
|
#
1330
|
|
|
|