<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki-en.dynpg.org/wiki_de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki-en.dynpg.org/wiki_de/index.php?action=history&amp;feed=atom&amp;title=Template-Engine</id>
		<title>Template-Engine - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki-en.dynpg.org/wiki_de/index.php?action=history&amp;feed=atom&amp;title=Template-Engine"/>
		<link rel="alternate" type="text/html" href="https://wiki-en.dynpg.org/wiki_de/index.php?title=Template-Engine&amp;action=history"/>
		<updated>2026-04-17T15:38:29Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in DynPG-Wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wiki-en.dynpg.org/wiki_de/index.php?title=Template-Engine&amp;diff=1978&amp;oldid=prev</id>
		<title>Sebastian: /* Einführung */</title>
		<link rel="alternate" type="text/html" href="https://wiki-en.dynpg.org/wiki_de/index.php?title=Template-Engine&amp;diff=1978&amp;oldid=prev"/>
				<updated>2009-08-07T15:53:00Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Einführung&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 7. August 2009, 15:53 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Templateengine von DynPG besteht im Wesentlichen aus der in der Datei&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Templateengine von DynPG besteht im Wesentlichen aus der in der Datei&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tt&amp;gt;(cms)/plugins/templates.php&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tt&amp;gt;(cms)/plugins/templates.php&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;defi�nierten &lt;/del&gt;Klasse &amp;lt;tt&amp;gt;TTemplate&amp;lt;/tt&amp;gt;. Die in ihr enthaltenen Methoden werden innerhalb der&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;definierten &lt;/ins&gt;Klasse &amp;lt;tt&amp;gt;TTemplate&amp;lt;/tt&amp;gt;. Die in ihr enthaltenen Methoden werden innerhalb der&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Klasse durch Kommentare recht gut dokumentiert.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Klasse durch Kommentare recht gut dokumentiert.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sebastian</name></author>	</entry>

<tr><td colspan="2" class="diff-lineno"><!--LINE 1--></td>
<td colspan="2" class="diff-lineno"><!--LINE 1--></td></tr>
<tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange">{{stub}}</ins></div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>[[Kategorie:Entwicklerdoku]]</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>[[Kategorie:Entwicklerdoku]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange">DynPG besitzt eine Template-Engine, mit der es möglich ist, die Art und Weise wie Artikel und Listen, etc. angezeigt werden, zu verändern. Die Templates für die Basisfunktionalitäten des CMS befinden sich in &#039;&#039;&#039;&#039;&#039;tpl/MyCMS/&#039;&#039;&#039;&#039;&#039;. Indem man dort einen neuen Ordner erstellt, wird in DynPG ein neues Template registriert, mit dem Namen des Ordners. In dem Ordner müssen nun bestimmte .tpl-Dateien erstellt werden um gewisse Ansichten zu beeinflussen: </del></div></td><td colspan="2">&#160;</td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;articles.tpl&#039;&#039;&#039;&#039;&#039; (Artikellistenansicht)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange diffchange-inline">== Einführung ==</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;detail.tpl&#039;&#039;&#039;&#039;&#039; (Artikeldetailansicht)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;groups.tpl&#039;&#039;&#039;&#039;&#039; (Gruppenlistenansicht)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;home.tpl&#039;&#039;&#039;&#039;&#039; (Startseitenansicht)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;navigation-pages.tpl&#039;&#039;&#039;&#039;&#039;(weiter-/zurück- Buttons, wenn eine Liste sehr lang ist)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">* &#039;&#039;&#039;&#039;&#039;search-form.tpl&#039;&#039;&#039;&#039;&#039; (Suchform)</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div></div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>Die <del class="diffchange diffchange-inline">Templates </del>werden <del class="diffchange diffchange-inline">bei </del>der <del class="diffchange diffchange-inline">Benutzung folgendermaßen gesetzt: </del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>Die <ins class="diffchange diffchange-inline">Templateengine von DynPG besteht im Wesentlichen aus der in der Datei</ins></div></td></tr>
<tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange diffchange-inline">&lt;tt&gt;(cms)/plugins/templates.php&lt;/tt&gt;</ins></div></td></tr>
<tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange diffchange-inline">defi�nierten Klasse &lt;tt&gt;TTemplate&lt;/tt&gt;. Die in ihr enthaltenen Methoden </ins>werden <ins class="diffchange diffchange-inline">innerhalb </ins>der</div></td></tr>
<tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange diffchange-inline">Klasse durch Kommentare recht gut dokumentiert.</ins></div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>

Fatal error: Uncaught TypeError: MWExceptionHandler::rollbackMasterChangesAndLog(): Argument #1 ($e) must be of type Exception, Error given, called in /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/exception/MWExceptionHandler.php on line 137 and defined in /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/exception/MWExceptionHandler.php:111
Stack trace:
#0 /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::rollbackMasterChangesAndLog(Object(Error))
#1 [internal function]: MWExceptionHandler::handle(Object(Error))
#2 {main}
  thrown in /home/httpd/vhosts/fuchsloch.ch/dynpg/wiki_de/includes/exception/MWExceptionHandler.php on line 111
