Gossamer Forum
Home : Products : DBMan : Installation :

Sort by Field Length

Quote Reply
Sort by Field Length
How does one reduce the length of the sort field length in the search window.

Thanks
Quote Reply
Re: [Doug Thorlakson] Sort by Field Length In reply to
Give an example of what you mean... not exactly sure which field you mean.
Quote Reply
Re: [Watts] Sort by Field Length In reply to
When I want to do a search, the sort by window under the search options title is quite long forcing the web page to be much wider than normal. I would like to know where to change the field length for that window. Does that make sense.

Doug T
Quote Reply
Re: [Doug Thorlakson] Sort by Field Length In reply to
Gotcha... you're pretty much SOL. The width of the field is based on the length of the field names in default.cfg. However, if you don't use auto-generate and then you can add your own descriptions that are shorter.

example:
------------------------------
<SELECT NAME="sb">
<OPTION>---
<OPTION VALUE="0">ID</OPTION>
<OPTION VALUE="1">Title</OPTION>
<OPTION VALUE="2">URL</OPTION>
<OPTION VALUE="3">Type</OPTION>
<OPTION VALUE="4">Date</OPTION>
<OPTION VALUE="5">Cat.</OPTION>
<OPTION VALUE="6">Desc.</OPTION>
<OPTION VALUE="7">Valid</OPTION>
<OPTION VALUE="8">Pop.</OPTION>
</SELECT>

Notice how the "value" corresponds to the field number in default.cfg and the description or label can be anything you want.

-------------------------------

If you absolutely gotta use auto-generate and have shorter names then look at this post which you could hack to use for "short names".

http://www.gossamer-threads.com/...rum.cgi?post=276527;

.