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

How Do We Create Custom Help Pages?

Discussion in 'XenForo Questions and Support' started by Anthony Parsons, Nov 15, 2010.

  1. Anthony Parsons

    Anthony Parsons Well-Known Member

    How do we create a new help page with menu item? I looked in the templates, and sure... adding a menu link is in the template help wrapper, but how do we get it to use a custom created template, ie. help_custompage?

    Not node pages... help pages (just to avoid confusion)

    Is there an easy method to make this work via the ACP?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The actual sidebar links are in the help_wrapper template.

    So first you would edit help_index to add your page link and description to the main page.
    Then edit help_wrapper to add the actual new page.
    Miko likes this.
  3. Anthony Parsons

    Anthony Parsons Well-Known Member

    Ok... I created a new template called help_custompage

    Added link to wrapper:
    <li><a href="{xen:link help/custompage}" class="{xen:if "{$selected} == 'custompage'", 'secondaryContent', 'primaryContent'}">Custom Page</a></li>
    Add link to help_index

    When you try and go to it, it gives an error.

    So it obviously needs something further to pull a new template, as it just can't be created and load.

    Is there a requirement to create a custom php page as well and place it somewhere by any chance?

Share This Page