| Issue 40: | Templatetags for django-forum | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Here is various templatetags that would be useful for django-forum :
* {% latest_posts 5 as latest %} = return the last 5 posts in the context with the name "latest" %}
* {% latest_for_user user 10 as user_message %} = return the last 10 posts of user "user" in the
context with the name "user_message" %}
* {% forums as forums %} = return a list of the forum in the context with the name forums
I will try to develop some of them and provide a patch.
Dec 29, 2008
I have done two basic templatetags in SVN r35 to provide latest active POSTS and latest active THREADS. For usage see https://code.google.com/p/django-forum/wiki/RecentPostTemplateTags On the todo list are similar tags for posts by user.
Dec 29, 2008
Just put in SVN r36 which adds forum_latest_user_posts. See the wiki page for more. I'm going to close this for now, if you have more tags to add please open a new ticket.
Status:
Done
|
Owner: rwpoulton
Labels: -Type-Defect Type-Enhancement