Modify ↓
#8143 closed enhancement (fixed)
Patch / RFE: RecentTopicsMacro
Reported by: | lucid | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
A macro that lists the most recently active discussion topics. Similar to Trac's own RecentChanges macro for recently changed wiki pages.
Examples:
This expands to a list of links to the 10 most recently active topics in forum 1:
RecentTopics(1, 10)
This expands to a list of links to the 3 most recently active topics (in any forum):
RecentTopics(, 3)
Attachments (2)
Change History (6)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
Changed 14 years ago by
Attachment: | RecentTopicsMacro.py added |
---|
Changed 14 years ago by
Attachment: | RecentTopics.patch added |
---|
Patching the macro into the macro provider of the DiscussionPlugin
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Revision 9640 applies the patch with some minor modifications and coding style unification.
comment:3 Changed 14 years ago by
If I read your changes correctly, it's now possible to use RecentTopics(3)
instead of RecentTopics(, 3)
?
Nice, thanks.
Note: See
TracTickets for help on using
tickets.
Standalone macro