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
08-12-2010, 02:31 AM
Post: #2
RE: Replacing Menu Link Name
open locale/en.php
end find
$lcl['homepage']
$lcl['videos']
$lcl['popularvideos']
$lcl['contact']

and chage teir values
do not touch function.php codes
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: