XF 2.0 Add new position and display in template.

I want to add two side by side banner widgets below the navigation.
  • Added $config['debug'] = true; to the config file. Developer appears in the Admin area.
  • Created two new widget positions - banner_1 and banner_2. Assigned to Xenforo
  • Created new html widget - Test1 and assigned to banner_1
Now I am stuck. I added this code to the page_container but I do not see the widget text.

<xf:widgetpos id="banner_1" />

Tried many variations.

How do I add the widget code to the page_container?

Similar, how to add a new advertising position to the page_container.
 
  • Like
Reactions: CNK
Back
Top Bottom