<?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_-_Wireframe_API</id>
	<title>ProcessWire - Wireframe API - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=ProcessWire_-_Wireframe_API"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Wireframe_API&amp;action=history"/>
	<updated>2026-05-07T05:01:52Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Wireframe_API&amp;diff=24794&amp;oldid=prev</id>
		<title>84.157.18.5: Die Seite wurde neu angelegt: „ https://processwire.com/talk/topic/21893-wireframe/page/3/?tab=comments#comment-205320  http://wireframe-framework.com  == Snippets == === Beispiel von Bernha…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=ProcessWire_-_Wireframe_API&amp;diff=24794&amp;oldid=prev"/>
		<updated>2020-09-19T05:32:01Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „ https://processwire.com/talk/topic/21893-wireframe/page/3/?tab=comments#comment-205320  http://wireframe-framework.com  == Snippets == === Beispiel von Bernha…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt; https://processwire.com/talk/topic/21893-wireframe/page/3/?tab=comments#comment-205320&lt;br /&gt;
 http://wireframe-framework.com&lt;br /&gt;
&lt;br /&gt;
== Snippets ==&lt;br /&gt;
=== Beispiel von Bernhard Baumrock ===&lt;br /&gt;
Homepage View&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php namespace ProcessWire;&lt;br /&gt;
echo Wireframe::component(&amp;quot;Header&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Search&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Slider&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Welcome&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Visions&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;News&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Quotes&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Newsletter&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Partner&amp;quot;);&lt;br /&gt;
echo Wireframe::component(&amp;quot;Footer&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e. welcome component&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php namespace Wireframe\Component;&lt;br /&gt;
class Welcome extends \Wireframe\Component {&lt;br /&gt;
  public function __construct() {&lt;br /&gt;
    $this-&amp;gt;setBg();&lt;br /&gt;
    $this-&amp;gt;setEmblem();&lt;br /&gt;
  }&lt;br /&gt;
  private function setBg() {&lt;br /&gt;
    $this-&amp;gt;bg = null;&lt;br /&gt;
    try {&lt;br /&gt;
      $item = $this-&amp;gt;wire-&amp;gt;gg-&amp;gt;home()-&amp;gt;get(HomePage::field_slider)-&amp;gt;first();&lt;br /&gt;
      $img = $item-&amp;gt;get(Slideritem::field_img);&lt;br /&gt;
      $this-&amp;gt;bg = $item-&amp;gt;imgUrl($img);&lt;br /&gt;
    } catch (\Throwable $th) {&lt;br /&gt;
      $this-&amp;gt;log($th-&amp;gt;getMessage());&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  private function setEmblem() {&lt;br /&gt;
    $this-&amp;gt;emblem = null;&lt;br /&gt;
    $img = $this-&amp;gt;wire-&amp;gt;gg-&amp;gt;settings()-&amp;gt;get(HomePage::field_emblem_white);&lt;br /&gt;
    if(!$img) return;&lt;br /&gt;
    $this-&amp;gt;emblem = &amp;quot;&amp;lt;img class=&amp;#039;tm-emblem uk-margin-large-left&amp;#039; src=&amp;#039;{$img-&amp;gt;maxHeight(100)-&amp;gt;url}&amp;#039; uk-svg&amp;gt;&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>84.157.18.5</name></author>
	</entry>
</feed>