<?xml version="1.0" encoding="utf-8"?>
	
		<feed xmlns="http://www.w3.org/2005/Atom">
			<title type="text">MODX Deutschland - Forum - [gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
			<updated>2013-05-21T22:24:40+02:00</updated>
			<id>http://www.modxcms.de/forum/</id>
			<link rel="alternate" type="text/html" hreflang="en"
				href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32193&amp;page=1"/>
			<link rel="self" type="application/atom+xml"
				href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32193&amp;Feed=ATOM&amp;page=1"/>
			<generator
				uri="http://getvanilla.com/"
				version="1.1.2">
				Lussumo Vanilla &amp; Feed Publisher
			</generator>
			<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32181#Comment_32181" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32181#Comment_32181</id>
		<published>2012-02-26T20:20:27+01:00</published>
		<updated>2012-03-01T18:16:56+01:00</updated>
		<author>
			<name>jolic</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1998</uri>
		</author>
		<summary type="text" xml:lang="en">
			Hallo, ich beziehe mich auf den Thread von [url=http://www.modxcms.de/forum/comments.php?DiscussionID=5708&amp;Focus=32168#Item_1]Checkermodx[/url]

Meine Version: MODx 2.15-pl mit EventsCalendar2 ...
		</summary>
		<content type="html">
			<![CDATA[Hallo, ich beziehe mich auf den Thread von <a href='http://www.modxcms.de/forum/comments.php?DiscussionID=5708&Focus=32168#Item_1'>Checkermodx</a><br /><br />Meine Version: MODx 2.15-pl mit EventsCalendar2 2.2.2-pl<br /><br />Habe den EventsCalendar2 mit "w3c-validation" optimiert und das als Report hier gemeldet: <a href='http://modx.com/extras/package/eventscalendar22'>eventscalendar22</a><br /><br />Evt. kann das ja jemand von euch bestätigen?<br /><br /><br /><strong>1a) ../core/components/eventscalendar2/model/eventscalendar2/eventscalendar2.class.php</strong><br /><br />Zeile 211-212: <span style='color: #FF0000'>&</span> durch ein <span style='color: #FF0000'>& amp;</span> ersetzen (<span style='color: #FF0000'>& amp;</span> muss natürlich ohne Leerzeichen geschrieben werden)<br /><code>$thead['link_prev'] = $self.'?action=refreshCalendar<span style='color: #FF0000'>& amp;</span>month='.$prev_month.'<span style='color: #FF0000'>& amp;</span>year='.$prev_year;<br />$thead['link_next'] = $self.'?action=refreshCalendar<span style='color: #FF0000'>& amp;</span>month='.$next_month.'<span style='color: #FF0000'>& amp;</span>year='.$next_year;</code><br /><br /><br /><strong>1b) ein &lt;/tr&gt; fehlt</strong><br />Zeile 266 sollte so aussehen<br /><code>$table .= '&lt;/tr&gt;&lt;/table&gt;';</code><br /><br /><strong>2) im Chunk "tplCell2"</strong><br /><code>data-fulldate="[[+ec.fulldate]]"</code>gelöscht. Das gibt sonst ein<br /><span style='color: green'>w3C Validation Output Error: there is no attribute "data-fulldate"</span><br />(keine Ahnung warum das gebraucht wird; bei mir funktioniert das auch ohne ;- )<br /><br /><strong>3) Bleibt nur noch mein Error-Log:</strong><blockquote>[2012-02-26 19:34:04] (ERROR @ /var/www/web0815/html/modx/core/components/eventscalendar2/model/eventscalendar2/eventscalendar2.class.php : 395) PHP warning: Invalid argument supplied for foreach()</blockquote>]]>
		</content>
	</entry>
	<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32193#Comment_32193" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32193#Comment_32193</id>
		<published>2012-02-27T19:06:22+01:00</published>
		<updated>2013-05-21T22:24:40+02:00</updated>
		<author>
			<name>Checkermodx</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1473</uri>
		</author>
		<summary type="text" xml:lang="en">
			Hallo Jolic,
vielen Dank für Deine genaue Arbeit! Habe viel geändert und validationsmäßig keine Output Errors mehr bekommen.

zu 1a) habe ich geändert und alles ward gut (grünes ...
		</summary>
		<content type="html">
			<![CDATA[Hallo Jolic,<br />vielen Dank für Deine genaue Arbeit! Habe viel geändert und validationsmäßig keine Output Errors mehr bekommen.<br /><br />zu 1a) habe ich geändert und alles ward gut (grünes Licht=valide), warum es & amp; sein muss, weiss ich nicht.<br /><br />zu 1b) habe ich auch geändert, doch was hat sich dadurch verbessert (sehe nicht die Stelle, wo ein &lt;/tr&gt; fehlen würde)<br /><br />zu 2) habe ich gelassen, weil keine Output Error angezeigt wurde.<br /><br />zu 3) wo finde ich das Errorlog? Ansonsten keine bedrohlichen Meldungen hier—meine Errormeldung beruhte darauf, dass ich das Snippet noch irgendwie an falscher Stelle platziert habe (Fehlermeldung: »Template fehlt«).<br /><br />Nun, was ist anders? Ich nutze MODx-Revo 2.2pl.]]>
		</content>
	</entry>
	<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32194#Comment_32194" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32194#Comment_32194</id>
		<published>2012-02-27T20:36:57+01:00</published>
		<updated>2012-02-27T20:38:38+01:00</updated>
		<author>
			<name>jolic</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1998</uri>
		</author>
		<summary type="text" xml:lang="en">
			Ja, ein Danke zurück!

zu 2) du benutzt HTML5 und da scheint das Attribut &quot;data-fulldate&quot; nicht zu stören? Die Warnung kommt nur - wenn du wie ich - XHTML benutzt (Testseite: ...
		</summary>
		<content type="html">
			<![CDATA[Ja, ein Danke zurück!<br /><br />zu 2) du benutzt HTML5 und da scheint das Attribut "data-fulldate" nicht zu stören? Die Warnung kommt nur - wenn du wie ich - XHTML benutzt (Testseite: jolichter.de).<br /><br />zu 3) ich meine das Error-Log im Manager (Reports). Wenn du diesen Fehler nicht hast, liegt das wohl an meiner MODx 2.1.5 Version? (warte noch aus anderen Gründen auf MODx 2.2.1)<br /><br />Wie sieht denn dein Aufruf aus? Hier meiner:<br /><code>[[!eventsCalendar2?<br />  &parents=`42`<br />  &theme=`theme_2`<br />  &first_day=`1`<br />  &dateSource=`eventDateStart`<br />  &dateFormat=`%Y-%m-%d`<br />  &lang=`de`<br />]]</code><br /><br /><br />PS: Habe noch was dazu im englischen Forum angefragt: <a href='http://forums.modx.com/thread/74010/eventscalendar2---a-quick-tutorial#dis-post-413602'>LINK</a><br /><br />Mehrere Tage pro Event (Ressource) in den Kalender einzutragen könnte dich doch auch Interessieren?]]>
		</content>
	</entry>
	<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32196#Comment_32196" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32196#Comment_32196</id>
		<published>2012-02-27T22:28:35+01:00</published>
		<updated>2012-02-27T22:28:51+01:00</updated>
		<author>
			<name>Checkermodx</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1473</uri>
		</author>
		<summary type="text" xml:lang="en">
			Tja, Du hast Recht, sind doch Errors im Log:
[code](ERROR @ /www/htdocs/w00a287d/modx/core/components/eventscalendar2/model/eventscalendar2/eventscalendar2.class.php : 395) PHP warning: Invalid ...
		</summary>
		<content type="html">
			<![CDATA[Tja, Du hast Recht, sind doch Errors im Log:<br /><code>(ERROR @ /www/htdocs/w00a287d/modx/core/components/eventscalendar2/model/eventscalendar2/eventscalendar2.class.php : 395) PHP warning: Invalid argument supplied for foreach()</code><br />Da gilt es, noch was zu klären…<br /><br />Hier mein Calendar-Aufruf (Du siehst, meine Template-Einbindung ist nicht richtig, daher show_errors=0; wenn ichs richtig umgesetzt habe, dann fliegts raus):<br /><code>[[!eventsCalendar2?<br />&dateSource=`tvevent_date`<br />&lang=`de`<br />&theme=`bootstrap`<br />&first_day=`1`<br />&show_errors=`0`]]</code><br /><br />Mehrere Termine/Tag werden bestimmt vorkommen, das schau ich mir gleich mal an und mein Verein kann es gut gebrauchen!]]>
		</content>
	</entry>
	<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32220#Comment_32220" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32220#Comment_32220</id>
		<published>2012-02-29T23:10:27+01:00</published>
		<updated>2012-03-01T18:16:42+01:00</updated>
		<author>
			<name>jolic</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1998</uri>
		</author>
		<summary type="text" xml:lang="en">
			Wird von [b]bezumkin[/b] in der nächsten Version behoben :-)

meine Lösung (grün):
[code]function templateEvents($content) {
[color=green]#No Error Log: &quot;PHP warning: Invalid argument ...
		</summary>
		<content type="html">
			<![CDATA[Wird von <strong>bezumkin</strong> in der nächsten Version behoben <img src="http://www.modxcms.de/forum//extensions/Smile/tango/face-smile.png" class="smiley" alt=":-)"/><br /><br />meine Lösung (grün):<br /><code>function templateEvents($content) {<br /><span style='color: green'>#No Error Log: "PHP warning: Invalid argument supplied for foreach()" if empty month<br />if(empty($content)) return;</span><br />$i = 1;<br />foreach ($content as $v) ............</code><br /><br />_______________________________________________<br /><br />PS: &lang='de' gibt es nicht mehr.<br /><br />Zitat: This parameter is disabled from version 2.2.0 and it is taken from system settings.]]>
		</content>
	</entry>
	<entry>
		<title>[gelöst] EventsCalendar2 Error-Log und w3c-konform?</title>
		<link rel="alternate" href="http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32249#Comment_32249" type="application/xhtml+xml" hreflang="en"/>
		<id>http://www.modxcms.de/forum/comments.php?DiscussionID=5711&amp;Focus=32249#Comment_32249</id>
		<published>2012-03-02T16:43:56+01:00</published>
		<updated>2013-05-21T22:24:40+02:00</updated>
		<author>
			<name>Checkermodx</name>
			<uri>http://www.modxcms.de/forum/account.php?u=1473</uri>
		</author>
		<summary type="text" xml:lang="en">
			Okeey,
hab die Lösung reingepastet, sowie den lang-Parameter entfernt und alles läuft. Hoffe, dass beim Update auch das Calendar-Modell richtig überschrieben wird.
		</summary>
		<content type="html">
			<![CDATA[Okeey,<br />hab die Lösung reingepastet, sowie den lang-Parameter entfernt und alles läuft. Hoffe, dass beim Update auch das Calendar-Modell richtig überschrieben wird.]]>
		</content>
	</entry>
	
		</feed>