Gossamer Forum
Home : Products : DBMan : Customization :

Help with "Short and Long Display of Records" Modification

Quote Reply
Help with "Short and Long Display of Records" Modification
At:
http://www.drizzle.com/~hall/dbmod/short.txt
I'm having problems with the modification. I think the problem is that I'm using the 'friendly' html.pl rather than the standard html.pl.

The modification says:
Code:
# file: html.pl sub html_record --##

##-Define the "short display" as for each record, including the following link:

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

print qq|<TD>
<a href="$db_script_link_url&ww=on&$db_key=$rec{$db_key}&view_records=1">$rec{'field name'}</a>
</TD>|;

##-replacing

## field name ##

##-with the appropriate field name.
Where exacly in sub html_record do I insert the above code and it says to "replace field name with the appropriate field name." What am I defining with field name? Is this what field will be displayed in the records or what?

Maybe it would just be easier to ask if there is a way to include custom searching - as in this thread:
http://www.gossamer-threads.com/...m12/HTML/000599.html

Thanks,
Blake Kunisch
blake@outermost.net
ICQ: 7703534
Quote Reply
Re: Help with "Short and Long Display of Records" Modification In reply to
Pick up the file at

http://www.jpdeni.com/dbman/short.txt

and use that for your html.pl file. It's a whole lot better.


------------------
JPD