Gossamer Forum
Home : Products : DBMan : Installation :

Add email to default.cfg

Quote Reply
Add email to default.cfg
what is the correct way to add a email and have it linked in the box? I want to replace the TYPE field with the EMAIL field.
Also, how do you configure the drop downs is that in another file?

THANKS
Quote Reply
Re: Add email to default.cfg In reply to
Hi mike,

Search on the forum for e-mail. There are a number of posts related to how to add e-mail to dbman.

In your .cfg file, the drop downs are configured by adding them to the %db_select_fields variable. To use them you would do something like

<TABLE WIDTH="510" CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR="#FFFFCC">
<TR><TD ALIGN="Right" VALIGN="Center" WIDTH="100"><Center><$font><b>Specific <BR> Statistics </b></FONT></center></TD>
<TD > <b>Select Month </b><BR> <BR>|; print &build_select_field ("MonthNames", "$rec{'MonthNames'}"); print qq|

</TD></TR>

</TABLE>

Look at the default database for examples...

Cheers
-JO