Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [911] Long + Short Display

Quote Reply
Re: [911] Long + Short Display In reply to
Quote:
Absolutely you can, - Default template: Select Short or Long option in search form.
I am using 2.02 - where do you find the above option?

Quote:
Change default template: You should change search_results.html:
<%Loop%>
<%if detail%>
Field 10: <%Field 10%>
Field 11: <%Field 11%>
<%else%>
Field 1: <%Field 1%>
Field 2: <%Field 2%>
.....
<a href="db.cgi?db=<%db%>&do=search_results&detail=1&ID(primary
key)=<%ID%>&ID-opt==">Detail</a>
<%endif%>
<%endloop%>
Do I use the above in lieu of the <%Dbsql::HTML::generate_search_results%> statement in search_results.html?

Thanks.

easy does it
Subject Author Views Date
Thread Long + Short Display lubatico 5440 Aug 20, 2001, 8:26 AM
Thread Re: Long + Short Display
911 5335 Aug 20, 2001, 9:47 AM
Thread Re: [911] Long + Short Display
Suomi 5180 Nov 9, 2001, 7:58 AM
Thread Re: [Hank] Long + Short Display
604 5186 Nov 9, 2001, 10:05 AM
Thread Re: [TheStone] Long + Short Display
Suomi 5189 Nov 9, 2001, 11:08 AM
Post Re: [Hank] Long + Short Display
604 5176 Nov 9, 2001, 11:26 AM
Thread Re: [911] Long + Short Display
Bearwithme 5132 Nov 10, 2001, 9:48 AM
Thread Re: [Bearwithme] Long + Short Display
604 5142 Nov 12, 2001, 10:13 AM
Thread Re: [TheStone] Long + Short Display
Suomi 5110 Nov 12, 2001, 11:53 AM
Thread Re: [Hank] Long + Short Display
604 5133 Nov 13, 2001, 10:37 AM
Post Re: [TheStone] Long + Short Display
Suomi 5085 Nov 14, 2001, 6:47 AM
Post Re: [TheStone] Long + Short Display
Bearwithme 5129 Nov 12, 2001, 4:14 PM
Post Re: Long + Short Display
santana 5300 Aug 21, 2001, 2:46 AM