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

Pages in separate tab up top?

Discussion in 'XenForo Questions and Support' started by SgtSpike, Mar 29, 2011.

  1. SgtSpike

    SgtSpike Member

    Ultimately, I'd like to integrate some sort of article functionality into my forums in a separate main tab. The tab would be labeled "Articles", and I would allow user-submitted content to be posted there (after approval).

    I thought that Pages would work for this (along with a reference to a changing source), but it seems Pages can only be added as a piece of the root node on the same Forums page. Is there a way to create a new main tab or another root node on a separate page?

    I already have xenPorta installed for a customized homepage, and that works pretty well. But I need the ability to add an additional customizable page.

    Am I going about this all wrong? Is there a better way of achieving what I want?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. SgtSpike

    SgtSpike Member

    Thanks - I think this is what I mean, but just to be sure we're on the same page....

    So I would create a page in the root node, then link to it from the nav bar? Wouldn't the page show up in the forums, and when someone clicked on it from the nav bar, it would show them as being under the "forum" tab, rather than the new tab in the nav bar? I want it to appear, for all intents and purposes, as a completely separate tab from the forums. If that's not possible, I'll deal with it, but that's what I'd like to see.

    Also, can I use php to include a .php file within a page? If so, it would be possible to create a dynamic source of data that would be somewhat easy to update.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can set the node not to display in the node list - as I have done with my home page: http://cliptheapex.com/community/pages/home/

    All pages appear under /forum_directory/pages, and yes, the forum tab will be highlighted - that can't be changed without an add-on.

    Pages support php callback so that's not a problem.
  5. SgtSpike

    SgtSpike Member

    Thanks - I think that answers all my questions.

Share This Page