• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Make selected forum appear on a Page

Morgain

Well-known member
#4
Yes I want to display a normal forum as in my pic above but in the context of a Page.
So there'd be text above or below it.
 

Jake Bunce

XenForo moderator
Staff member
#5
Ok. Child nodes of a page node are available as {$childNodes} in the Template HTML of your page node. But the nodes aren't rendered. An addon is required to extend XenForo_ViewPublic_Page_View to render the nodes for display as a full node list on the page. Or similarly you can specify a callback for the page node. Either way you need to author some PHP code to do this.
 
F

Floris

Guest
#6
I tried looking into this, but all I get is a warning at the top of the page

htmlspecialchars() expects parameter 1 to be string, array given in /home/x/public_html/internal_data/templates/S.4,L.1,_page_node.17.php, line 81