- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 68 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Need help with linking issue.. [ ]
Author
Message
Plasma
Lieutenant
Joined: Jan 02, 2004
Posts: 261
Posted:
Tue Jan 03, 2006 5:37 am
I'm trying to do a link for a mod and i'm having issues. when I put the mouse over the link, it goes to www.myurl.com/phpbb/www.example.com when i only want it to goto www.example.com
here is some of the code:
Code:
INSERT INTO `phpbb_config` VALUES ('main_site_url', 'www.example.com');
Code:
'L_MAIN_SITE' => $lang['Main_Site'],
'L_MAIN_LINK' => $board_config['main_site_url'],
Code:
<a href="{L_MAIN_LINK}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_MAIN_SITE}" hspace="3" />{L_MAIN_SITE}</a></span><span class="mainmenu">
"MAIN_URL" => $new['main_site_url'],
not sure if that's enough to help out with. let me know if you need more..
ethana
Sergeant
Joined: Dec 26, 2005
Posts: 81
Posted:
Tue Jan 03, 2006 6:41 am
are you putting "http://" in front of your url? This needs to be the case or else it just appends to the current domain.
EDIT:
I see your insert now...do http://www.example.com
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum