First Steps: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(Created page with "{{semorg-docs}} === Enabling Features === === Adding Pages to the Navigation ===")
 
Line 2: Line 2:


=== Enabling Features ===
=== Enabling Features ===
Just create the overview page(s) for the feature using the <code>{{#semorg-overview:}}</code> parser function.
As an example, if you want to enable the ''Contact'' feature, create the page „Contacts“ with the the following content:
<pre>{{#semorg-overview:person-contact}}</pre>
Most of the features require more than one page and sometimes additional parameters. For example, the ''Group'' feature consists of the page „Groups“ with the content
<pre>{{#semorg-overview:group
  |query={{{query|[[semorg-group-active::true]]}}}
}}</pre>
as well as the page „Inactive Groups“ with the content
<pre>{{#semorg-overview:group
  |heading={{{heading|{{int:semorg-group-inactive-page-name}}}}}
  |query={{{query|[[semorg-group-active::false]]}}}
}}</pre>
On the page [[SemanticOrganization]] that you will also find on your installation as part of the extension you will find links to create those pages very easily.


=== Adding Pages to the Navigation ===
=== Adding Pages to the Navigation ===

Revision as of 17:56, 21 June 2024

This page is part of semorg's documentation.

Enabling Features

Just create the overview page(s) for the feature using the error: missing parameter feature for parser function semorg-overview! parser function.

As an example, if you want to enable the Contact feature, create the page „Contacts“ with the the following content:

{{#semorg-overview:person-contact}}

Most of the features require more than one page and sometimes additional parameters. For example, the Group feature consists of the page „Groups“ with the content

{{#semorg-overview:group
  |query={{{query|[[semorg-group-active::true]]}}}
}}

as well as the page „Inactive Groups“ with the content

{{#semorg-overview:group
  |heading={{{heading|{{int:semorg-group-inactive-page-name}}}}}
  |query={{{query|[[semorg-group-active::false]]}}}
}}

On the page SemanticOrganization that you will also find on your installation as part of the extension you will find links to create those pages very easily.

Adding Pages to the Navigation