How to create a Page node

How to create a Page node

Paul B

XenForo moderator
Staff member
Brogan submitted a new resource:

How to create a Page node (version 1.0) - Add basic HTML pages to your installation.

To create a new page go to ACP -> Applications -> Create New Page

Select the various tabs and configure the fields.
  • Enter a URL (e.g. example-page) – this will be the URL of the page, for example: https://xenforo.com/community/pages/example-page/
  • Enter the title, e.g. Welcome To My Forum
  • Enter a description – this is optional and will appear as muted text below the title (see the screenshots below)
  • Select the Parent Node – this can be the root, a category, forum or...

Read more about this resource...
 
So it's plausible they can be used as static or dynamic pages non-forum pages that match the look and feel of one's forum theme/skin? Can they exist outside of the forum root dir ?
yes, no
examples:
http://www.fps.net.nz/community/pages/servers/
uses some custom written php to query tf2 server and return an array per server. I then have a custom template which does all the display. Uses PageCallBack

http://www.fps.net.nz/community/pages/Home/
does some custom php to get steam stats. Does some custom php to get the latest post from a forum section (latest give away), does some custom php to query a forum and get a list of threads (previous give aways). Uses PageCallBack

http://www.fps.net.nz/community/pages/thanks-for-donating/
boring old html typed into a box

No they cannot exist outside of the forum structure.
For my home page I have a customer php page that simply redirects to correct url
 
Thanks all
thumbsup.png
 
- is there an example of how the html would look like ?
- how to get the "Sidebar" into a page?
Every page is different.
You enter the html you want for your page.

the strange thing with "Pages" is, that the navigation-Tab "Forums" is still showing as active.
This looks a bit confusing as when looking at the page, I am actually not in the Forum.
This is the designed behaviour.
 
Back
Top Bottom