<?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=WireUpload_%28ProcessWire%29</id>
	<title>WireUpload (ProcessWire) - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=WireUpload_%28ProcessWire%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=WireUpload_(ProcessWire)&amp;action=history"/>
	<updated>2026-05-06T18:59:53Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=WireUpload_(ProcessWire)&amp;diff=27192&amp;oldid=prev</id>
		<title>109.193.152.88 am 5. August 2024 um 19:20 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=WireUpload_(ProcessWire)&amp;diff=27192&amp;oldid=prev"/>
		<updated>2024-08-05T19:20:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. August 2024, 19:20 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siehe auch&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siehe auch&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[ProcessWire Upload Formular]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[ProcessWire Upload Formular]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; https://processwire.com/api/ref/wire-upload/&lt;/ins&gt;&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Beispiele&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Beispiele&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>109.193.152.88</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=WireUpload_(ProcessWire)&amp;diff=23667&amp;oldid=prev</id>
		<title>37.49.72.8: Die Seite wurde neu angelegt: „Siehe auch  ProcessWire Upload Formular  Weitere Beispiele &lt;syntaxhighlight lang=&quot;php&quot;&gt; &lt;/syntaxhighlight&gt;  &lt;syntaxhighlight lang=&quot;php&quot;&gt; &lt;/syntaxhighlight&gt;…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=WireUpload_(ProcessWire)&amp;diff=23667&amp;oldid=prev"/>
		<updated>2019-02-18T11:58:57Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Siehe auch  &lt;a href=&quot;/index.php?title=ProcessWire_Upload_Formular&quot; title=&quot;ProcessWire Upload Formular&quot;&gt;ProcessWire Upload Formular&lt;/a&gt;  Weitere Beispiele &amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt; &amp;lt;/syntaxhighlight&amp;gt;  &amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt; &amp;lt;/syntaxhighlight&amp;gt;…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Siehe auch&lt;br /&gt;
 [[ProcessWire Upload Formular]]&lt;br /&gt;
&lt;br /&gt;
Weitere Beispiele&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
  * Process a module upload &lt;br /&gt;
  *&lt;br /&gt;
  * @param string $inputName Optionally specify the name of the $_FILES input to look for (default=upload_module)&lt;br /&gt;
  * @param string $destinationDir Optionally specify destination path for completed unzipped files&lt;br /&gt;
  * @return bool|string Returns destinationDir on success, false on failure.&lt;br /&gt;
  *&lt;br /&gt;
  */&lt;br /&gt;
 public function uploadModule($inputName = &amp;#039;upload_module&amp;#039;, $destinationDir = &amp;#039;&amp;#039;)&lt;br /&gt;
 {&lt;br /&gt;
     if (!$this-&amp;gt;canUploadDownload()) {&lt;br /&gt;
         $this-&amp;gt;error($this-&amp;gt;_(&amp;#039;Unable to complete upload&amp;#039;));&lt;br /&gt;
         return false;&lt;br /&gt;
     }&lt;br /&gt;
     $tempDir = $this-&amp;gt;getTempDir();&lt;br /&gt;
     $ul = new WireUpload($inputName);&lt;br /&gt;
     $ul-&amp;gt;setValidExtensions(array(&amp;#039;zip&amp;#039;));&lt;br /&gt;
     $ul-&amp;gt;setMaxFiles(1);&lt;br /&gt;
     $ul-&amp;gt;setOverwrite(true);&lt;br /&gt;
     $ul-&amp;gt;setDestinationPath($tempDir);&lt;br /&gt;
     $ul-&amp;gt;setExtractArchives(false);&lt;br /&gt;
     $ul-&amp;gt;setLowercase(false);&lt;br /&gt;
     $files = $ul-&amp;gt;execute();&lt;br /&gt;
     if (count($files)) {&lt;br /&gt;
         $file = $tempDir . reset($files);&lt;br /&gt;
         $destinationDir = $this-&amp;gt;unzipModule($file, $destinationDir);&lt;br /&gt;
         if ($destinationDir) {&lt;br /&gt;
             $this-&amp;gt;modules-&amp;gt;resetCache();&lt;br /&gt;
         }&lt;br /&gt;
     } else {&lt;br /&gt;
         $this-&amp;gt;error($this-&amp;gt;_(&amp;#039;No uploads found&amp;#039;));&lt;br /&gt;
         $destinationDir = false;&lt;br /&gt;
     }&lt;br /&gt;
     return $destinationDir;&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>37.49.72.8</name></author>
	</entry>
</feed>