Gossamer Forum
Home : Products : DBMan SQL : Discussion :

customising query results

Quote Reply
customising query results
An introduction to this post is here .

We're using a a query to allow members to list their products which are listed on the directory.

The query works fine, but I'd like to get rid of the "1 details" "2 details" links which appear on the right, which we don't need. Which file do I need to edit to do this please?

Ideally we'd like the change to affect only this query.
Tim Ault
Oxford UK
Quote Reply
Re: [timbo] customising query results In reply to
Any ideas, anybody? Which file would I need to edit, please?
Quote Reply
Re: [timbo] customising query results In reply to
OK. I think I worked it out.

In \Dbsql\Relation\HTML.pm

comment out this line (about line 229)
$output .= "<td align=center><font color='#FFFFFF'>$font<b>Details</font></b></font></td>" if ($tags->{group});

comment out this line (about line 270)
$output .= "<tr><td colspan=2 align=right>$font $link</td></tr>" if ($tags->{group});

comment out this line (about line 279)
$output .= "<td align=center>$font $link</td>" if ( $tags->{group} );

Seems to work