How to get the forum name

sifuhall

Active member
I'm trying to add the forum category name to a template (specifically the recent news template for the xenporta add on).

I've tried several permutations of this code:

{xen:helper snippet, $forum.title, 50}

But no luck.

How can I get the forum title for a thread?
 

sifuhall

Active member
Yep, that returns the thread title, but I'm looking for the title of the forum the thread is in.

Looks like my original post was not clear on this.

I have updated it.
 

Fuhrmann

Well-known member
Yep, that returns the thread title, but I'm looking for the title of the forum the thread is in.

Looks like my original post was not clear on this.

I have updated it.
You can edit the template of the recent news and put this:

Code:
{xen:helper dump, $news}
Then you will see if the forum title is inside the var $news and is available to use.

Edit: I think I found.

Try this:

Code:
{$news.node_title}
 
Top