XF 2.2 Navigation? [Solved]

Robert9

Well-known member
XF is a wonderful world to explore and to despair ...

For me new news-addon I need some help pages to have all features visible with a click ...

So i add some navigation like:

Code:
<?xml version="1.0" encoding="utf-8"?>
<navigation>
  <navigation_entry navigation_id="XCTopics1" display_order="500" navigation_type_id="basic" enabled="1"><![CDATA[{"link":"{{ link('topics1') }}","display_condition":"","extra_attributes":[]}]]></navigation_entry>
  <navigation_entry navigation_id="XCTopics1Attachments" parent_navigation_id="XCTopics1" display_order="100" navigation_type_id="basic" enabled="1"><![CDATA[{"link":"{{ link('topics1\/attachments') }}","display_condition":"$xf.visitor.canViewTopicsHelp()","extra_attributes":[]}]]></navigation_entry>
  <navigation_entry navigation_id="XCTopics1Text" parent_navigation_id="XCTopics1" display_order="200" navigation_type_id="basic" enabled="1"><![CDATA[{"link":"{{ link('topics1\/text') }}","display_condition":"$xf.visitor.canViewTopicsHelp()","extra_attributes":[]}]]></navigation_entry>
  <navigation_entry navigation_id="XCTopics1BbCodes" parent_navigation_id="XCTopics1" display_order="300" navigation_type_id="basic" enabled="1"><![CDATA[{"link":"{{ link('topics1\/bbcodes') }}","display_condition":"$xf.visitor.canViewTopicsHelp()","extra_attributes":[]}]]></navigation_entry>
  <navigation_entry navigation_id="XCTopics1Pages" parent_navigation_id="XCTopics1" display_order="400" navigation_type_id="basic" enabled="1"><![CDATA[{"link":"{{ link('topics1\/pages') }}","display_condition":"$xf.visitor.canViewTopicsHelp()","extra_attributes":[]}]]></navigation_entry>
</navigation>


Hurray! My pages are here!

nav1.webp

But not here:

nav2.webp


So I go and search ...
 
While searching I find funny things like:

Code:
<field content_type="resource" field_name="entity">XFRM:ResourceItem</field>

<field content_type="resource" field_name="phrase">xfrm_resource</field>
<field content_type="resource" field_name="phrase_plural">xfrm_resources</field>


I dont have a new entity for the version1 of topics;
but for what i need these "content_types"?

Google finds:

End-user documentation for XenForo. ... Some content types allow content voting, whereby users may cast an up or down vote for the content.

But searching the docs? No result.
 
Top Bottom