Hinweis: Sie sind auf den Seiten der Moodle 1.9 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: Datenbank-Vorlagen.

Datenbank-Vorlagen: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
Vorlagen für das [[Datenbank | Datenbankmodul]] erlauben Ihnen die volle Kontrolle über das Aussehen der Informationen, wenn Sie diese in einer Liste oder einzeln betrachten, oder aber auch bei der Eingabe der Informationen. Diese Funktionalität ist ähnlich zu den Serienbrieffunktionen gängiger Textverarbeitungsprogramme. Sie verwenden Platzhalter, die später durch die eigentlichen Einträge ersetzt werden.
Vorlagen für das [[Datenbank | Datenbankmodul]] erlauben Ihnen die volle Kontrolle über das Aussehen der Informationen, wenn Sie diese in einer Liste oder einzeln betrachten, oder aber auch bei der Eingabe der Informationen. Diese Funktionalität ist ähnlich zu den Serienbrieffunktionen gängiger Textverarbeitungsprogramme. Sie verwenden Platzhalter, die später durch die eigentlichen Einträge ersetzt werden.


== Verwendung von zusätzlichen Aktionen (Tags) ==
== Verwendung von Aktionen (Tags) ==


The content of each [[Datenbank-Felder|Feld]] you create for your database and some special tags (listed below) can be inserted into the output template by the use of tags.
The content of each [[Datenbank-Felder|Feld]] you create for your database and some special tags (listed below) can be inserted into the output template by the use of tags.

Version vom 28. Januar 2009, 11:32 Uhr

Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.

Siehe en:Database templates


Vorlagen für das Datenbankmodul erlauben Ihnen die volle Kontrolle über das Aussehen der Informationen, wenn Sie diese in einer Liste oder einzeln betrachten, oder aber auch bei der Eingabe der Informationen. Diese Funktionalität ist ähnlich zu den Serienbrieffunktionen gängiger Textverarbeitungsprogramme. Sie verwenden Platzhalter, die später durch die eigentlichen Einträge ersetzt werden.

Verwendung von Aktionen (Tags)

The content of each Feld you create for your database and some special tags (listed below) can be inserted into the output template by the use of tags.

Fields have the format [[fieldname]]. All other tags have the format ##sometag##.

To use the tags in the box on the left of the page, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Alternatively, you may simply type the appropriate name within the required symbols like ##this## or [[this]], respectively.

  • ##edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)
  • ##delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)
  • ##approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)
  • ##more## creates a link to the single view, which may contain more detailed info
  • ##moreurl## creates just the URL for the above link, useful for creating your own links. You can click on the link icon and type ##moreurl## into URL field or in source view type
    <a href="##moreurl##">[[fieldname]]</a>
  • ##comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)
  • ##user## creates a link to the user page of the user who submitted the entry, link text is their name

Moodle1.9 Moodle 1.9.1 onwards includes the following additional tags:

  • ##timeadded##
  • ##timemodified##
  • ##firstname##
  • ##lastname##

Vorlage für Listen

Vorlage für Einzelansicht

Vorlage zur erweiterten Suche

Vorlage für neue Einträge

Vorlage für RSS-Feed

CSS für Vorlage

JavaScript für Vorlage

Vorlagen zurücksetzen

Siehe auch