 |

yellow7
New User
Apr 3, 2003, 8:14 AM
Post #1 of 2
(1062 views)
Shortcut
|
|
Listing Editor is listing by price...we need description.
|
Can't Post
|
|
The Listing Editor we have for AM is listing the vehicles by price. We need this to list by description so we know which vehicle needs to be deleted when sold....right now we have to know the price. The following URL has a screen shot of how the Listing Editor looks for us AND the Listing Editor Setup Page. As you can see in the Listing Editor Setup Page, PRICE is the first one listed. We "think" that is why it is putting that first. http://www.yellow7.com/test/am.gif Any help is greatly appreciated.
|
|
|  |
 |

Benjamin
Staff

Apr 3, 2003, 3:20 PM
Post #2 of 2
(1057 views)
Shortcut
|
|
Re: [yellow7] Listing Editor is listing by price...we need description.
[In reply to]
|
Can't Post
|
|
Hi - I just emailed you with a fresh interface.dat.cgi file, but that will list that vehicles by vehicle name - not description. To modify it to list by description, here's what you'd have to do: 1. Open up your interface.dat.cgi file. It's really big, so it would be best if you used some sort of html editor - notepad will be too big. 2. Scroll down the page to line 2605. This is the beginning of the header templatecell. Change the line that look like this: <td bgcolor="#CCCCCC" width=255><font size=1 face="ms sans serif"><b> lfield1_name</b></font></td> to this: <td bgcolor="#CCCCCC" width=255><font size=1 face="ms sans serif"><b> Description</b></font></td> Next, on line 2614 change this line: <td bgcolor="#EEEEEE"><font face="ms sans serif" size=1> $lfield1$</font></td> to this: <td bgcolor="#EEEEEE"><font face="ms sans serif" size=1> $lfield18$</font></td> And that's it! Now it will sort be the description field. (If you're using something other than listing data field #18 to store your description, just change the 18 value to whatever you want - from your email, it looks like you're using #5?). I tried attaching the interface file as an attachment, but it was too large. If you'd like a copy of it, just Private Message me and I'll send it your way. :-) Ben interactivetools.com
(This post was edited by Benjamin on Apr 3, 2003, 3:21 PM)
|
|
|  |
 | |  |
|