Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replacing Menu Link Name
07-12-2010, 10:31 PM
Post: #1
Replacing Menu Link Name
How to replace the menu link names on the code:

Original code:
global $root_url,$lcl;
return '<li><a href="'.$root_url.'">'.$lcl['homepage'].'</a></li>
<li><a href="'.$root_url.'">'.$lcl['videos'].'</a></li>
<li><a href="'.$root_url.'?option=popular">'.$lcl['popularvideos'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>';

to this:

global $root_url,$lcl;
return '<li><a href="'.$root_url.'">'.$lcl['Home'].'</a></li>
<li><a href="'.$root_url.'">'.$lcl['Videos'].'</a></li>
<li><a href="'.$root_url.'?option=popular">'.$lcl['Popular Videos'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['Support'].'</a></li>';

****************************
Every time I replace the link names, the link disappears. Any help would be awesome!

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Replacing Menu Link Name - mac10 - 07-12-2010 10:31 PM
RE: Replacing Menu Link Name - admin - 08-12-2010, 02:31 AM

Forum Jump: