<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=5016&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=5016</link>
		<description><![CDATA[Die aktuellsten Beiträge in E-Mail Notification bei Änderung eines Listeneintrages (ListIt2).]]></description>
		<lastBuildDate>Mon, 06 Mar 2017 11:11:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40165#p40165</link>
			<description><![CDATA[<p>Steck jetzt auch nicht so tief in dem Modul drin <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/roll.png" alt="roll" /> </p><p>Alternativ könntest du das gleiche mit get_parent_class() testen.</p><p>Ein anderer Weg wäre, die Kategorie des Items als Hinweis zu nutzen. Keine Ahnung, ob der Event die mitliefert...</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Mon, 06 Mar 2017 11:11:40 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40165#p40165</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40160#p40160</link>
			<description><![CDATA[<p>Danke für die Antwort, jedoch wird bei $module = get_class($obj); nur &quot;ListIt2Item&quot; zurückgegeben.</p>]]></description>
			<author><![CDATA[dummy@example.com (mysteryboard)]]></author>
			<pubDate>Sun, 05 Mar 2017 17:58:19 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40160#p40160</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40159#p40159</link>
			<description><![CDATA[<div class="quotebox"><cite>mysteryboard schrieb:</cite><blockquote><div><p>Schön wäre es, wenn ich jetzt noch den Name der Listeninstanz auslesen könnte</p></div></blockquote></div><p>Und warum machst du es dann nicht&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/tongue.png" alt="tongue" /> ?</p><p>Nee, Spaß beiseite - schau dir mal dies an</p><div class="codebox"><pre><code>class ListIt extends CMSModule</code></pre></div><p>Weisst du, worauf ich hinaus will <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" />?</p><p>Genau, ein Modul ist nichts anderes als eine abgeleitete Klasse, so dass (zumindestens theoretisch) etwas in der Art</p><div class="codebox"><pre><code>$module = get_class($obj);</code></pre></div><p>funktionieren sollte.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Sun, 05 Mar 2017 12:19:13 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40159#p40159</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40158#p40158</link>
			<description><![CDATA[<p>Hallo,</p><p>ich hab mal in die Ereignishilfe geschaut und tatsächlich hab ich nun eine Lösung erarbeitet:</p><div class="codebox"><pre><code>//XXXX - XXXX - 2017-02-28 - Sende eine Mail zu den Redakteuren
header(&quot;Content-Type: text/html; charset=utf-8&quot;);
$obj =&amp; $params[&#039;item_object&#039;];
$list_title = $obj-&gt;title;
$editor = $_SESSION[&#039;login_user_username&#039;];
$from = &quot;XXXX@XXXX.de&quot;; // this is the sender&#039;s Email address
$to = &#039;XXXX@XXXX.de&#039;;
$subject = &#039;Benachrichtigung über Änderung eines Kooperationspartners auf XXXX.de - &#039; . $list_title . &#039; - &#039; . $editor;

$header = &quot;From: &quot; . $from . &quot;\n&quot;;    
                
// Umlaute: charset=utf-8         html Mail: Content-type: text/html
$header .= &#039;MIME-Version: 1.0&#039; . &quot;\r\n&quot;;
$header .= &#039;Content-type: text/html; charset=utf-8&#039; . &quot;\r\n&quot;;


$message = &quot;Ein Listeneintrag der Liste &#039;Kooperationspartner&#039; auf XXXX.de ist verändert worden.&lt;br&gt;&quot;;
$message .= &quot;&lt;br&gt;&quot;;
$message .= &quot;Listeneintrag : &quot; . $list_title . &quot;&lt;br&gt;&quot;;
$message .= &quot;verändert von : &quot; . $editor . &quot;&lt;br&gt;&quot;;

@mail($to, $subject, $message, $header);</code></pre></div><p>Schön wäre es, wenn ich jetzt noch den Name der Listeninstanz auslesen könnte, denn ich habe im Projekt mehrere Listen. Dann brauche ich nicht für jede Liste einen UDT zu schreiben.</p><p>Hat jemand eine Idee?</p>]]></description>
			<author><![CDATA[dummy@example.com (mysteryboard)]]></author>
			<pubDate>Sun, 05 Mar 2017 10:41:42 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40158#p40158</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40146#p40146</link>
			<description><![CDATA[<p>Für die Ereignisverwaltung gibt es eine Hilfe. Dort sollte auch drin stehen, welche Werte das Event PostItemSave liefert.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Fri, 03 Mar 2017 18:49:38 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40146#p40146</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40144#p40144</link>
			<description><![CDATA[<p>Ist keine Lösung für dieses Problem bekannt?</p><p>Ich bin für jede Idee zu haben, auch wenn diese vielleicht noch nicht ganz spruchreif sein sollte! <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/glasses.png" alt="glasses" /></p>]]></description>
			<author><![CDATA[dummy@example.com (mysteryboard)]]></author>
			<pubDate>Fri, 03 Mar 2017 18:16:50 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40144#p40144</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40139#p40139</link>
			<description><![CDATA[<p>Hier die vollständige UDT (die zwar eine E-Mail versendet, jedoch nicht mit den Infos aus dem Item): </p><div class="codebox"><pre><code>//XXXX- XXXX - 2017-02-28 - Sende eine Mail zu den Redakteuren
header(&quot;Content-Type: text/html; charset=utf-8&quot;);
$list_title = $params[&#039;title&#039;];
$list_alias = $params[&#039;alias&#039;];
$editor = $_SESSION[&#039;login_user_username&#039;];
$from = &quot;XXXXX@XXXX.de&quot;; // this is the sender&#039;s Email address
$to = &#039;XXXX@XXXX.de&#039;;
$subject = &#039;Benachrichtigung über Änderung eines Kooperationspartners auf XXXX.de - &#039; . $list_title . &#039; - &#039; . $editor;

$header = &quot;From: &quot; . $from . &quot;\n&quot;;    
                
// Umlaute: charset=utf-8         html Mail: Content-type: text/html
$header .= &#039;MIME-Version: 1.0&#039; . &quot;\r\n&quot;;
$header .= &#039;Content-type: text/html; charset=utf-8&#039; . &quot;\r\n&quot;;


$message = &quot;Ein Kooperationspartner auf XXXX.de ist verändert worden.&lt;br&gt;&quot;;
$message .= &quot;&lt;br&gt;&quot;;
$message .= &quot;Seitenname : &quot; . $list_title . &quot;&lt;br&gt;&quot;;
$message .= &quot;Seitenalias : &quot; . $list_alias . &quot;&lt;br&gt;&quot;;
$message .= &quot;verändert von : &quot; . $editor . &quot;&lt;br&gt;&quot;;

@mail($to, $subject, $message, $header);</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (mysteryboard)]]></author>
			<pubDate>Fri, 03 Mar 2017 08:04:55 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40139#p40139</guid>
		</item>
		<item>
			<title><![CDATA[Re: E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40138#p40138</link>
			<description><![CDATA[<p>Willkommen in unserem Forum!</p><p>Poste einfach mal den kompletten Code deines Plugins.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Fri, 03 Mar 2017 07:57:43 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40138#p40138</guid>
		</item>
		<item>
			<title><![CDATA[E-Mail Notification bei Änderung eines Listeneintrages (ListIt2)]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40137#p40137</link>
			<description><![CDATA[<p>Hallo,</p><p>ich brauche dringend Hilfe. Ich habe zwar eine UDT gefunden, mit der bei Seitenänderung eine E-Mail an z. B. Redakteure versendet werden kann (Send Email Notification on Page Change). Jedoch brauche ich diese Vorgehensweise auch bei Änderung eines Listeneintrages, den ich mit ListIt Extended erstellt habe. In der Ereignisverwaltung habe ich gesehen, dass es ein PostItemSave für meine Liste gibt. Nun habe ich versucht eine UDT zu erstellen, mit der ich die Redakteure über die Änderung eines Listeneintrages informieren kann. Jedoch ist es mir nicht geglückt, Informationen aus dem veränderten Item zu extrahieren (z. B. den Titel des Listeneintrages), damit der verantwortliche Redakteur auch weiß, welcher Eintrag verändert wurde.</p><p>In dem User Defined Tag &quot;send_email_notification&quot; werden die Informationen mit Hilfe von</p><div class="codebox"><pre><code>$content =&amp; $params[&#039;content&#039;];</code></pre></div><p>extrahiert. </p><p>Meine Frage ist nun, mit welcher Funktion erhalte ich Zugriff auf die Informationen des veränderten Listeneintrages?</p><p>Vielen, vielen Dank für Eure Hilfe.</p><p>Gruß</p>]]></description>
			<author><![CDATA[dummy@example.com (mysteryboard)]]></author>
			<pubDate>Fri, 03 Mar 2017 07:18:25 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40137#p40137</guid>
		</item>
	</channel>
</rss>
