N1 Nex1on

Forum

What you can insert into a template from the “Forum” module: blocks and lists with parameters and examples.

Discussions on the home page — forum.home

Discussions on the home page: the freshest forum topics with author and time of the last reply. Kind: block; works on any page.

Example:

{block:forum.home}

Latest discussions — forum.latest

Side-column “Latest discussions”: forum topics as short links. Kind: block; works on any page.

Example:

{block:forum.latest}

Forum sections (list) — forum.sections

A list of forum sections with topic counts and the latest topic — for a menu or a sidebar: title, link, description, number of topics and posts. Kind: list for your own markup; works on any page.

ParameterMeaningDefault
limitHow many to show. From 1 to 50.20
parentSubsections: empty — top level, a section address — its subsections, all — every one

Inside the list: {item.id} {item.title} {item.url} {item.description} {item.count} {item.posts} {item.last_title} {item.last_url} {item.last_who} {item.last_date}.

Example:

[each:list:forum_sections]
  <a href="{item.url}">{item.title}</a> ({item.count})
[/each]

Latest topics — forum.topics

A list of the latest forum topics for your own markup: title, address, author, date, section. Kind: list for your own markup; works on any page.

ParameterMeaningDefault
limitHow many to show. From 1 to 20.5
sortOrder: fresh — by last reply, new — newest, popular — most viewed, unanswered — without replies Values: fresh, new, popular, unanswered.fresh
sectionSection: address or number (empty — all)

Inside the list: {item.id} {item.title} {item.url} {item.who} {item.date} {item.section} {item.section_url} {item.replies} {item.views} {item.last_who} {item.last_date} {item.avatar} {item.initials} {item.created} {item.pinned} {item.closed} {item.solved}.

Example:

[each:list:forum_topics:limit:5:sort:popular]
  <a href="{item.url}">{item.title}</a> — {item.replies}, {item.last_who}, {item.last_date}
[/each]

Updated 16.10.2026

On this page
Share: Telegram WhatsApp
You can save things without signing in: they stay in this browser and you can move them to your account after signing in. Sign in
Discussion

Comments

No discussion yet

No one has commented yet. Be the first.

Report this post