<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.219.79.191</id>
	<title>Wikizone - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.219.79.191"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Spezial:Beitr%C3%A4ge/79.219.79.191"/>
	<updated>2026-05-06T14:46:35Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Pagination&amp;diff=23281</id>
		<title>ProcessWire - Pagination</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Pagination&amp;diff=23281"/>
		<updated>2018-08-22T05:55:45Z</updated>

		<summary type="html">&lt;p&gt;79.219.79.191: Die Seite wurde neu angelegt: „Seitenbrowser / Pagebrowser in ProcessWire   https://processwire.com/api/modules/markup-pager-nav/  * Im Template erlauben Beispiele  Kindseiten auflisten &amp;lt;syn…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Seitenbrowser / Pagebrowser in ProcessWire&lt;br /&gt;
&lt;br /&gt;
 https://processwire.com/api/modules/markup-pager-nav/&lt;br /&gt;
&lt;br /&gt;
* Im Template erlauben&lt;br /&gt;
Beispiele&lt;br /&gt;
&lt;br /&gt;
Kindseiten auflisten&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$options = array(&lt;br /&gt;
 	&amp;#039;listMarkup&amp;#039; =&amp;gt; &amp;quot;&amp;lt;ul class=&amp;#039;uk-list uk-list-striped&amp;#039;&amp;gt;{out}&amp;lt;/ul&amp;gt;&amp;quot;,&lt;br /&gt;
	&amp;#039;pagerOptions&amp;#039; =&amp;gt; array(&lt;br /&gt;
		&amp;#039;listMarkup&amp;#039; =&amp;gt; &amp;quot;&amp;lt;ul class=&amp;#039;uk-pagination&amp;#039;&amp;gt;{out}&amp;lt;/ul&amp;gt;&amp;quot;,&lt;br /&gt;
	)&lt;br /&gt;
 );&lt;br /&gt;
$content = $page-&amp;gt;children(&amp;quot;limit=10&amp;quot;)-&amp;gt;render($options);&lt;br /&gt;
/*&lt;br /&gt;
 * Note that the render() method above is from the MarkupPageArray plugin module.&lt;br /&gt;
 * It does nothing more than iterate through the provided pages and make an unordered list,&lt;br /&gt;
 * optionally with pagination.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>79.219.79.191</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23280</id>
		<title>ProcessWire - Selectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23280"/>
		<updated>2018-08-21T16:57:09Z</updated>

		<summary type="html">&lt;p&gt;79.219.79.191: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Operatoren ==&lt;br /&gt;
 http://cheatsheet.processwire.com/selectors/selector-operators/&lt;br /&gt;
&lt;br /&gt;
== Beispiele ==&lt;br /&gt;
=== Selektoren in Option Fieldtypes ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$optionsfield // return id (string)&lt;br /&gt;
$optionsfield-&amp;gt;id; // return id (int)&lt;br /&gt;
$optionsfield-&amp;gt;title; // return string USE THIS or&lt;br /&gt;
$optionsfield-&amp;gt;value; // return empty string or value (if your option settings like &amp;#039;1=value|title&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
// dot syntax in selector string&lt;br /&gt;
$pages-&amp;gt;find(&amp;#039;optionsfield.id=2&amp;#039;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Seiten finden ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$skyscrapers = $pages-&amp;gt;find(&amp;quot;template=skyscraper, sort=-modified&amp;quot;);&lt;br /&gt;
foreach($skyscrapers as $skyscraper) {&lt;br /&gt;
    echo &amp;quot;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;#039;$skyscraper-&amp;gt;url&amp;#039;&amp;gt;$skyscraper-&amp;gt;title&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Page Reference auf diese Seite ===&lt;br /&gt;
https://processwire.com/talk/topic/1071-page-fieldtype-two-way-relation/&lt;br /&gt;
 echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
If the page isn&amp;#039;t part of the front-end site, then I&amp;#039;ll remove view access from its template. Or if it is part of the front-end, but I don&amp;#039;t want to show the relations, then this:&lt;br /&gt;
&lt;br /&gt;
 if($page-&amp;gt;editable()) echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
 &lt;br /&gt;
Though I almost always integrate these relation-revealing pages into the site structure, as it&amp;#039;s rare that this information doesn&amp;#039;t have some value to the site&amp;#039;s users too. This is an example of one that locates all pages referencing it in a field called &amp;#039;country&amp;#039;:&lt;br /&gt;
 https://www.tripsite.com/countries/croatia/&lt;br /&gt;
&lt;br /&gt;
=== Punkt Syntax ===&lt;br /&gt;
 $architects = $pages-&amp;gt;find(&amp;quot;template=architect, city.title=Chicago&amp;quot;); &lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect=$architects&amp;quot;); &lt;br /&gt;
That&amp;#039;s easy enough, but wouldn&amp;#039;t it be nicer if you could just do this?&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.title=Chicago&amp;quot;); &lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.abbr=IL&amp;quot;); &lt;br /&gt;
Broadening further, perhaps we want buildings from all architects in the USA:&lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.country.abbr=USA&amp;quot;);&lt;br /&gt;
Or perhaps both USA and Canada:&lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.country.abbr=USA|CA&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
=== User ===&lt;br /&gt;
 http://cheatsheet.processwire.com/users/users-methods/users-find-selector/&lt;br /&gt;
Find all users whose email address ENDS with processwire.com and create a link to email them&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$items = $users-&amp;gt;find(&amp;quot;email$=processwire.com&amp;quot;);&lt;br /&gt;
foreach($items as $item) {&lt;br /&gt;
    echo &amp;quot;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;#039;mailto:{$item-&amp;gt;email}&amp;#039;&amp;gt;{$item-&amp;gt;name}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Find all users who have &amp;quot;fred&amp;quot; anywhere in their name&lt;br /&gt;
&lt;br /&gt;
 $items = $users-&amp;gt;find(&amp;quot;name*=fred&amp;quot;);&lt;br /&gt;
Find all users who have the &amp;quot;superuser&amp;quot; role&lt;br /&gt;
&lt;br /&gt;
 $items = $users-&amp;gt;find(&amp;quot;roles=superuser&amp;quot;);&lt;/div&gt;</summary>
		<author><name>79.219.79.191</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23279</id>
		<title>ProcessWire - Selectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23279"/>
		<updated>2018-08-21T16:49:04Z</updated>

		<summary type="html">&lt;p&gt;79.219.79.191: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Beispiele ==&lt;br /&gt;
=== Selektoren in Option Fieldtypes ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$optionsfield // return id (string)&lt;br /&gt;
$optionsfield-&amp;gt;id; // return id (int)&lt;br /&gt;
$optionsfield-&amp;gt;title; // return string USE THIS or&lt;br /&gt;
$optionsfield-&amp;gt;value; // return empty string or value (if your option settings like &amp;#039;1=value|title&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
// dot syntax in selector string&lt;br /&gt;
$pages-&amp;gt;find(&amp;#039;optionsfield.id=2&amp;#039;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Page Reference auf diese Seite ===&lt;br /&gt;
https://processwire.com/talk/topic/1071-page-fieldtype-two-way-relation/&lt;br /&gt;
 echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
If the page isn&amp;#039;t part of the front-end site, then I&amp;#039;ll remove view access from its template. Or if it is part of the front-end, but I don&amp;#039;t want to show the relations, then this:&lt;br /&gt;
&lt;br /&gt;
 if($page-&amp;gt;editable()) echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
 &lt;br /&gt;
Though I almost always integrate these relation-revealing pages into the site structure, as it&amp;#039;s rare that this information doesn&amp;#039;t have some value to the site&amp;#039;s users too. This is an example of one that locates all pages referencing it in a field called &amp;#039;country&amp;#039;:&lt;br /&gt;
 https://www.tripsite.com/countries/croatia/&lt;br /&gt;
&lt;br /&gt;
=== Punkt Syntax ===&lt;br /&gt;
 $architects = $pages-&amp;gt;find(&amp;quot;template=architect, city.title=Chicago&amp;quot;); &lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect=$architects&amp;quot;); &lt;br /&gt;
That&amp;#039;s easy enough, but wouldn&amp;#039;t it be nicer if you could just do this?&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.title=Chicago&amp;quot;); &lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.abbr=IL&amp;quot;); &lt;br /&gt;
Broadening further, perhaps we want buildings from all architects in the USA:&lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.country.abbr=USA&amp;quot;);&lt;br /&gt;
Or perhaps both USA and Canada:&lt;br /&gt;
&lt;br /&gt;
 $buildings = $pages-&amp;gt;find(&amp;quot;architect.city.state.country.abbr=USA|CA&amp;quot;);&lt;/div&gt;</summary>
		<author><name>79.219.79.191</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23278</id>
		<title>ProcessWire - Selectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Selectors&amp;diff=23278"/>
		<updated>2018-08-21T16:40:43Z</updated>

		<summary type="html">&lt;p&gt;79.219.79.191: /* Beispiele */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Beispiele ==&lt;br /&gt;
=== Selektoren in Option Fieldtypes ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$optionsfield // return id (string)&lt;br /&gt;
$optionsfield-&amp;gt;id; // return id (int)&lt;br /&gt;
$optionsfield-&amp;gt;title; // return string USE THIS or&lt;br /&gt;
$optionsfield-&amp;gt;value; // return empty string or value (if your option settings like &amp;#039;1=value|title&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
// dot syntax in selector string&lt;br /&gt;
$pages-&amp;gt;find(&amp;#039;optionsfield.id=2&amp;#039;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Page Reference auf diese Seite ===&lt;br /&gt;
https://processwire.com/talk/topic/1071-page-fieldtype-two-way-relation/&lt;br /&gt;
 echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
If the page isn&amp;#039;t part of the front-end site, then I&amp;#039;ll remove view access from its template. Or if it is part of the front-end, but I don&amp;#039;t want to show the relations, then this:&lt;br /&gt;
&lt;br /&gt;
 if($page-&amp;gt;editable()) echo $pages-&amp;gt;find(&amp;quot;field1=$page&amp;quot;)-&amp;gt;render();&lt;br /&gt;
 &lt;br /&gt;
Though I almost always integrate these relation-revealing pages into the site structure, as it&amp;#039;s rare that this information doesn&amp;#039;t have some value to the site&amp;#039;s users too. This is an example of one that locates all pages referencing it in a field called &amp;#039;country&amp;#039;:&lt;br /&gt;
 https://www.tripsite.com/countries/croatia/&lt;/div&gt;</summary>
		<author><name>79.219.79.191</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Fields&amp;diff=23277</id>
		<title>ProcessWire - Fields</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Fields&amp;diff=23277"/>
		<updated>2018-08-18T16:26:28Z</updated>

		<summary type="html">&lt;p&gt;79.219.79.191: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; [[ProcessWire - Field Types]] &lt;br /&gt;
 [[ProcessWire - Field Rendering]]&lt;br /&gt;
 [[ProcessWire - Profields]]&lt;br /&gt;
 [[Processwire - Field Types Usage]]&lt;br /&gt;
 http://www.flamingruby.com/blog/anatomy-of-fields-in-processwire/&lt;/div&gt;</summary>
		<author><name>79.219.79.191</name></author>
	</entry>
</feed>