XF 2.2 How to stop custom page appearing in forum list?

Jashugan

Member
I've made an "about us" page, but it is listed on the main board index with the forums. I want all users to be able to view the page (from my own links), but I don't want the node listed on the index.
How do I set this permission?

Also, is there a way that I can set it so that only staff can see the 'page views' counter?

Thanks.
 
Last edited:
Solution
I want all users to be able to view the page (from my own links), but I don't want the node listed on the index

Uncheck this: Forums -> Nodes -> Your page node -> Display in the node list

Also, is there a way that I can set it so that only staff can see the 'page views' counter?

Two template edits will be required within the same template:

Appearance -> Styles -> your style -> Templates -> page_view

Find on about line 41 and line 53:
HTML:
    <xf:if is="$page.log_visits">

Replace with:
HTML:
    <xf:if is="$page.log_visits && $xf.visitor.is_staff">
I want all users to be able to view the page (from my own links), but I don't want the node listed on the index

Uncheck this: Forums -> Nodes -> Your page node -> Display in the node list

Also, is there a way that I can set it so that only staff can see the 'page views' counter?

Two template edits will be required within the same template:

Appearance -> Styles -> your style -> Templates -> page_view

Find on about line 41 and line 53:
HTML:
    <xf:if is="$page.log_visits">

Replace with:
HTML:
    <xf:if is="$page.log_visits && $xf.visitor.is_staff">
 
Solution
Top Bottom