Hi,
I just finished
"upgrading" the codes found in the link you posted to 4.x (
demo attached)..
If you are interested, follow these steps:
- First of all, sign into your Admin CP ..
- Then, go to "Styles & Templates >> Style Manager" ..
- After that, choose "Edit Templates" option from your defined vB Style drop-down menu ..
- Then, Expand the template groups and look for "FORUMHOME" template and edit it ..
- Once you enter the template, look for:
- Add this above it:
Code:
<!-- custom block start -->
<ol id="XtraBox" class="floatcontainer">
<li class="forumbit_nopost L1" id="catXtra">
<div class="forumhead foruminfo L1 collapse">
<h2 class="blockhead" style="border: none;">
<!-- title start -->
Title goes here
<!-- title end -->
</h2>
<a class="collapse" id="collapse_c_catXtra" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" title="{vb:rawphrase collapse_this_category}" /></a>
<div class="blockbody" id="c_catXtra">
<div class="blockrow">
Add your code here
</div>
</div>
</div>
</li>
</ol>
<!-- custom block end -->
If you don't want the block to be collapsible, use this code instead:
Code:
<!-- custom block start -->
<ol id="XtraBox" class="floatcontainer">
<li class="forumbit_nopost L1" id="catXtra">
<div class="forumhead foruminfo L1">
<h2 class="blockhead" style="border: none;">
<!-- title start -->
Title goes here
<!-- title end -->
</h2>
<div class="blockbody" id="c_catXtra">
<div class="blockrow">
Add your code here
</div>
</div>
</div>
</li>
</ol>
<!-- custom block end -->
- Edit the codes to suite your needs and then "Save" the template ..
Quote:
This is also XHTML and CSS valid and will keep your homepage validated OK.
|
I hope that this helps you out .!