Gossamer Forum
Home : Products : DBMan : Customization :

Returning short display links for each record

Quote Reply
Returning short display links for each record
I know you covered this in the modification FAQ section, but I am having problems getting the short display to work. I followed the directions, but I don't understand the first part.
Part I don't understand

# 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.

I got the short display links to work, but when I click on the link it just gives me tags and script but not the content of the database. Is there an example of how the first part of the modification is used, and where it should be inserted?
Thanks,
Paxton
Quote Reply
Re: Returning short display links for each record In reply to
I think I just answered this in the other forum.

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