<?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=Codebeispiel_-_Suche</id>
		<title>Codebeispiel - Suche - 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=Codebeispiel_-_Suche"/>
		<link rel="alternate" type="text/html" href="https://wiki-en.dynpg.org/wiki_de/index.php?title=Codebeispiel_-_Suche&amp;action=history"/>
		<updated>2026-04-17T15:38:25Z</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=Codebeispiel_-_Suche&amp;diff=3507&amp;oldid=prev</id>
		<title>Torsten am 9. Oktober 2011 um 18:14 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki-en.dynpg.org/wiki_de/index.php?title=Codebeispiel_-_Suche&amp;diff=3507&amp;oldid=prev"/>
				<updated>2011-10-09T18:14:44Z</updated>
		
		<summary type="html">&lt;p&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 9. Oktober 2011, 18:14 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 2:&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;{{Code Example&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;{{Code Example&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;| Beschreibung = Eine [[Suchfunktion für Webseiten|dynamische Suche]] einbinden&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;| Beschreibung = Eine [[Suchfunktion für Webseiten|dynamische Suche]] einbinden&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;| Link = http://examples.gampers.ch/examples/search/?read_group=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/del&gt;&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;| Link = http://examples.gampers.ch/examples/search/?read_group=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;&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;| Snippet = {{Snippet - Search}}&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;| Snippet = {{Snippet - Search}}&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;| Code = &amp;#160;&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;| Code = &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torsten</name></author>	</entry>

	<entry>
		<id>https://wiki-en.dynpg.org/wiki_de/index.php?title=Codebeispiel_-_Suche&amp;diff=3494&amp;oldid=prev</id>
		<title>Torsten: Die Seite wurde neu angelegt: „Category:Beispiele {{Code Example | Beschreibung = Eine dynamische Suche einbinden | Link = http://examples.gampers.ch/example…“</title>
		<link rel="alternate" type="text/html" href="https://wiki-en.dynpg.org/wiki_de/index.php?title=Codebeispiel_-_Suche&amp;diff=3494&amp;oldid=prev"/>
				<updated>2011-10-09T17:02:19Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&lt;a href=&quot;/wiki_de/index.php?title=Kategorie:Beispiele&quot; title=&quot;Kategorie:Beispiele&quot;&gt;Category:Beispiele&lt;/a&gt; {{Code Example | Beschreibung = Eine &lt;a href=&quot;/wiki_de/index.php?title=Suchfunktion_f%C3%BCr_Webseiten&quot; class=&quot;mw-redirect&quot; title=&quot;Suchfunktion für Webseiten&quot;&gt;dynamische Suche&lt;/a&gt; einbinden | Link = http://examples.gampers.ch/example…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Beispiele]]&lt;br /&gt;
{{Code Example&lt;br /&gt;
| Beschreibung = Eine [[Suchfunktion für Webseiten|dynamische Suche]] einbinden&lt;br /&gt;
| Link = http://examples.gampers.ch/examples/search/?read_group=2&lt;br /&gt;
| Snippet = {{Snippet - Search}}&lt;br /&gt;
| Code = &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;index.php:&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;code&amp;gt;[php,N]&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
  require &amp;#039;../../dynpg/getcontent.php&amp;#039;;                   // DynPG-Funktionalität einbinden&lt;br /&gt;
  $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_PathToRoot(&amp;#039;../../dynpg/&amp;#039;); // DynPG-Pfad setzen&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en-US&amp;quot; lang=&amp;quot;en-US&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
  &amp;lt;title&amp;gt;Dynamische Suche&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;style.css&amp;quot; /&amp;gt;  &amp;lt;!--eigene style.css einbinden--&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h1&amp;gt;Dynamische Suche&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Navigation --&amp;gt;&lt;br /&gt;
  &amp;lt;div id=&amp;quot;navigation&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;?php&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetupTemplate(&amp;#039;uneditable&amp;#039;);          // diese Template verhindert, dass der Artikel selbst im Frontend-Editiermodus bearbeitet werden kann&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_Anytime(true);             // dynamische Navigation immer anzeigen&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_Article(1);                // Artikelnummer der dynamischen Navigation&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_ArticleHeader(false);      // Artikelkopf (Titel, Lead-Bild und Lead-Text) ausblenden&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_CategoryNavigation(false); // Kategorienavigation (Gruppe &amp;gt; Untergruppe &amp;gt; Artikel) ausblenden&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_PrintNavigation(false);    // Drucken-Link ausblenden&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;Write_Article();                      // dynamische Navigation ausgeben&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetupTemplate(&amp;#039;default&amp;#039;);             // Standard-Template setzen&lt;br /&gt;
    ?&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Inhalt --&amp;gt;&lt;br /&gt;
  &amp;lt;div id=&amp;quot;inhalt&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Suche --&amp;gt;&lt;br /&gt;
    &amp;lt;div id=&amp;quot;suche&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;?php $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;Write_ArticleSearch(); ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;?php&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;Write_AllGroups();         // Gruppenlisten-Ansicht ausgeben (standardmäßig abhängig vom Navigationskontext)&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;Write_AllArticles();       // Artikdelliste-Ansicht ausgeben (standardmäßig abhängig vom Navigationskontext)&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;SetParam_A_Anytime(false); // Parameter wieder auf false setzen (wurde bei der Navigation auf true gesetzt)&lt;br /&gt;
    $GLOBALS[&amp;quot;DynPG&amp;quot;]-&amp;gt;Write_Article();           // Artikel-Detailansicht ausgeben&lt;br /&gt;
    ?&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;style.css:&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;code&amp;gt;[css,N]&lt;br /&gt;
/* Navigation */&lt;br /&gt;
div#navigation{&lt;br /&gt;
  /* Angaben für ein zweispaltiges Layout */&lt;br /&gt;
  float:left;&lt;br /&gt;
  width:150pt;&lt;br /&gt;
  margin-left:5pt;&lt;br /&gt;
  margin-right:5pt;&lt;br /&gt;
 &lt;br /&gt;
  border:1px solid #AAA;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Inhalt */&lt;br /&gt;
div#inhalt {&lt;br /&gt;
  /* Angaben für ein zweispaltiges Layout */ &lt;br /&gt;
  margin-left:165pt;&lt;br /&gt;
  margin-right:5pt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#suche {&lt;br /&gt;
  width:100%;&lt;br /&gt;
  text-align:right;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
/* Alle divs innerhalb des Navigationsmenüs verschieben ihren Inhalt&lt;br /&gt;
   um 10 pt nach rechts. Durch die Verschaltelung von divs innerhalb&lt;br /&gt;
   des Menüs erhalten wir so eine Einrückung. */&lt;br /&gt;
div#course_categories_menu  div  {&lt;br /&gt;
  padding-left:10pt;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
/* Alle links innerhalb des Navigationsmenüs */&lt;br /&gt;
div#course_categories_menu  a {&lt;br /&gt;
  text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Torsten</name></author>	</entry>

	</feed>