Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I change the links of Game to other links?
19-06-2010, 08:40 AM
Post: #1
Can I change the links of Game to other links?
Can I change the links of Game to other links?
for example, Change the name of Game to Yahoo
and the link change to http://www.yahoo.com
Find all posts by this user
Quote this message in a reply
05-07-2010, 01:05 PM
Post: #2
RE: Can I change the links of Game to other links?
open include/functions.php
find function call_menuler() line at line 206

you will see below code under line 206

PHP Code:
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=games">'.$lcl['games'].'</a></li>
            <li><a href="'
.$root_url.'?option=populargames">'.$lcl['populargames'].'</a></li>
            <li><a href="'
.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>'

change it as you want
Find all posts by this user
Quote this message in a reply
22-09-2010, 06:09 AM (This post was last modified: 22-09-2010 06:10 AM by raptus3670.)
Post: #3
RE: Can I change the links of Game to other links?
Yes it is the right code you must edit, but then it just right where you need to fix?

After a few hours then managed finally to me, to others who also want GAMES example for an external link, here is information about where you just need to fix / add in the code. The code which I have described here opens the external links in a new page.

The code is adjusted:
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="http://www.YOUR PAGE.dk" TARGET="_blank'.$root_url.'?option=games">'.$lcl['games'].'</a></li>
<li><a href="http://www.YOUR PAGE.dk" TARGET="_blank'.$root_url.'?option=populargames">'.$lcl['populargames'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>';


Sincerely,
Anders Pedersen
Find all posts by this user
Quote this message in a reply
23-09-2010, 02:44 PM
Post: #4
RE: Can I change the links of Game to other links?
(22-09-2010 06:09 AM)raptus3670 Wrote:  Yes it is the right code you must edit, but then it just right where you need to fix?

After a few hours then managed finally to me, to others who also want GAMES example for an external link, here is information about where you just need to fix / add in the code. The code which I have described here opens the external links in a new page.

The code is adjusted:
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="http://www.YOUR PAGE.dk" TARGET="_blank'.$root_url.'?option=games">'.$lcl['games'].'</a></li>
<li><a href="http://www.YOUR PAGE.dk" TARGET="_blank'.$root_url.'?option=populargames">'.$lcl['populargames'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>';


Sincerely,
Anders Pedersen

CORECTED ONE IS BELLOW

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="http://www.YOUR PAGE.dk" TARGET="_blank">YOUR LETTER</a></li>
<li><a href="http://www.YOUR PAGE.dk" TARGET="_blank">YOUR LETTER</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>';
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: