Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [911] Long + Short Display

Quote Reply
Re: [911] Long + Short Display In reply to
In Reply To:
Absolutely you can,
- Default template: Select Short or Long option in search form.
- 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%>

911.

Ok so I got that working.

My question is what is the format type long short used for?
I see the listing, but no link for details. Is this normal? How do I modify short listing to show different values and maybe a link to details...

I was wondering if I could use this fm=long/short instead of modifying all my templates....

Thanks
Subject Author Views Date
Thread Long + Short Display lubatico 6149 Aug 20, 2001, 8:26 AM
Thread Re: Long + Short Display
911 6017 Aug 20, 2001, 9:47 AM
Thread Re: [911] Long + Short Display
Suomi 5865 Nov 9, 2001, 7:58 AM
Thread Re: [Hank] Long + Short Display
604 5864 Nov 9, 2001, 10:05 AM
Thread Re: [TheStone] Long + Short Display
Suomi 5868 Nov 9, 2001, 11:08 AM
Post Re: [Hank] Long + Short Display
604 5858 Nov 9, 2001, 11:26 AM
Thread Re: [911] Long + Short Display
Bearwithme 5810 Nov 10, 2001, 9:48 AM
Thread Re: [Bearwithme] Long + Short Display
604 5825 Nov 12, 2001, 10:13 AM
Thread Re: [TheStone] Long + Short Display
Suomi 5791 Nov 12, 2001, 11:53 AM
Thread Re: [Hank] Long + Short Display
604 5824 Nov 13, 2001, 10:37 AM
Post Re: [TheStone] Long + Short Display
Suomi 5768 Nov 14, 2001, 6:47 AM
Post Re: [TheStone] Long + Short Display
Bearwithme 5812 Nov 12, 2001, 4:14 PM
Post Re: Long + Short Display
santana 5982 Aug 21, 2001, 2:46 AM