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


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

Adding links Menu / Changing Links

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 LINKSMENU 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 LINKSMENU 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_linksmenu.tpl

And add the following code

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
   <tr>
        <th colspan="1"  height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU_TITLE}</th>
     </tr>
<!--END switch_linksmenu_title -->     
  <!-- BEGIN linksmenu_row -->
  <tr>
   <td class="row2"><span class="topictitle"><a href="{linksmenu_row.U_VIEW_MENU}" class="topictitle">{linksmenu_row.MENU_NAME}</a></span></td>
  </tr>
  <!-- END linksmenu_row -->
</table>


6.You Can Change The Links Already there and Add more yourself in admin panel --- 3. Styles --- Portal Settings --- LINKSMENU

An EXAMPLE

Code:

[LINKSMENU]
item3=Forumfoxes2
link3=http://www.forumfoxes2.myfreeforum.org
item4=supportfourm
link4=http://www.myfreeforum.org
item5=theghosthousegang
link5=http:/theghosthousegang.myfreeforum.org


item3 = forumfoxes2 (The Title Of The Link)
link3 = http://forumfoxes2.myfreeforums.org (The link / url to the site)

Now you will see that forumfoxes2 has the url http://www. this will link to their sub portal page where as the Theghosthousegang has just http:// this will link to the normal forum page.

You can add as many as you like but remember too many links might make your members scroll for England

Now you have done that you have to add

Code:
{MYFF.LINKSMENU}


Into cms_index_body.tpl or where ever you wish it to appear

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