XF 1.0 Pages

Pages allow you to manage simple content in the node tree. Find out more here:

http://xenforo.com/community/pages/example-page/

The node list display could do with some improvements. We have some ideas about that.

The exact look of the auto-generated navigation is a work-in-progress as well. :)
 
Pages inherit the complete permission scheme that can be applied to any other element in the node tree (forums, categories etc.)
That is fantastic.

So there could be for example pages which are visible to moderators only or registered members only?
 
Being able to quickly include variables generated from PHP output would make this a huge feature. In the vB world, I have a template.php that I use to create "Pages", that often contain PHP to do whatever, and that page's template ends up being just boilerplate HTML with a $html in the content area. Not having to create complicated "misc.php" equivalents with lots of do=whatever junk, or one-off pages just for customized content would be great.
 
Mike and I are both strongly against being able to enter PHP code directly in the Admin CP, as that would (almost certainly) have to be stored in the database and then executed via evil(), but I'm formulating an idea in my head that would allow a page to make a callback to a PHP class (in an existing or uploaded file) that could be defined on a per-page basis...

*thinks*
... this comment is very representative of the mindset needed for tomorrows applications. Now.... if only tomorrow would arrive... :)
 
This is what I plan to do for 1 of the pages.

staff.webp


Obviously I'll be using the staff from my own site and the text will be a little more meaningful :D
 
I plan something similarly.

I would suggest when they do release XenForo, they make a suggestion for page templates and the like, so people can easily share templates they have created for use by other members. 
 
Back
Top Bottom