ge66
Well-known member
I found somewhere that you can put something like this in a template:
To show a widget with some options.
The questions I have, is this good to use or is it better to use widget key and make different widgets for these keys?
If using this is a good idea, it would be nice to know all options.
I have tried a few for posts and threads:
They work but throws an error for opt-node_ids, what data should it have?
<xf:widget class="XF:MembersOnline" opt-limit="50" opt-staffOnline="1" title="Test Online Members" position="sidenav" />
To show a widget with some options.
The questions I have, is this good to use or is it better to use widget key and make different widgets for these keys?
If using this is a good idea, it would be nice to know all options.
I have tried a few for posts and threads:
<xf:widget class="XF:NewThreads" title="Sidebar test" opt-node_ids="3" opt-limit="4" position="sidebar" />
<xf:widget class="XF:NewThreads" title="Threads" opt-node_ids="86" opt-limit="5" />
They work but throws an error for opt-node_ids, what data should it have?