XF 2.1 Widgets as Page content - Nothing displays.

BIG LLC

Active member
I've set up a widget.

I've set up a HTML Page node.

I've called the widget from the Page node with the correct syntax.

The page is not displaying the widget content.

Are there other settings that I need to choose before a widget will display in a page node?
 
A lot of things that could be wrong. Which widget? Will that widget load on a standard display location? What's the code you used to call the widget?
 
And does that default widget display?

Depending on the custom widget, maybe the data is only available in specific templates such as thread view or forum view.

I've had it where a page node will not display anything if a single widget is being called that doesn't exist (I got the name wrong).

Past that, we'd really would need more details.
 
And does that default widget display?

Depending on the custom widget, maybe the data is only available in specific templates such as thread view or forum view.

I've had it where a page node will not display anything if a single widget is being called that doesn't exist (I got the name wrong).

Past that, we'd really would need more details.
That default widget does not display. I've tried several.

The custom widget is served entirely from another source so it doesn't rely on Xenforo for anything but display.

Is there any setting that needs to be adjusted to say "display this widget in page nodes"?

There isn't a "position" option that covers this.

From what I can see from the contextual note and documentation you should be able to simply call a widget in a HTML page node and it should display.

I can't see any limitations mentioned.
 
If I had to guess without seeing it, I'd remove all your widget calls and add them one by one. If you've messed up a single widget, nothing will display.

Your widget code works fine:
Screenshot_9.webp


Screenshot_10.webp
 
Back
Top Bottom