Gossamer Forum
Home : Products : Links 2.0 : Customization :

Add Sucess.html Description won't wrap

Quote Reply
Add Sucess.html Description won't wrap
On adding a link when I am taken to the add_sucess.html page the description is displayed as one long line. I looked at my links def file and it is set to 40x3. How can I get the description to wrap? also looked at the site_html_templates.pl file and couldn't find anything to change there either.

Keith
Quote Reply
Re: Add Sucess.html Description won't wrap In reply to
Here's what I use in my add_success.html template and it doesn't put the description all on one line (it word wraps it):

Code:
<b>We have received the following resource addition:</b>
<p>
<table cellpadding=2 border=1 valign="top" width="80%" bgcolor="#FFFFEC">
<tr><td align="right" valign="middle" bgcolor="#D5E8E8">
<b>Title:</b>
</td><td>
<%Title%>
</td></tr><tr><td align="right" valign="middle" bgcolor="#D5E8E8">
<b>URL:</b>
</td><td>
<%URL%>
</td></tr><tr><td align="right" valign="middle" bgcolor="#D5E8E8">
<b>Category:</b>
</td><td>
<%Category%>
</td></tr><tr><td align="right" valign="middle" bgcolor="#D5E8E8">
<b>Description:</b>
</td><td>
<%Description%>
</td></tr><tr><td align="right" valign="middle" nowrap bgcolor="#D5E8E8">
<b>Contact Name:</b>
</td><td>
<%Contact Name%>
</td></tr><tr><td align="right" valign="middle" nowrap bgcolor="#D5E8E8">
<b>Contact Email:</b>
</td><td>
<%Contact Email%>
</td></tr><tr><td align="right" valign="middle" nowrap bgcolor="#D5E8E8">
<b>Receive Email:</b>
</td><td>
<%ReceiveMail%>
</td></tr></table>

I hope this helps.
Quote Reply
Re: Add Sucess.html Description won't wrap In reply to
Hi Bobsie,

Will this work through the emailed reply also editing add.cgi and modify.cgi modifying the email format to the links admin? I never did know how to send html format pages through email like Hypermart and other online advertisers...

Thanks in advance,
elms
Quote Reply
Re: Add Sucess.html Description won't wrap In reply to
Hi,
the reason it's displayed as on line is because of the <pre> tag what ever is in betweent those tags are printed as is. the e-mail won't have that problem because it wraps in the client automatically. Sending html newsletters is similar to making a html page. i distributed an html newsletter a while back and all i did was create the html page and then copy the code into the mailer and send it off.

bye for now.