Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [Hank] Search Options limited?

Quote Reply
Re: [Hank] Search Options limited? In reply to
Hi,

In Reply To:
registered members (sellers), may only add and modify their own info, and search
You can use the "Setup" function in Admin section to setup all properties of a table.

In Reply To:
but it would show limited results
DBMan SQL 2 doesn't support for that. Anyway, you can follow the following steps to change it:

1. Add a field in Users table: level enum['1','0']

2. Modify the search_results.html file, It'll look like:
<%if level%>
<%loop results%>
<%field_1%>.....<%field_n%>
<%endloop%>
<%else%>
<%loop results%>
<%field_1%>
<%field_2%>
<%endloop%>
<%endif%>

Cheers,
TheStone.


B.

Last edited by:

TheStone: Oct 18, 2001, 10:03 AM
Subject Author Views Date
Thread Search Options limited? Suomi 2249 Oct 17, 2001, 6:53 PM
Thread Re: [Hank] Search Options limited?
604 2197 Oct 18, 2001, 9:25 AM
Post Re: [TheStone] Search Options limited?
Suomi 2179 Oct 18, 2001, 10:07 AM
Post Re: [TheStone] Search Options limited?
Suomi 2168 Oct 18, 2001, 7:55 PM