Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
See my article at http://drupal.org/node/287#comment-87175
Comment | File | Size | Author |
---|---|---|---|
#7 | tracker.module.patch | 770 bytes | siromega |
Comments
Comment #1
he_who_shall_not_be_named CreditAttribution: he_who_shall_not_be_named commentedUsed the query (unmodified) from the tracker module and added the hook_block function to it. It can be inserted in the tracker.module.
Comment #2
he_who_shall_not_be_named CreditAttribution: he_who_shall_not_be_named commentedThis query works fine for me:
Comment #3
Zen CreditAttribution: Zen commentedCan you please:
a) make this more generic? i.e. give the admin choice to choose the node-types, number of entries etc.?
b) also add a recent comments block? (with similar choices)
We can then get rid of the two blocks in the forum module.
Thanks,
-K
Comment #4
Zen CreditAttribution: Zen commentedAnd please submit it in patch form.
Thanks,
-K
Comment #5
bdragon CreditAttribution: bdragon commentedComment #6
Yoda99 CreditAttribution: Yoda99 commentedThe block works fine with the top snippet added but when a user comments on an article it makes that article jump back to the top of the list. I would like user comments not to be taken into account and only the publication date.
I am clueless as to what to remove from the snippet.
Regards
Sven
Comment #7
siromega CreditAttribution: siromega commentedI have created a patch to allow a block for the tracker module.
(its my first real patch, be gentle!)
Comment #8
Summit CreditAttribution: Summit commentedSubscribing, will test if this works!
This is may be also a way to go: http://www.glennburks.com/blogs/glenn/using-drupal-6-views-create-offset....
Greetings, Martijn