First Steps: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(Created page with "{{semorg-docs}} === Enabling Features === === Adding Pages to the Navigation ===")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


=== Enabling Features ===
=== Enabling Features ===
Just create the overview page(s) for the feature using the <code><nowiki>{{#semorg-overview:}}</nowiki></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 ===
After having created the pages, you can add them to the main navigation by editing the <code>Tweeki-navbar-left</code> or <code>Tweeki-navbar-right</code> system messages. See also the [https://tweeki.kollabor.at documentation for the Tweeki skin].

Latest revision as of 11:21, 22 June 2024

This page is part of semorg's documentation.

Enabling Features

Just create the overview page(s) for the feature using the {{#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

After having created the pages, you can add them to the main navigation by editing the Tweeki-navbar-left or Tweeki-navbar-right system messages. See also the documentation for the Tweeki skin.