• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Widget Pages

Alfa1

Well-known member
#1
Please consider to extend the XF2 widget system with widget pages: Pages that have widgets only.
We can then add whatever widget we like to the page and set up custom pages.

This would allow us to create a widget page to use as a home page portal.
It would also allow us to create various custom pages.
I'm sure that addon developers would find many uses for it.
 

Kirby

Well-known member
#3
Hmm ... that is possible out of the box?

Just create a page with a template like this
Code:
<xf:widget key="widget_1"/>
<xf:widget key="widget_2"/>
<xf:widget key="widget_3"/>
and activate checkbox Advanced Mode
 

RobParker

Well-known member
#5
Hmm ... that is possible out of the box?

Just create a page with a template like this
Code:
<xf:widget key="widget_1"/>
<xf:widget key="widget_2"/>
<xf:widget key="widget_3"/>
and activate checkbox Advanced Mode
It is now. It wasn't in 2016.

It works great and you can build a whole portal page out of Pages and Widgets.
 

Chris D

XenForo developer
Staff member
#6
Well, I think the only thing we changed since then was the advanced mode, which removes the default "block" wrapper for the content, but it's always been possible to call widgets by key or configure them in place.
 

Chris D

XenForo developer
Staff member
#8
Yes, you are reading too much into it ;)

I'm just saying that in lieu of any specific changes related to the suggestion in the OP, adding widgets directly in the page node's specific template is a reasonable solution.
 

Kirby

Well-known member
#10
That would be ideal, yes. But honestly - if you really want to customize any software apart from changes possible through GUI you will have to learn it's internal workings/code.
And what is possible through manual customization is usually much more powerful than what a GUI could offer.

Think WordPress for example, there is tons of functionality that relies on "shortcodes" - this not so much different from <xf:widget key="..." />
 

Alfa1

Well-known member
#11
True, but this suggestion is not about customization but about having an easy to use widget system which sets the standard for addons.
 

Kirby

Well-known member
#12
Well, your original suggestion was
Please consider to extend the XF2 widget system with widget pages: Pages that have widgets only.
We can then add whatever widget we like to the page and set up custom pages.
This is possible, you can add whatever widget you like to a page.

Being able to create wigets only pages with a nice GUI would be another request in my mind :)