|
Text
|
| Adding Mainmenu / Changing Links |
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



Joined: 11 Jun 2006
Posts: 909
Location: Hampshire,England

Add Comment
Show Comments
|
Posted: Sat May 26, 2007 9:58 pm |
 |
|
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 MAINMENU then (if you do then goto Step 5)
1.Click on the Blank box icon that looks like this
Now you see a screen like this
2.Add MAINMENU 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_mainmenu.tpl
And add the following code
| Code: | <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_mainmenu_title -->
<tr>
<th colspan="1" height="25" class="thCornerL" nowrap="nowrap">{MAINMENU_TITLE}</th>
</tr>
<!--END switch_mainmenu_title -->
<!-- BEGIN mainmenu_row -->
<tr>
<td class="row2"><span class="topictitle"><a href="{mainmenu_row.U_VIEW_MENU}" class="topictitle">{mainmenu_row.MENU_NAME}</a></span></td>
</tr>
<!-- END mainmenu_row -->
</table> |
You Can Change The Links Already there and Add more yourself in admin panel --- 3. Styles --- Portal Settings --- MENU
An EXAMPLE
| Code: |
[MAINMENU]
Item 1 howtodoit Portal home
Item 2 howtodoit Forum View
Item 3 Support Forum
Item 4 Myfastforum Forum Control Panel
Item 5 Myfreeforum Forum Control Panel
Item 6 Myfineforum Forum Control Panel
Link 1 http://howtodoit.myfreeforum.org
Link 2 http://howtodoit.myfastforum.org
Link 3 http://forum.myfreeforum.org/
Link 4 http://myfastforum.org/index.php?option=com_freephpbbforum&task=loginforum&Itemid=27
Link 5 http://myfreeforum.org/index.php?option=com_freephpbbforum&task=loginforum&Itemid=27
Link 6 http://myfineforum.org/index.php?option=com_freephpbbforum&task=loginforum&Itemid=27
|
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
Into cms_index_body.tpl or where ever you wish it to appear
|
|
| |
|
 |
|
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
HOWTODOIT was designed and built by Symon Field Creator Of ☆ ☆ FunnyWorld ☆
HOWTODOIT© Symon Field 2006,2007,2008 Powered by phpBB Group © 2001,2005.
|
|
|
|