|
|
| | [[Kategorie:Module]] | | [[Kategorie:Module]] |
| − | Module einfügen | + | [[Kategorie:Bedienung des Backends]] |
| | + | Module sind Plugins, welche entweder bereits kostenlos enthalten sind oder später erworben werden können. Als Module gelten z.B. die Navigation, das Gästebuch, der Blog, die Bildergalerie, der e-Shop etc. In diesem Artikel erfahren Sie, wie Sie diese DynPG Module in Ihre Webseite einbinden. |
| | | | |
| − | Autor: Urs Gamper
| + | == Grundsätzlicher Ablauf == |
| | + | Der prinzipielle Ablauf zur Einbindung eines Moduls ist immer gleich. Er besteht aus den folgenden zwei Schritten: |
| | + | # Erstellen eines neuen Artikels mit dem Platzhalter für das Modul. |
| | + | # Anzeigen des Artikels in Frontend. |
| | | | |
| − | Stand: 20. Januar 2009
| + | Diese Schritte sind für alle Module gleich und werden in diesem Artikel beispielhaft an der Einbindung der dynamischen Navigation durchgeführt. |
| | | | |
| | + | == Anlegen des Artikels == |
| | + | Um die Funktion eines bestimmten Moduls in einen Artikel einzubinden, müssen Sie zuerst in die Ansicht für das [[Artikel erstellen|Erstellen von Artikeln]] des Backends wechseln. Im Texteditor für den Inhalt müssen Sie nun lediglich den Platzhalter für das Modul, welches Sie einbinden wollen, einfügen. |
| | | | |
Unexpected non-MediaWiki exception encountered, of type "Error"
[76d0bc64] /wiki_de/index.php?diff=cur&oldid=1639&title=DynPG_Module_einbinden Exception from line 436 of /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(546): DiffEngine->diag(integer, integer, integer, integer, integer)
#1 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(347): DiffEngine->compareSeq(integer, integer, integer, integer)
#2 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(228): DiffEngine->diffLocal(array, array)
#3 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(725): DiffEngine->diff(array, array)
#4 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(864): Diff->__construct(array, array)
#5 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DairikiDiff.php(987): MappedDiff->__construct(array, array, array, array)
#6 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/TableDiffFormatter.php(193): WordLevelDiff->__construct(array, array)
#7 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DiffFormatter.php(143): TableDiffFormatter->changed(array, array)
#8 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DiffFormatter.php(112): DiffFormatter->block(integer, integer, integer, integer, array)
#9 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(910): DiffFormatter->format(Diff)
#10 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(813): DifferenceEngine->generateTextDiffBody(string, string)
#11 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(743): DifferenceEngine->generateContentDiffBody(WikitextContent, WikitextContent)
#12 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(665): DifferenceEngine->getDiffBody()
#13 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(635): DifferenceEngine->getDiff(string, string, string)
#14 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/diff/DifferenceEngine.php(443): DifferenceEngine->showDiff(string, string, string)
#15 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Article.php(826): DifferenceEngine->showDiffPage(boolean)
#16 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Article.php(549): Article->showDiffPage()
#17 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/actions/ViewAction.php(44): Article->view()
#18 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Wiki.php(428): ViewAction->show()
#19 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#20 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Wiki.php(588): MediaWiki->performRequest()
#21 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/Wiki.php(447): MediaWiki->main()
#22 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/index.php(46): MediaWiki->run()
#23 {main}