Modules
Resources for All Modules
Recent Discussions Module
This module will let you list the most recent discussions. This could be handy in the sidebar on the category landing page. To call the module, you can do something like this:
{module name="DiscussionsModule" Limit="5"}
In the above example, we limited it to the last 5, but default is the last 10.
If you want it only on the category (as discussed in the example) use a conditional statement:
{if InSection("CategoryList")}
{module name="DiscussionsModule" Limit="5"}
{/if}
Please note that this module requires theming and will not look great OOB.
Who's Online Module
If you enable the Who's Online plugin, you will have the option to set where you want the Who's Online info to show, but you have the option to show it where you want by adding the following code: {module name="OnlineModule" CssClass="whoisonline"}.
The Who's Online Module simply shows a list of all users on certain pages (all pages, category & discussion pages, only discussion pages, or can be placed manually in the theme).
It will show that everyone who is online, regardless of their role. It's worth noting that they can opt out of being seen in their profile preferences ("Online Preferences").
As you can notice, we also added a class so you can modify the look and feel.
Site Totals Module
{module name="SiteTotalsModule"}
It displays the total Discussions, Comments and Users (total, not just online)
See Also
- You can find a full list of all modules available in Vanilla here.