This topic is locked

Can I hide certain fields in the search results?

6/27/2006 10:09:45 AM
PHPRunner General questions
Z
zookx author

Hi all,
I am a newbie and only have a very little knowledge of SQL.
I have put up a test site at http://www.family-tree.co.uk/familynames and would like to know if it is possible to hide certain fields in the search results.
E.g. if you search for the name 'smith', it brings up 5 records which have the name 'smith' in. But the records also have 10 other names in as well; so, is there any way I can hide the other 10 'family name' fields in the search results?
I still need to show the other fields in the search results, i.e. 'submitted by' and 'email'
Many thanks in advance.
Alex.

Alexey admin 6/28/2006

Alex,
I'm afraid there is no easy way to make this.
You can edit generated ..._list.php page to hide the columns.

The functions you need to edit there are "WriteTableHeader" and "loopRS".

You should be familiar wih PHP to do this.

Z
zookx author 6/28/2006

ok, thank you for replying.
Alex.