OK www.nutzpflanzen.de verwendet Cookies. Mit Benutzung dieser Webseite stimmen Sie dem zu. Mehr Informationen dazu.

Ansichten

Text

OntologySkin

Information about the skin which is included with the OntologyPlugin. You can read about the basics of the extension and miscellaneous information at OntologyContrib. You can find information about rest handlers and macros at OntologyPlugin.

The ontology skin is a cover skin for the standard PatternSkin.

Usage

You use this skin by setting the preference SKIN in SitePreferences, in the topic WebPreferences or in a topic; e.g.:
  • Set SKIN = ontology, pattern

A variant of the skin is one with a sidebar. You can use this by setting(remove the #):
  • #Set SKIN = ontologysidebar, ontology, pattern

Another possibility is to specify the ontologysidebar in a single topic by additionally setting (remove the #):
  • #Set COVER = ontologysidebar

Please have a look at the following chapters for more information on setting and configuring the features of the OntologySkin.

Skin templates

The templates in the sub directory /templates of your foswiki installation:
  • view.ontology.tmpl
  • view.ontologysidebar.tmpl
  • viewsidebar.ontology.tmpl (???)
  • viewsidebar.ontologysidebar.tmpl

Opps

The OntologySkin uses and needs the following so called opps:

User area and user area widgets

The user area is the personal desktop of the user. It can be filled with user area widgets.

Usage

User area

User area widgets

%SEARCH{ 
"fields[name='Object'].value~'OntologyApp.UserAreaWidgets'"  
type="query"  
web="%SAMEAS{rel="Ontologies/Meta/ElementOf"}%"   
nonoise="on"
zeroresults="Keine Nutzerbereich-Widgets gefunden."
excludetopic="WebHome, WebPreferences, WebIndex, RecentChanges, RelationTopicTemplate, OntologyTopicTemplate, DataForm, RelationDataForm"   
format="   * $formfield('Subject'): <noautolink>$percntQUERY{\"'$formfield('Subject')'/fields[name='Description'].value\"}$percnt</noautolink>"
}%

Helper topics and templates for the user area

  • IsWidgetInUserAreaOf: Relationsmenge, über die ein beliebiges Topic dem Bereich eines Nutzers zugeordnet werden kann
  • UserAreaWidgetTopicTemplate: Template, das zur Erstellung eines neuen Widgets verwendet wird (hat UserAreaWidgetForm anghehängt)
  • UserAreaWidgetForm: Formular, das für Widget-Topics verwendet wird
    • Title: Bezeichnung des Widgets
    • Description: Beschreibung des Widgets
    • Menu-Title: Bezeichnung, die in der Menüliste in den Nutzerbereichen angezeigt wird
    • Menu-Description: Beschreibung, die z.B. in der Menüliste in den Nutzerbereichen angezeigt werden kann
    • Menu-Image: Bild, dass in der Menüliste in den Nutzerbereichen angezeigt wird
  • StandardWidgetTemplate:Wird verwendet, wenn ein Nutzer erstmalig seinen Nutzerbereich mit einem Standard-Set von Widgets füllen möchte (enthält TopicCreatePlugin-Macros)
  • UserAreaWidgetRelationTopicTemplate: Template für neue Nutzerbereich-Widget-Relationen (hat UserAreaWidgetRelationForm angehängt)
  • UserAreaWidgetRelationForm: Formular, das für einzelne Relationen von Nutzerbereich-Widgets (Widget -> Nutzer) verwendet wird
    • Title: Bezeichnung der Relation
    • Description: Beschreibung der Relation
    • Menu-Order: Nummer für die Sortierung im Nutzerbereich-Menü; Niedrigste zuerst

Visualisierung

 

Daten

 
 
Keine Beratung! Und ohne Gewähr! | Das Impressum | Datenschutz

This site is powered by FoswikiFalls Du Inhalte der Webseite verwenden möchtest, nehme bitte zunächst Kontakt zu den jeweiligen Autoren oder falls nicht erreichbar zum Betreiber auf!

Ideas, requests, problems regarding www.nutzpflanzen.de? Send feedback