• XEN DEVELOPMENT is a developer's resource for new developers wanting to build XenForo 2 add-ons. Experienced developers are also welcome to share their experienes and knowledge. This site is not affiliated with XenForo or a replacement for the official XenForo developer forums.

How to Render a Widget Externally

Displaying a widget included with XenForo 2 is one line using templater() and renderWidget.

echo \XF::app()->templater()->renderWidget('forum_overview_members_online');
The identifier is the Widget key...
You do not have permission to view the full content of this resource. Log in or register now.
First release
Last update
0.00 star(s) 0 ratings

More resources from LPH