PDA

View Full Version : How to add/modify a new section like 'chat' on mený instead of UPLOAD



joal
08-07-2010, 11:02 PM
Hello, i've just midified the 'header.tpl', changing the menu into:

<li class="nf-home-main-menu"><a href="{$baseurl}/" {if $mainmenu eq "0"}class="active"{/if}>{$lang0}</a></li>
<li><a href="{$baseurl}/videos" {if $mainmenu eq "1"}class="active"{/if}>{$lang1}</a></li>
<li><a href="{$baseurl}/categories" {if $mainmenu eq "2"}class="active"{/if}>{$lang2}</a></li>
<li><a href="{$baseurl}/chat" {if $mainmenu eq "up"}class="active"{/if}>SEXY CHAT</a></li>
<li><a href="{$baseurl}/cams" {if $mainmenu eq "5"}class="active"{/if}>LIVE CAMS</a></li>
<li><a href="{$baseurl}/members" {if $mainmenu eq "3"}class="active"{/if}>{$lang3}</a></li>
<li><a href="{$baseurl}/community" {if $mainmenu eq "4"}class="active"{/if}>{$lang4}</a></li>


I've created a new 'chat.tpl' and copied the content of 'videos.tpl' to test, but no result. It gives to me an error page! What should I do? What's missing? Thank You

Admin
09-07-2010, 10:59 PM
You will also need to code a php file for it.