Customizing the categories/discussion view
Vanilla is great ! I was looking for a forum for our small community, and I must admit this is a great improvement over traditional tools. My users love it so far, and it's only been a few days.
I'm trying to make the home page more readable and efficient. I found that displaying the activity on the right, and listing the categories with discussions is a pretty comfortable setup.
Now, I would like to limit the number of posts that show on the home page. Basically, what I have is this:
http://4u.1nw.eu/Screenshot - 10132011 - 03:06:43 PM.png
What I would like is:
* If a category has new discussions (either new post or new comment), show all of them below the category title
* if a category doesn't have any new comment, show the last 2 discussions only.
The goal is to reduce the length of the page, and still be able to scroll down, without missing any relevant information.
What would be the best way to achieve this ? If write a plugin or modify the code, could you give me some tips on where this would be best placed ? (I can code a bit of PHP, I just don't know my way around the source yet).
Thanks a million
I'm trying to make the home page more readable and efficient. I found that displaying the activity on the right, and listing the categories with discussions is a pretty comfortable setup.
Now, I would like to limit the number of posts that show on the home page. Basically, what I have is this:
http://4u.1nw.eu/Screenshot - 10132011 - 03:06:43 PM.png
What I would like is:
* If a category has new discussions (either new post or new comment), show all of them below the category title
* if a category doesn't have any new comment, show the last 2 discussions only.
The goal is to reduce the length of the page, and still be able to scroll down, without missing any relevant information.
What would be the best way to achieve this ? If write a plugin or modify the code, could you give me some tips on where this would be best placed ? (I can code a bit of PHP, I just don't know my way around the source yet).
Thanks a million
Tagged:
0
Answers
Also his is conditional of being the home page.
grep is your friend.