Gossamer Forum
Home : Products : Links 2.0 : Customization :

add url error

Quote Reply
add url error
You excuse perche' when I compile the form for the insertion url it goes out me this error Given (Too long. Max length: 15) if you want to try you see this link http://lnx.nauticalink.it/cgi-bin/links/add.cgi

thanks
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it
Quote Reply
Re: [blecchi] add url error In reply to
URL length is determined in link.def, this line:

URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],

Is yours different?


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] add url error In reply to
thanks for the preceding problem.

As I can see this link in html detailed.html

------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/...EC-html40/strict.dtd">
<html>
<head>
<title><%site_title%>: Detailed View</title>
<link rel=stylesheet href="<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">
</head>
<body>
<p><strong class="title"> <%title_linked%> </strong></p>
<h1><%site_title%>: Detailed View!</h1>

<p><small class="menu">|
<a class="menulink" href="<%build_root_url%>">Home</a> |
<a class="menulink" href="<%db_cgi_url%>/add.cgi">Add a Site</a> |
<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Site</a> |
<a class="menulink" href="<%build_root_url%>/New">What's New</a> |
<a class="menulink" href="<%build_root_url%>/Cool">What's Cool</a> |
<a class="menulink" href="<%build_root_url%>/Ratings">Top Rated</a> |
<a class="menulink" href="<%db_cgi_url%>/jump.cgi?ID=random">Random Link</a> |
<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a> |
</small></p>

<h2><%Title%></h2>
<p><%Description%></p>
<p><small>Submitted by: <%Contact Name%> -- <a href="mailto:<%Contact Email%>"><%Contact Email%></a><br>Hits: <%Hits%></small></p>
<p><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Visit this link</a>.

<form action="<%db_cgi_url%>/search.cgi" method="GET">
<h2>Search</h2>
<div class="margin">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong class="search">Looking for something in particular?</strong></td></tr>
<tr><td><input type="text" size=15 name="query"> <input type=submit value="Search!"></td></tr>
<tr><td><small class="more"><a href="<%db_cgi_url%>/search.cgi">More search options</a></small></td></tr>
</table>
</div>
</form>

<p><small class="update">Pages Updated On: <%date%> - <%time%><br>
Links Engine 2.0 By: <a href="http://www.gossamer-threads.com/">Gossamer Threads Inc.</a></small></p>
</body>
</html>
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it
Quote Reply
Re: [blecchi] add url error In reply to
Erm, Leanord asked you to check if you have the following line in links.def;

URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],

Do you? He didn't ask you to paste detailed.html Wink

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!