Gossamer Forum
Home : Products : DBMan : Customization :

Help! JPDeni's Mail MOD

Quote Reply
Help! JPDeni's Mail MOD
Hope some one can help me out of a hole.

http://www.davidchorley.co.uk/cgi-local/jobdb/search.cgi?db=default&uid=default&view_records=1&jobid=*

If you follow the above link, you will display a couple of dummy records. I have installed JPDeni's Mail Mod. However if you hit the CLICK HERE link I get a number of Bold Html tags before and after the field tag 71 or 72. I am truly stumped having spent hours on this one problem. Can anyone see why I am having the problem.

Here is an extract from my html.pl file. It may be the correct section - but then again I may have spent the last few hours counting brackets in the wrong bit of script! I hope that there is an expert out there who will help a newbie. Let me know other bits of script to post.

sub html_record {
# --------------------------------------------------------

(Section deleted for post - below are last lines of this section with the link in)

<td width="34%" valign="middle" align="center">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif">$rec{'consultant'}</font>

<font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><a href="mailto:$url{'con-email'}">$rec{'con-email'}</font>
</td>
</tr>
<tr>
<td width="33%" bgcolor="666699" align="center" valign="middle">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">LOCATION</font></td>
<td width="33%" valign="middle" bgcolor="666699" align="center">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif" color="FFFFFF">TEMP OR PERMANENT</font></td>
<td width="34%" valign="middle" align="center" bgcolor="666699">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif" color="FFFFFF">APPLY</font></td>
</tr>
<tr>
<td width="33%" align="center" valign="middle"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">$rec{'location'}</font></td>
<td width="33%" valign="middle" align="center"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">$rec{'pttype'}</font></td>
<td width="34%" valign="middle" align="center"><font face="Verdana, Arial, Helvetica, sans-serif">
<font size="-2"><a href="$db_script_link_url&$db_key=$rec{$db_key}&send_email_form=1">CLICK HERE</a></font></a></font></td>
</tr>





<tr>
<td colspan="3" align="left" valign="top">
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif">Client: $rec{'client'}</Font></TD></TR>


<tr>
<td colspan="3" align="left" valign="top"><img src="http://www.davidchorley.co.uk/images/rowofbullets.gif" width="580" height="10"></td>
</tr>
</table>

|;
}

Quote Reply
Re: Help! JPDeni's Mail MOD In reply to
After

my (%rec) = @_;

add

$rec{$db_key} =~ s/<.?B>//g;



JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Help! JPDeni's Mail MOD In reply to
Hi JPDeni

Thanks for answering.

That line is already in there. I originally installed your PRIVATE MAILER mod
now I am installing the FORWARD RECORD mod.

I saw your instructions in the Foward Record install for that line to be added, but it was already there, so I didn't duplicate it. - Here it is ...

=================================

my (%rec) = @_;

# START added by pjo for jpdeni private mailer
$rec{$db_key} =~ s/<?.B>//g;
# END added by pjo for jpdeni private mailer

=================================

Both mods seem to be working fine, apart from this <B></B> strange Bold codes. Panic over a little, because the script seems to ignor the bold codes now - just not very tidy, and always the possibility of a future problem.

Sorry to be bothering you with a little problem like this, when I can see some really involved development going on here. Who knows, I'll keep trying the script and reading this forum and one day...in a blinding flash.. it all might make sense.

Kind regards

PhilO

Quote Reply
Re: Help! JPDeni's Mail MOD In reply to
Try turning off bolding and see if that works.

JPD
http://www.jpdeni.com/dbman/