• 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?

Anthony Parsons

Well-known member
#1
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?
 

Brogan

XenForo moderator
Staff member
#2
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.
 

Anthony Parsons

Well-known member
#3
Ok... I created a new template called help_custompage

Added link to wrapper:
Code:
<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?