Here is the call
[!Ditto? &startID=`72`&total=`3`&truncLen=`120`&truncOffest=`5`&truncChars=`1`&sortDir=`ASC`&sortBy=`tvEventDate`&tpl=`cat-listing-front`!]
the results page is here [url]
http://www.lifechurchmn.org/home[/url, it’s an events listing.
my TV settings are: name: EventDate, Type: Date I’ve tried using the unixtime widget as well.
I messed with the sort dir to see if it did anything, my goal is to have the pages sorted by the date of an event, but still use the publish and unpublish for obvious reasons.
Any help would be schweet!
bump / Mark?
Anyone got some "You dolt! you forgot XXXXXX blahbiddiblah"
Make sure your Date TV is set to unixtime and the append &debug=`1` to your call. Copy and paste the results here in code tags.
Number supposed to be summarized (summarize): 20
Total supposed to be returned: 5
Count of total in db: 5
Sort by (sortBy): id
Sort direction (sortDir): DESC
Using the new MODx 0.9.2.1 API
TVs: EventDate
Start at 0 and stop at 5 out of 5
Document Data for "February 25th - Annual Church Business Merting"
[+id+] => 89
[+type+] => document
[+contentType+] => text/html
[+pagetitle+] => February 25th - Annual Church Business Merting
[+longtitle+] => February 25th - Annual Church Business Merting
[+description+] => February 25th - Annual Church Business Merting
[+alias+] => february-25th-annual-church-business-merting
[+link_attributes+] =>
[+published+] => 1
[+pub_date+] => 1169690885
[+unpub_date+] => 1172466000
[+parent+] => 72
[+isfolder+] => 0
[+introtext+] => All members are encouraged to attend a dinner meeting at 6:00PM in the Fellowship Hall.
[+richtext+] => 1
[+template+] => 8
[+menuindex+] => 10
[+searchable+] => 1
[+cacheable+] => 1
[+createdby+] => 2
[+createdon+] => 1169694721
[+editedby+] => 2
[+editedon+] => 1169694721
[+deleted+] => 0
[+deletedon+] => 0
[+deletedby+] => 0
[+publishedon+] => 1169789399
[+publishedby+] => 2
[+menutitle+] =>
[+donthit+] => 0
[+haskeywords+] => 0
[+hasmetatags+] => 0
[+privateweb+] => 0
[+privatemgr+] => 0
[+content_dispo+] => 0
[+hidemenu+] => 1
[+tvEventDate+] => 1169787600
[+title+] => February 25th - Annual Church Business Merting
[+summary+] => All members are encouraged to attend a dinner meeting at 6:00PM in the Fellowship Hall.
[+link+] => <a href="events/february-25th-annual-church-business-merting">Read more...</a>
[+author+] => Bryan Hendrick
[+date+] => 24-Jan-07 22:12
tpl = FirstRow -> <div class="cat-listing"><h3><a href="[~[+id+]~]">[+title+]</a></h3> [+summary+] </div>
SOLVED - Upgraded to 1.1b2 All is well in the land of OZ! thanks Mark!