<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andre Krug &#187; Extension</title>
	<atom:link href="http://www.blog.andre-krug.de/archives/tag/extension/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blog.andre-krug.de</link>
	<description>Mein persönlicher Entwickler Blog</description>
	<lastBuildDate>Sun, 20 Mar 2011 20:03:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Probleme mit TYPO3 und Commerce</title>
		<link>http://www.blog.andre-krug.de/archives/669</link>
		<comments>http://www.blog.andre-krug.de/archives/669#comments</comments>
		<pubDate>Tue, 15 Mar 2011 19:56:59 +0000</pubDate>
		<dc:creator>computeragentur</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[commerce]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Extensions]]></category>

		<guid isPermaLink="false">http://www.blog.andre-krug.de/archives/669</guid>
		<description><![CDATA[Bereits vor wenigen Wochen hatte ich einen Artikel geschrieben der sich mit dem Update der TYPO3 Version auf 4.5.x beschäftigt. Leider ist es bei mir nun bei mehreren Seiten zu unerwünschten Nebenwirkungen mit der Extension commerce gekommen (siehe Artikel 27. Februar 2011). Ich möchte in diesem Blog Post kurz beschreiben / dokumentieren wie ich diese Probleme beseitigt habe.]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-33" title="reflectedimage" src="http://www.blog.andre-krug.de/wp-content/uploads/2008/08/reflectedimage.png" alt="" width="123" height="51" align="left" /></p>
<p>Bereits vor wenigen Wochen hatte ich einen Artikel geschrieben der sich mit dem Update der TYPO3 Version auf 4.5.x beschäftigt. Leider ist es bei mir nun bei mehreren Seiten zu unerwünschten Nebenwirkungen mit der Extension commerce gekommen (siehe <a title="Update TYPO3 &gt; 4.5.0" href="http://www.blog.andre-krug.de/archives/664">Artikel 27. Februar 2011</a>). Ich möchte in diesem Blog Post kurz beschreiben / dokumentieren wie ich diese Probleme beseitigt habe.</p>
<p>Bitte nehmt zunächst ein Update der commerce Extension vor, hierbei geht wie folgt vor:</p>
<ol>
<li>Runterladen der Extension aus dem <a title="SVN Commerce" href="http://forge.typo3.org/repositories/browse/extension-commerce/trunk">SVN </a>(Achtung bitte nicht die Version aus dem TER -&gt; TYPO3 Extension Repository nehmen.)</li>
<li>Inhalt vom Ordner trunk nach /typo3/typo3conf/ext/commerce/ kopieren. (Bitte zuvor eine Sicherheitskopie der alten Extension vornehmen )</li>
<li>Extension im Extension Manager aktualisieren</li>
</ol>
<p>Die ersten Probleme tauchten beim Update auf die TYPO3 Version 4.5.0 auf die mit dem Update auf die Version 4.5.1 behoben wurde:</p>
<p><a href="http://bugs.typo3.org/view.php?id=17372" target="_blank">http://bugs.typo3.org/view.php?id=17372</a></p>
<p>Diesen Fehler behebt man wie folgt:</p>
<pre class="php">Index: typo3/sysext/cms/tslib/<span style="color: #000000; font-weight: bold;">class</span>.tslib_content.php
<span style="color: #ff0000">===================================================================
--- typo3/sysext/cms/tslib/<span style="color: #000000; font-weight: bold;">class</span>.tslib_content.php    <span style="color: #66cc66;">&#40;</span>revision <span style="color: #cc66cc;">10349</span><span style="color: #66cc66;">&#41;</span>
+++ typo3/sysext/cms/tslib/<span style="color: #000000; font-weight: bold;">class</span>.tslib_content.php    <span style="color: #66cc66;">&#40;</span>working <a href="http://www.php.net/copy"><span style="color: #000066;">copy</span></a><span style="color: #66cc66;">&#41;</span>
@@ <span style="color: #cc66cc;">-2086</span>,<span style="color: #cc66cc;">6</span> <span style="color: #cc66cc;">+2086</span>,<span style="color: #cc66cc;">7</span> @@
*/</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> stdWrap_setContentToCurrent<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$content</span> = <span style="color: #ff0000;">''</span>, <span style="color: #0000ff;">$conf</span> = <a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0000ff;">$this</span>-&amp;gt;data<span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$this</span>-&amp;gt;currentValKey<span style="color: #66cc66;">&#93;</span> = <span style="color: #0000ff;">$content</span>;
+        <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$content</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
@@ -2098,6 +2099,7 @@
*/</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> stdWrap_setCurrent<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$content</span> = <span style="color: #ff0000;">''</span>, <span style="color: #0000ff;">$conf</span> = <a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0000ff;">$this</span>-&amp;gt;data<span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$this</span>-&amp;gt;currentValKey<span style="color: #66cc66;">&#93;</span> = <span style="color: #0000ff;">$conf</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'setCurrent'</span><span style="color: #66cc66;">&#93;</span>;
+        <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$content</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
 
&nbsp;
</span></pre>
<p>Sofern dieser Bug behoben ist gibt es einen weiteren Bug / Fehler in der Version 4.5.1 und v 4.5.2 hier werden die Preise nicht im Frontend angezeigt da diese in der falschen Datenbank Tabelle gespeichert werden. Um diesen Fehler zu beheben laden Sie bitte die Datei<br />
lib/class.tx_commerce_db_article.php im Extension Verzeichnis herunter  hier stehen in der Zeile 134-140 der PHP Code welcher den Fehler enthält</p>
<p>Dieser PHP Code muss</p>
<pre class="php"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_num_rows<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span>&amp;gt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
                <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$return_data</span>=<span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_fetch_assoc<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
                    <span style="color: #0000ff;">$price_uid_list</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'fe_group'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>=<span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'uid'</span><span style="color: #66cc66;">&#93;</span>;
                <span style="color: #66cc66;">&#125;</span>
                <span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_free_result<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span>;
                <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$price_uid_list</span>;
            <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #66cc66;">&#123;</span>
&nbsp;</pre>
<p>Durch diesen PHP Code ersetzt werden</p>
<pre class="php"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_num_rows<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span>&amp;gt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
                <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$return_data</span>=<span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_fetch_assoc<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
                    <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'fe_group'</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">''</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'fe_group'</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #cc66cc;">0</span>; <span style="color: #66cc66;">&#125;</span>
                    <span style="color: #0000ff;">$price_uid_list</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'fe_group'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>=<span style="color: #0000ff;">$return_data</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'uid'</span><span style="color: #66cc66;">&#93;</span>;
                <span style="color: #66cc66;">&#125;</span>
                <span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'TYPO3_DB'</span><span style="color: #66cc66;">&#93;</span>-&amp;gt;sql_free_result<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$result</span><span style="color: #66cc66;">&#41;</span>;
                <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$price_uid_list</span>;
            <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #66cc66;">&#123;</span>
&nbsp;</pre>
<p>Dannach ist es wieder möglich die Preise der Artikel korrekt zu Speichern.</p>
<p><strong>Fazit:</strong> Leider ist es so das die Extension commerce nicht mehr wirklich stabil mit den verschiedenen TYPO3 Versionen läuft, auch die per SVN heruntergeladene Version beinhaltet diverse Fehler. Informationen über die Weiterentwicklung der Extension habe ich bis zum heutigen Tag leider nicht erhalten. Wenn ihr hier mehr informationen habt gebt bitte einen Kommentar ab.</p>
<p>&nbsp;</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Probleme+mit+TYPO3+und+Commerce+http%3A%2F%2Fblog.andre-krug.de%2F%3Fp%3D669" title="Post to Twitter"><img class="nothumb" src="http://www.blog.andre-krug.de/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Probleme+mit+TYPO3+und+Commerce+http%3A%2F%2Fblog.andre-krug.de%2F%3Fp%3D669" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.blog.andre-krug.de/archives/669/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Einbinden der Extension Embedded Video (timtab_embeddedvideo)</title>
		<link>http://www.blog.andre-krug.de/archives/62</link>
		<comments>http://www.blog.andre-krug.de/archives/62#comments</comments>
		<pubDate>Mon, 11 Aug 2008 14:03:06 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[TIMTAB]]></category>

		<guid isPermaLink="false">http://www.blog.andre-krug.de/?p=62</guid>
		<description><![CDATA[Die Extension Embedded Video ist für das Einfügen von Videos, im Typo3 Webblog TIMTAB (Typo3 is more than a blog). Durch die Extension ist das Einfügen eines Videos ein leichtes. Als sehr gute Hilfe für die Extension habe ich folgenden Screencast bei Sevenload gefunden. [Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um [...]]]></description>
			<content:encoded><![CDATA[<p>Die Extension Embedded Video ist für das Einfügen von Videos, im Typo3 Webblog TIMTAB (Typo3 is more than a blog). Durch die Extension ist das Einfügen eines Videos ein leichtes. Als sehr gute Hilfe für die Extension habe ich folgenden Screencast bei Sevenload gefunden.</p>
<p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://www.blog.andre-krug.de/archives/62">Klicke zum Blogeintrag um das Video anzusehen.]</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Einbinden+der+Extension+Embedded+Video+%28timtab_embeddedvideo%29+http%3A%2F%2Fblog.andre-krug.de%2F%3Fp%3D62" title="Post to Twitter"><img class="nothumb" src="http://www.blog.andre-krug.de/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Einbinden+der+Extension+Embedded+Video+%28timtab_embeddedvideo%29+http%3A%2F%2Fblog.andre-krug.de%2F%3Fp%3D62" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.blog.andre-krug.de/archives/62/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

