MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Teky -Add Header menu
AuthorText
pokerilahja
Donator
Avatar

Posts: 31
Contributes: 26

Gender: _NEUTRAL_
Online: No
Date: 07/08/2008 12:02
Teky -Add Header menu
#post10971
Hi there, once again...

How can i add menu items on the Teky template?

I trydet home.html and simple copy a line, but the hoover stays on the new menu name, and if i copy <?php echo $m3; and make it <?php echo $m4; it says erno 8...Smile
Delete Edit Quote
 
Zion
Junior Member
Avatar

Posts: 27
Contributes: 29

Gender: _MALE_
Online: No
Date: 07/08/2008 12:19
Re: Teky -Add Header menu
#post10976
I'm not using it, but it seems you need to add couple lines in the code of the home.html file.
this line:
code
$m1 = $m2 = $m3 = $m4 = "";

make it to:
code
$m1 = $m2 = $m3 = $m4 = $m5 = "";

after those lines:
code
case "gallery":
    $m4 = ' style="background-color:#EDEFF1;"';
break;
 

add those lines:
code
case "new-item":
$m5 = 'style=background-color:#EDEFF1;"';
break;
 

and after those lines:
code
<li><a href="index.php?page=gallery" title="Gallery"<?php echo $m4; ?>><div>Gallery</div></a></li>
<li><div><img src="images/menu_spacer.gif" alt="|"></div></li>

add those lines:
code
<li><a href="index.php?page=new-item" title="New-Item"<?php echo $m5; ?>><div>New-Item</div></a></li>
<li><div><img src="images/menu_spacer.gif" alt="|"></div></li>


new-item = the title of your menu, like NEWS or something.
Backup before trying it. I didn't tested it.
Edited: 07/08/2008 12:20
Zion.
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1300
Contributes: 537

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 07/08/2008 12:30
Re: Teky -Add Header menu
#post10979
*
Edited: 07/08/2008 12:31
Reason: already responded
Delete Edit Quote
 
pokerilahja
Donator
Avatar

Posts: 31
Contributes: 26

Gender: _NEUTRAL_
Online: No
Date: 07/08/2008 14:17
Re: Teky -Add Header menu
#post10995
Hi, it works, i get new items on the navigation, cool...But only one little thing left... The "hoover" or active -shaddow, is all the time on "home"...
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo