PDA

View Full Version : Database processing documentation


petersonrw
03-13-2007, 02:53 PM
Seems to me there is a lot you can do with the database table searches to customize the layout and searches (AND vs. OR, for example). Is there any dosucmentation or examples for this?

Thanks in advance,

Bob Peterson

lwyau
03-13-2007, 03:20 PM
Once you create a search, it generates an .inc file, which is then placed on a page.

You can customize the .inc file to suit your purpose.

petersonrw
03-13-2007, 03:53 PM
Is there any infomation regarding what some of the key variables are used for and the actions that result from changing them?

Thanks,

BOB

lwyau
03-13-2007, 04:43 PM
I am not aware of any.

The search .inc code is fairly generic (one would expect so). It requires some decent PHP knowledge to customize.

petersonrw
03-13-2007, 05:25 PM
OK - Here are some specific questions, then.

Can I easily change the SQL query generated to an "AND" search instead of "OR"?

Are there any examples for a custom PHP file that can be used to format the results? (There is a selectable pull down when you are creating the SEARCH.)

Is there a sample CSS that defines all the appropriate firles in the .inc file?

Thanks,

Bob

lwyau
03-13-2007, 10:10 PM
Perhaps you should just create a search as closely as to what you have in mind, then take a look at thh generated .inc file. It uses class=smtext with augmenting inline styles.