CyberAP Well-known member Jul 28, 2015 #1 I am wondering is it possible to retrieve node title by referencing its id inside templates?
P Paul B XenForo moderator Staff member Jul 28, 2015 #2 Which template is it? Is there a $param you can dump to see what's available? Code: {xen:helper dump, $param}
Which template is it? Is there a $param you can dump to see what's available? Code: {xen:helper dump, $param}
CyberAP Well-known member Jul 28, 2015 #3 It's inside my custom template that I include in PAGE_CONTAINER. We have a $forum variable, but I don't know how to set it to a specific ID so we can get it's title.
It's inside my custom template that I include in PAGE_CONTAINER. We have a $forum variable, but I don't know how to set it to a specific ID so we can get it's title.
Lukas W. Well-known member Jul 28, 2015 #4 CyberAP said: We have a $forum variable. Click to expand... Could you share an example of the content of that variable with us? Have you assigned it yourself? If so, where and how did you?
CyberAP said: We have a $forum variable. Click to expand... Could you share an example of the content of that variable with us? Have you assigned it yourself? If so, where and how did you?
CyberAP Well-known member Jul 28, 2015 #5 No, it's a default $forum variable, I would like to pass an ID and get a {$forum.title} contents.