At the moment I have the choice of showing 5 10 or 25 cars with 5 as the default. Can I change this?
many thanks
Page: 1
| Author | Post |
|---|---|
|
#1 Thu 15 October, 2009 16:32
|
|
|
Member
Registered: Oct 2009
Posts: 23
|
At the moment I have the choice of showing 5 10 or 25 cars with 5 as the default. Can I change this?
many thanks |
|
#2 Fri 16 October, 2009 10:04
|
|
Administrator
![]() Registered: Apr 2008
Posts: 324
|
Absolutely. You simply add a pagesizes argument to the end of the AutoDirector <script> line, e.g.
<div id="autodirector"></div> Full instructions are available in the control panel. From the 'sites' screen, click the integration options icon, then choose "set the page sizes" under advanced integration. _______________ AutoDirector administrator |
|
#3 Wed 21 October, 2009 10:05
|
|
|
Member
Registered: Oct 2009
Posts: 23
|
Thanks for that. Just one more thing, Is it possible to have the vehicles listed by date added so the latest additions are at the top?
|
|
#4 Thu 22 October, 2009 9:22
|
|
|
Member
Registered: Apr 2008
Posts: 67
|
this may not be ideal, and it involves hacking the code in clients/carlist.js
look for the section like this - // sort by highest first I GUESS changing it to this would work // sort by highest first |
|
#5 Thu 22 October, 2009 9:51
|
|
Administrator
![]() Registered: Apr 2008
Posts: 324
|
Thanks Snizbit. That's almost correct, but ".lastupdate" should be ".id", e.g.
// sort by highest first This will return the cars by date they were added. Editing a vehicle won't put it at the top of the list I'm afraid. _______________ AutoDirector administrator |
|
#6 Thu 22 October, 2009 10:00
|
|
|
Member
Registered: Oct 2009
Posts: 23
|
It works! Thanks.
|
Page: 1