Archive for howtodoit.myfastforum.org Walkthough guides for myfreeforum phpbb 2 forums
 


       howtodoit.myfastforum.org Forum Index -> Portal Hacks
Symon

Categories

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings

You will now see a screen that looks like this




If you do not already see a portal named CATEGORIES then (if you do then goto Step 6)

1.Click on the Blank box icon that looks like this

Now you see a screen like this





2.Add CATEGORIES to the name

3.And then what you want in the Title.

4. Click Create New Portal

5. Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find

cms_categories.tpl

And add the following code

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_categories_title -->
   <tr>
        <th colspan="1" width="100%" height="25" class="thTop" nowrap="nowrap"> {CATEGORIES_TITLE}</th>
     </tr>
<!--END switch_categories_title -->     
  <!-- BEGIN categories -->
  <tr>
   <td class="row1"><span class="topictitle"><a href="{categories.U_VIEW_CATEGORY}" class="topictitle">{categories.CAT_NAME}</a></span></td>
  </tr>
  <!-- END categories -->
</table>


6.You Can Change The bit below in bold in admin panel --- 3. Styles --- Portal Settings --- CATEGORY

Code:

forums= 1,12,
categories= 2,3,4,5,7,11
safemode=0
debug=0


Now you can just simply change the categories numbers to match that of the url of the category that you want to show, making sure each is separated with a ,

Simply run your mouse/cursor over the the category's link and at the bottom of your page (Works in i.e ) you should see the link url with the number in it.

       howtodoit.myfastforum.org Forum Index -> Portal Hacks
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum