<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=ProcessWire_-_Functional_Fields</id>
	<title>ProcessWire - Functional Fields - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=ProcessWire_-_Functional_Fields"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Functional_Fields&amp;action=history"/>
	<updated>2026-05-06T16:36:53Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Functional_Fields&amp;diff=24218&amp;oldid=prev</id>
		<title>37.49.72.8: Die Seite wurde neu angelegt: „  https://processwire.com/blog/posts/functional-fields/  In PW3 kamen die functional Fields hinzu. Mit diesen kann man statischen Text dynamisch im Page Editor…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Functional_Fields&amp;diff=24218&amp;oldid=prev"/>
		<updated>2019-12-30T19:03:52Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „  https://processwire.com/blog/posts/functional-fields/  In PW3 kamen die functional Fields hinzu. Mit diesen kann man statischen Text dynamisch im Page Editor…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;  https://processwire.com/blog/posts/functional-fields/&lt;br /&gt;
&lt;br /&gt;
In PW3 kamen die functional Fields hinzu. Mit diesen kann man statischen Text dynamisch im Page Editor ansprechen. D.h. das Functional Field findet Texte im Template und macht sie automatisch editierbar im Page Editor. Das Ganze funktioniert auch Mehrsprachig.&lt;br /&gt;
&lt;br /&gt;
Functional Fields sind geeignet wenn man einen Standardwert im Feld hat, der in manchen Fällen überschrieben werden soll.&lt;br /&gt;
&lt;br /&gt;
== Beispiele ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
__text(&amp;#039;your text&amp;#039;);&lt;br /&gt;
__textarea(&amp;#039;your text&amp;#039;);&lt;br /&gt;
__richtext(&amp;#039;&amp;lt;p&amp;gt;your text&amp;lt;/p&amp;gt;&amp;#039;); &lt;br /&gt;
__text(&amp;#039;Subscribe Now&amp;#039;, &amp;#039;subscribe&amp;#039;) // define a identifier for this text snippet...&lt;br /&gt;
__text(&amp;#039;subscribe&amp;#039;) // ..reuse it this way&lt;br /&gt;
$pages-&amp;gt;get(&amp;#039;/&amp;#039;)-&amp;gt;mytext-&amp;gt;subscribe // reuse from another template&lt;br /&gt;
__text(&amp;#039;Subscribe Now&amp;#039;, &amp;#039;subscribe&amp;#039;, &amp;#039;Submit button&amp;#039;); // Label for page editor&lt;br /&gt;
__text(&amp;#039;Subscribe Now&amp;#039;, &amp;#039;subscribe&amp;#039;, &amp;#039;label=Submit button, notes=Test&amp;#039;); // or use a pw selector&lt;br /&gt;
__text(&amp;#039;Subscribe Now&amp;#039;, &amp;#039;name=subscribe, label=Submit button, notes=Test&amp;#039;); // equivalent to upper&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>37.49.72.8</name></author>
	</entry>
</feed>