With XF2 it's really simple to add a Page as the homepage and populate it with widgets to create a "portal" page.
As a few people have asked how to do it I thought I'd post this quick guide.
Go to admin.php?nodes/ and click Add a Node
Select Page as the node type:
Set up the Page node and add any widgets you want to the template:
Navigation Section: Home (sets the page to the home tab).
I used
Code:
<xf:h1 hidden="true" />
to hide the page node title on the page itself.
I also use this at the bottom of the template to hide the breadcrumb bar:
Code:
<xf:css>
.p-breadcrumbs {
display:none
}</xf:css>
Then it's a simple case of adding widgets to the template.
Go to admin.php?widgets/ to see what widgets you have available:
Any of those can be added into the template (as shown above) using the widget key (which you can see above).
The final step is to go to admin.php?options/groups/basicBoard/ and set the Page created above as the homepage using the page url portion you set above.
That's basically it. You can create extra widgets and add them to the homepage
DL6 - [Widget] New Threads With Prefix Limit to display the contents of latest posts with our "Featured" prefix.
As a few people have asked how to do it I thought I'd post this quick guide.
Go to admin.php?nodes/ and click Add a Node
Select Page as the node type:
Set up the Page node and add any widgets you want to the template:
Navigation Section: Home (sets the page to the home tab).
I used
Code:
<xf:h1 hidden="true" />
to hide the page node title on the page itself.
I also use this at the bottom of the template to hide the breadcrumb bar:
Code:
<xf:css>
.p-breadcrumbs {
display:none
}</xf:css>
Then it's a simple case of adding widgets to the template.
Go to admin.php?widgets/ to see what widgets you have available:
Any of those can be added into the template (as shown above) using the widget key (which you can see above).
The final step is to go to admin.php?options/groups/basicBoard/ and set the Page created above as the homepage using the page url portion you set above.
That's basically it. You can create extra widgets and add them to the homepage
DL6 - [Widget] New Threads With Prefix Limit to display the contents of latest posts with our "Featured" prefix.