<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://de.contaowiki.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://de.contaowiki.org/index.php?action=history&amp;feed=atom&amp;title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben</id>
		<title>Formulardaten an eine PDF-Datei übergeben - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://de.contaowiki.org/index.php?action=history&amp;feed=atom&amp;title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben"/>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;action=history"/>
		<updated>2026-05-02T14:01:12Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Contao Community Documentation</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5155&amp;oldid=prev</id>
		<title>Cliff.parnitzky: /* Vorgehen */</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5155&amp;oldid=prev"/>
				<updated>2012-03-28T07:58:41Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Vorgehen&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 28. März 2012, 07:58 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;* Formular auf Seite 1 einbinden&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;* Formular auf Seite 1 einbinden&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;* In Seite 2 einen Aktikel anlegen und unter '''Syndikation''' den Haken bei '''Artikel als PDF''' setzen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;* In Seite 2 einen Aktikel anlegen und unter '''Syndikation''' den Haken bei '''Artikel als PDF''' setzen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;* Im Artikel ein Inhaltselement definieren und dort mittels folgendem &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Muster &lt;/del&gt;auf die übertragenen Formularwerte zugreifen um sie auszugeben&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;* Im Artikel ein Inhaltselement definieren und dort mittels folgendem &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Inserttag &lt;/ins&gt;auf die übertragenen Formularwerte zugreifen um sie auszugeben &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(''feld_name'' entsprechend ersetzen)&lt;/ins&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;#160; {{post::feld_name}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;#160; {{post::feld_name}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&amp;lt;/source&amp;gt;{{Hinweis|Wenn im Formular die Übertragungsmethode &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;get &lt;/del&gt;gewählt ist muss mittels &amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;{{get::feld_name}}&amp;lt;/source&amp;gt; auf die Feldwerte zugegriffen werden.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;&amp;lt;/source&amp;gt;{{Hinweis|Wenn im Formular die Übertragungsmethode &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''GET''' &lt;/ins&gt;gewählt ist muss mittels &amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;{{get::feld_name}}&amp;lt;/source&amp;gt; auf die Feldwerte zugegriffen werden.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}{{Hinweis|Statt der Erweiterung [inputvar] kann auch [[EFG | [efg]]] genutzt werden. Der Inserttag für die Ausgabe lautet dann: &amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;{{form::feld_name}}&amp;lt;/source&amp;gt;&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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='diff-marker'&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;tr&gt;&lt;td class='diff-marker'&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;==Styling des PDF==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;==Styling des PDF==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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='diff-marker'&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;tr&gt;&lt;td class='diff-marker'&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;Mit Hilf der Extension [http://www.contao.org/erweiterungsliste/view/pdf-template.html [pdf-template]] kann man das PDF so stylen wie man es gern hätte (z.B. Logo, Seitenfuß, Adressblock, etc.).{{Achtung|Es sind nicht alle CSS Definition möglich. Weitere Infos dazu gibt es unter: [[PDF_Ausgabe | PDF Ausgabe]]}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;Mit Hilf der Extension [http://www.contao.org/erweiterungsliste/view/pdf-template.html [pdf-template]] kann man das PDF so stylen wie man es gern hätte (z.B. Logo, Seitenfuß, Adressblock, etc.).{{Achtung|Es sind nicht alle CSS Definition möglich. Weitere Infos dazu gibt es unter: [[PDF_Ausgabe | PDF Ausgabe]]}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kunde29sql1:diff:version:1.11a:oldid:5116:newid:5155 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cliff.parnitzky</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5116&amp;oldid=prev</id>
		<title>Cliff.parnitzky: hat „Formulardaten an ein PDF-Datei übergeben“ nach „Formulardaten an eine PDF-Datei übergeben“ verschoben</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5116&amp;oldid=prev"/>
				<updated>2012-03-15T21:29:17Z</updated>
		
		<summary type="html">&lt;p&gt;hat „&lt;a href=&quot;/Formulardaten_an_ein_PDF-Datei_%C3%BCbergeben&quot; class=&quot;mw-redirect&quot; title=&quot;Formulardaten an ein PDF-Datei übergeben&quot;&gt;Formulardaten an ein PDF-Datei übergeben&lt;/a&gt;“ nach „&lt;a href=&quot;/Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&quot; title=&quot;Formulardaten an eine PDF-Datei übergeben&quot;&gt;Formulardaten an eine PDF-Datei übergeben&lt;/a&gt;“ verschoben&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 15. März 2012, 21:29 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Cliff.parnitzky</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5115&amp;oldid=prev</id>
		<title>Cliff.parnitzky: Die Seite wurde neu angelegt: „Category:Admin HOWTOS Category:Dev HOWTOS Category:Dev Snippets {{AppliesTo |Version=ab 2.9 }}  ==Einleitung==  Basierend auf dieser Anforderung aus d…“</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Formulardaten_an_eine_PDF-Datei_%C3%BCbergeben&amp;diff=5115&amp;oldid=prev"/>
				<updated>2012-03-15T16:20:00Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&lt;a href=&quot;/Kategorie:Admin_HOWTOS&quot; title=&quot;Kategorie:Admin HOWTOS&quot;&gt;Category:Admin HOWTOS&lt;/a&gt; &lt;a href=&quot;/Kategorie:Dev_HOWTOS&quot; title=&quot;Kategorie:Dev HOWTOS&quot;&gt;Category:Dev HOWTOS&lt;/a&gt; &lt;a href=&quot;/Kategorie:Dev_Snippets&quot; title=&quot;Kategorie:Dev Snippets&quot;&gt;Category:Dev Snippets&lt;/a&gt; {{AppliesTo |Version=ab 2.9 }}  ==Einleitung==  Basierend auf dieser Anforderung aus d…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Admin HOWTOS]]&lt;br /&gt;
[[Category:Dev HOWTOS]]&lt;br /&gt;
[[Category:Dev Snippets]]&lt;br /&gt;
{{AppliesTo&lt;br /&gt;
|Version=ab 2.9&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Einleitung==&lt;br /&gt;
&lt;br /&gt;
Basierend auf dieser Anforderung aus dem Forum: [https://www.contao-community.de/showthread.php?19958-Formulardaten-an-PDF-Datei-%FCbergeben Formulardaten an PDF-Datei übergeben ] gibt es hier eine Anleitung wie Eingaben in einem Fomrular in ein PDF Dokument übertragen werden können.&lt;br /&gt;
&lt;br /&gt;
==Voraussetzung==&lt;br /&gt;
&lt;br /&gt;
Es wird davon ausgegangen dass die Erweiterung [http://www.contao.org/erweiterungsliste/view/inputvar.de.html [inputvar]] installiert ist.&lt;br /&gt;
&lt;br /&gt;
==Verwendung im Frontend==&lt;br /&gt;
&lt;br /&gt;
Der User geht nun auf eine Seite mit einem Formular, trägt dort alles ein, klickt auf Absenden und gelangt dann auf eine Ergebnisseite. Dort werden die Eingaben visualisiert und sind als PDF exportierbar (mittels Syndication: Artikel als PDF drucken).&lt;br /&gt;
&lt;br /&gt;
==Vorgehen==&lt;br /&gt;
&lt;br /&gt;
* 2 Seiten anlegen: Seite 1 für das Formular, Seite 2 für die Ergebnisseite&lt;br /&gt;
* Formular mit den gewünschten Feldern in Formulargenerator anlegen (Übertragungsmethode: Post, Weiterleitungsseite: Seite 2)&lt;br /&gt;
* Formular auf Seite 1 einbinden&lt;br /&gt;
* In Seite 2 einen Aktikel anlegen und unter '''Syndikation''' den Haken bei '''Artikel als PDF''' setzen&lt;br /&gt;
* Im Artikel ein Inhaltselement definieren und dort mittels folgendem Muster auf die übertragenen Formularwerte zugreifen um sie auszugeben&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
 {{post::feld_name}}&lt;br /&gt;
&amp;lt;/source&amp;gt;{{Hinweis|Wenn im Formular die Übertragungsmethode get gewählt ist muss mittels &amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;{{get::feld_name}}&amp;lt;/source&amp;gt; auf die Feldwerte zugegriffen werden.}}&lt;br /&gt;
&lt;br /&gt;
==Styling des PDF==&lt;br /&gt;
&lt;br /&gt;
Mit Hilf der Extension [http://www.contao.org/erweiterungsliste/view/pdf-template.html [pdf-template]] kann man das PDF so stylen wie man es gern hätte (z.B. Logo, Seitenfuß, Adressblock, etc.).{{Achtung|Es sind nicht alle CSS Definition möglich. Weitere Infos dazu gibt es unter: [[PDF_Ausgabe | PDF Ausgabe]]}}&lt;/div&gt;</summary>
		<author><name>Cliff.parnitzky</name></author>	</entry>

	</feed>