<?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>GN2 netwerk Blog &#187; OXID Module</title>
	<atom:link href="http://blog.gn2-netwerk.de/kategorie/oxid/oxid-module/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gn2-netwerk.de</link>
	<description>Webentwicklung, REDAXO, Aktuelles von GN2 netwerk und GN2 hosting</description>
	<lastBuildDate>Mon, 09 Aug 2010 06:16:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Integration von markitup in OXID esales</title>
		<link>http://blog.gn2-netwerk.de/2010/02/integration-von-markitup-in-oxid-esales/</link>
		<comments>http://blog.gn2-netwerk.de/2010/02/integration-von-markitup-in-oxid-esales/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 09:01:43 +0000</pubDate>
		<dc:creator>rn</dc:creator>
				<category><![CDATA[OXID Module]]></category>
		<category><![CDATA[OXID]]></category>

		<guid isPermaLink="false">http://blog.gn2-netwerk.de/?p=549</guid>
		<description><![CDATA[Schon bei REDAXO setzen wir ausschließlich auf markitup als Markup Editor für Textile, deshalb haben wir jetzt auch eine Integration für OXID esales realisiert. Die Installation ist absolut simpel, markitup herunterladen, entpacken und per FTP in den Ordner /modules laden. Anschließend markitup unter Stammdaten -&#62; Grundeinstellungen -&#62; System -&#62; Module aktiveren:

article_main =&#62; markitup/markitup
category_text =&#62; markitup/markitup
content_main [...]]]></description>
			<content:encoded><![CDATA[<p>Schon bei <a href="http://www.redaxo.de" target="_blank">REDAXO</a> setzen wir ausschließlich auf <a href="http://markitup.jaysalvat.com/home/" target="_blank">markitup</a> als Markup Editor für Textile, deshalb haben wir jetzt auch eine Integration für <a href="http://www.oxid-esales.com/de/startseite" target="_blank">OXID esales</a> realisiert. Die Installation ist absolut simpel, <a href="http://blog.gn2-netwerk.de/wp-content/uploads/2010/02/markitup.zip">markitup</a> herunterladen, entpacken und per FTP in den Ordner /modules laden. Anschließend markitup unter Stammdaten -&gt; Grundeinstellungen -&gt; System -&gt; Module aktiveren:</p>
<ul>
<li>article_main =&gt; markitup/markitup</li>
<li>category_text =&gt; markitup/markitup</li>
<li>content_main =&gt; markitup/markitup</li>
<li>newsletter_main =&gt; markitup/markitup</li>
</ul>
<p>Jetzt müssen noch die Templates &#8220;content.tpl&#8221; und &#8220;details.tpl&#8221; entsprechend angepasst werden.</p>
<p>content.tpl:</p>
<blockquote><p>[{capture assign=nothing}]<br />
[{ oxcontent oxid=$oView-&gt;getContentId() }]<br />
[{/capture}]</p>
<p>[{* Markitup/Textile aktivieren *}]<br />
[{php}]<br />
$conID = $this-&gt;_tpl_vars['oView']-&gt;getContentId();</p>
<p>$output = smarty_function_oxcontent(array(&#8216;oxid&#8217;=&gt;$conID),$this);</p>
<p>include getCwd().&#8217;/modules/markitup/classes/class.textile.inc.php&#8217;;<br />
$tex = new Textile;</p>
<p>$output = $tex-&gt;TextileThis($output);<br />
echo $output;<br />
[{/php}]</p></blockquote>
<p>details.tpl:</p>
<blockquote><p>[{oxhasrights ident="SHOWLONGDESCRIPTION"}]</p>
<p>[{* Textile/Markitup einbinden *}]<br />
[{php}]<br />
include getCwd().&#8217;/modules/markitup/classes/class.textile.inc.php&#8217;;<br />
$longdesc = $this-&gt;_tpl_vars['product']-&gt;oxarticles__oxlongdesc-&gt;value;<br />
$tex = new Textile;<br />
$longdesc = $tex-&gt;TextileThis($longdesc);<br />
echo $longdesc;<br />
[{/php}]</p>
<p>[{/oxhasrights}]</p></blockquote>
<p>Dann stehen einem sowohl in der Artikelbeschreibung als auch für die CMS-Seiten Textareas mit markitup zur Verfügung.</p>
<p style="text-align: center;"><a href="http://blog.gn2-netwerk.de/wp-content/uploads/2010/02/content.png" target="_blank"><img class="alignleft size-thumbnail wp-image-562" title="content" src="http://blog.gn2-netwerk.de/wp-content/uploads/2010/02/content-150x150.png" alt="" width="150" height="150" /></a><a href="http://blog.gn2-netwerk.de/wp-content/uploads/2010/02/artikel.png" target="_blank"><img class="aligncenter size-thumbnail wp-image-561" title="artikel" src="http://blog.gn2-netwerk.de/wp-content/uploads/2010/02/artikel-150x150.png" alt="" width="150" height="150" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gn2-netwerk.de/2010/02/integration-von-markitup-in-oxid-esales/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
