LPH
Well-known member
It's possible to render a widget outside XF. For example:
Unfortunately, the links are relative to the boardUrl and the avatar doesn't show the gravatar.
In looking at renderWidget, there are options and arguments but I can't trace down anything that would change the URL from relative to canonical. Is this possible?
PHP:
$widget = \XF::app()->templater()->renderWidget('forum_overview_members_online');
echo $widget;
Unfortunately, the links are relative to the boardUrl and the avatar doesn't show the gravatar.
In looking at renderWidget, there are options and arguments but I can't trace down anything that would change the URL from relative to canonical. Is this possible?