Gossamer Forum
Home : Products : DBMan : Installation :

Category Blank - Checked other posts

Quote Reply
Category Blank - Checked other posts
Well i seem to have the same problem of the category field coming out blank.

Could you please tell me where in the code specifies stuff like this ?

sub html_record {
# --------------------------------------------------------
# How a record will be displayed. This is used primarily in
# returning search results and how it is formatted. The record to
# be displayed will be in the %rec hash.

my (%rec) = @_; # Load any defaults to put in the VALUE field.
($db_auto_generate and print &build_html_record(%rec) and return);

my $font_color = 'Font face="Verdana, Arial, Helvetica" Size=2 Color=#003399';
my $font = 'Font face="Verdana, Arial, Helvetica" Size=2';

print qq|
<TABLE WIDTH="475" CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR="#0099FF">
<TR><TD ALIGN="Right" VALIGN="TOP" WIDTH="20%"><$font_color>ID:</FONT></TD>
<TD WIDTH="80%"> <$font>$rec{'ID'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>FirstName:</FONT></TD>
<TD> <$font>$rec{'FirstName'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>LastName:</FONT></TD>
<TD> <$font>$rec{'LastName'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>City:</FONT></TD>
<TD> <$font>$rec{'City'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Email:</FONT></TD>
<TD> <$font>$rec{'Email'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>ICQ:</FONT></TD>
<TD> <$font>$rec{'ICQ'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>HomePage:</FONT></TD>
<TD> <$font><A HREF="$rec{'HomePage'}" TARGET="_blank"">$rec{'HomePage'}</A></Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Category:</FONT></TD>
<TD> <$font>$rec{'Category'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Phone:</FONT></TD>
<TD> <$font>$rec{'Phone'}</Font></TD></TR>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Other:</FONT></TD>
<TD> <$font>$rec{'Other'}</Font></TD></TR>
</TABLE>
|;


I believe this is where you mark what u want to be able to see.

Subject Author Views Date
Thread Category Blank - Checked other posts ndemon 3066 Jan 24, 2001, 2:37 PM
Thread Re: Category Blank - Checked other posts
LoisC 3008 Jan 24, 2001, 6:36 PM
Thread Re: Category Blank - Checked other posts
ndemon 2998 Jan 24, 2001, 8:48 PM
Post Re: Category Blank - Checked other posts
LoisC 2982 Jan 26, 2001, 10:04 AM