PDA

View Full Version : contacts page and URL


jschodde
05-24-2006, 06:47 AM
I'm having trouble inserting a hyperlink into the contacts page. I'm using the editor and not an external file.

Here's an example:

Yahoo (http://www.yahoo.com/)


The resulting hyperlink on the live site ends up being:

http://www.moparlinks.com/links/%5C%22http://www.yahoo.com/%5C%22

Why does it insert my base URL in front of the link?! How can I make this work?

:wallbash:

Nick Collins
06-02-2006, 10:19 AM
It's possible that your problem is related with "magic_quotes". Try this one:

***open admin/manage-pages.php***
***find the following code***
$menus = $_POST['menus'] ? implode(',', $_POST['menus']) : '';
$unique_url = ($_POST['unique_tpl']) ? $_POST['unique_url'] : '';
***before add, ***
$content = get_magic_quotes_gpc() ? stripslashes($_POST['rte1']) : $_POST['rte1'];
$content = addslashes($content);
***save changes***

Let me know the result.

jschodde
06-04-2006, 07:38 PM
This works thanks!:)

Nick Collins
06-05-2006, 04:45 AM
You are welcome, jschodde!