<?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>magento ipuçu &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/magento-ipucu/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Wed, 31 Jan 2018 20:50:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>magento ipuçu &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Magento Development / Debug Mode:</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-development-debug-mode/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 31 Jan 2018 20:50:29 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/01/31/magento-development-debug-mode/</guid>

					<description><![CDATA[Magento ile developmen modda çalışmak  1. Disable Cache (Cacheleri kapatınız )System &#62; Cache Management &#62; Select All [check-boxes] &#62; Actions = Disable  2. Re-Index AllSystem &#62; Index Management &#62; Select&#8230;]]></description>
										<content:encoded><![CDATA[<p>Magento ile developmen modda çalışmak </p>
<p><b>1.</b> Disable Cache (Cacheleri kapatınız )<br>System &gt; Cache Management &gt; Select All [check-boxes] &gt; Actions = Disable </p>
<p><b>2.</b> Re-Index All<br>System &gt; Index Management &gt; Select All [check-boxes] &gt; Actions = Reindex Data &gt; Gönder </p>
<p><b>3. </b>Derlemeyi devre dışı bırak <br>System &gt; Tools &gt; Compilation &gt; Disable</p>
<p>Not: Varsayılan olarak derleme modu devre dışıdır. Bu durumda Derleyici Durumunun Etkin olup olmadığını kontrol edin.</p>
<p><b>4.</b> Hata Raporlamayı Aç<br>a&gt; Index.php&#8217;yi açın ve aşağıdaki satırı kontol edin yoksa ekleyin</p>
<p><code>#ini_set('display_errors', 1);</code></p>
<p>b&gt;  Açın .htaccess ve sonuna aşağıdaki satırı ekleyin</p>
<p><code>SetEnv MAGE_IS_DEVELOPER_MODE &quot;true&quot;</code></p>
<p><b>5. </b>Günlüğü Etkinleştirme</p>
<p>System &gt; Configuration &gt; Advanced &gt; Developer &gt; Log Settings &gt; Enabled =&gt; Yes</p>
<p><b>6. </b>Magento Hata Sayfasını Yapılandırma<br>rename errors/local.xml.sample to errors/local.xml</p>
<p><b>7. </b>‘Kolay Şablon Yolu İpuçları’ açmak </p>
<figure class="tmblr-full" data-orig-height="607" data-orig-width="1132"><img decoding="async" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_p3ftvyDXRu1tyldvk_540.jpg" data-orig-height="607" data-orig-width="1132"></figure>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento admin için kullanıcı oluşturma kodu</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-admin-icin-kullanici-olusturma-kodu/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 21 Dec 2017 10:08:46 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2017/12/21/magento-admin-icin-kullanici-olusturma-kodu/</guid>

					<description><![CDATA[bu kodu example.php gibi bişeye oluşturabilirsiniz. require_once('app/Mage.php'); //Path to Magento umask(0); Mage::app(); Mage::getModel('admin/user') -&#62;loadByUsername('admin') -&#62;setPassword("senin_şifren") -&#62;save(); echo "Successfully Changed"; die;]]></description>
										<content:encoded><![CDATA[<p>bu kodu example.php gibi bişeye oluşturabilirsiniz.</p>
<pre>
require_once('app/Mage.php'); //Path to Magento
umask(0);
Mage::app();

Mage::getModel('admin/user')
-&gt;loadByUsername('admin')
-&gt;setPassword("senin_şifren")
-&gt;save();

echo "Successfully Changed";
die;
</pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>magento XML_NODE_PRODUCT_MAX_DIMENSION hatası çözümü</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-xmlnodeproductmaxdimension-hatasi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Oct 2017 12:01:24 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2017/10/24/magento-xmlnodeproductmaxdimension-hatasi/</guid>

					<description><![CDATA[Fatal error: Undefined class constant 'XML_NODE_PRODUCT_MAX_DIMENSION' in /home/myserver/public_html/app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml on line 111 eğer bu hatayı alıyorsanız çözümü şu  app/code/local/Mage/Catalog/Helper  daki image.php dosyasını yedekleyin isimini değiştirin , sonra  app/code/core/Mage/Catalog/Helper daki image.php dosyasının&#8230;]]></description>
										<content:encoded><![CDATA[<pre><code>Fatal error: Undefined class constant 'XML_NODE_PRODUCT_MAX_DIMENSION' in
 /home/myserver/public_html/app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml
 on line 111</code></pre>
<figure data-orig-width="1268" data-orig-height="383" class="tmblr-full"><img decoding="async" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_oybst6x3qy1tyldvk_540.jpg" alt="image" data-orig-width="1268" data-orig-height="383"></figure>
<p>

 eğer bu hatayı alıyorsanız çözümü şu </p>
<p>

app/code/local/Mage/Catalog/Helper  daki image.php dosyasını yedekleyin isimini değiştirin , sonra 

app/code/core/Mage/Catalog/Helper daki image.php dosyasının kopyasını 

app/code/local/Mage/Catalog/Helper    ye taşıyın </p>
<p><br></p>
<p>bu güvenlik patch inden dolayı oluşuyor.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento aktif olan tüm ödeme listeleri bilgisi</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-aktif-olan-tum-odeme-listeleri-bilgisi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 19 Oct 2017 17:58:34 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2017/10/19/magento-aktif-olan-tum-odeme-listeleri-bilgisi/</guid>

					<description><![CDATA[$payments = Mage::getSingleton('payment/config')-&#62;getActiveMethods(); $methods = array(array('value'=&#62;'', 'label'=&#62;Mage::helper('adminhtml')-&#62;__('--Please Select--'))); foreach ($payments as $paymentCode=&#62;$paymentModel) { $paymentTitle = Mage::getStoreConfig('payment/'.$paymentCode.'/title'); $methods[$paymentCode] = array( 'label' =&#62; $paymentTitle, 'value' =&#62; $paymentCode, ); } print_r ($methods );]]></description>
										<content:encoded><![CDATA[<pre>
$payments = Mage::getSingleton('payment/config')-&gt;getActiveMethods();

       $methods = array(array('value'=&gt;'', 'label'=&gt;Mage::helper('adminhtml')-&gt;__('--Please Select--')));

       foreach ($payments as $paymentCode=&gt;$paymentModel) {
            $paymentTitle = Mage::getStoreConfig('payment/'.$paymentCode.'/title');
            $methods[$paymentCode] = array(
                'label'   =&gt; $paymentTitle,
                'value' =&gt; $paymentCode,
            );
        }

       print_r ($methods );
        </pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento arama sonuçlarının bozulması</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-arama-sonuclarinin-bozulmasi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 17:29:18 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2017/07/03/magento-arama-sonuclarinin-bozulmasi/</guid>

					<description><![CDATA[eğer arama sonuçlarınız bozulmuş ise en basit çözümü panelden indexleri düzenlemektir.]]></description>
										<content:encoded><![CDATA[<p>eğer arama sonuçlarınız bozulmuş ise en basit çözümü panelden indexleri düzenlemektir.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento log_visitor_info hatası</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-logvisitorinfo-hatasi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 17:27:47 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2017/07/03/magento-logvisitorinfo-hatasi/</guid>

					<description><![CDATA[Eğer aşağıdaki gibi hata alırsanız  SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine, query was: DESCRIBE `log_visitor_info` veritabanı hata logları yüzünden  şişmiştir diskiniz de yazacak yer yoktur ,bu&#8230;]]></description>
										<content:encoded><![CDATA[<p>Eğer aşağıdaki gibi hata alırsanız </p>
<p>

SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine, query was: DESCRIBE `log_visitor_info`

<br></p>
<p>veritabanı hata logları yüzünden  şişmiştir diskiniz de yazacak yer yoktur ,bu durumda sunucuya putty ile girip </p>
<p>

php -f shell/log.php clean   komutunu yazınız.<br></p>
<p>ayrıca magento dan error.log ayarlarını düzenleyiniz.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>bir yazılımcı hazır sistemleri incelemeli</title>
		<link>https://selmantunc.com.tr/uncategorized/bir-yazilimci-hazir-sistemleri-incelemeli/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 02 Jan 2016 23:17:11 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php crm]]></category>
		<category><![CDATA[programlama]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[yazilim]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2016/01/02/bir-yazilimci-hazir-sistemleri-incelemeli/</guid>

					<description><![CDATA[Eskiden çok eskiden ,ilk php öğrenirken  wordpress gibi sistemleri kullanarak site yapmanın yazılımcılığıma hiçbişey katmayacağını düşünürdüm , tabiki ilk php öğrenirken hazır sistemleri next next yapmak  ve onları öğrenmek size&#8230;]]></description>
										<content:encoded><![CDATA[<p>Eskiden çok eskiden ,ilk php öğrenirken  wordpress gibi sistemleri kullanarak site yapmanın yazılımcılığıma hiçbişey katmayacağını düşünürdüm , tabiki ilk php öğrenirken hazır sistemleri next next yapmak  ve onları öğrenmek size yazılımcı olarak bişey katmaz,daha sonra derinmorda  magento ile çalışıyorken ve orada hazır sistemin kötü olmadığını aksine insana yazılım anlamında çok şeyler kattığını öğrendim mesela</p>
<figure data-orig-width="1920" data-orig-height="1080" class="tmblr-full"><figure id="attachment_mmd_2382" class="wp-block-image "><img decoding="async" width="1920" height="304" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_o0cm01GxmW1tyldvk_540.jpg" class="attachment-full size-full" alt="image" loading="lazy" /></figure></figure>
<p><b>magento’da neler öğrendim</b></p>
<ul><li>Magento da zend framework vardı onun hakkında bilgimi genişlettim <br></li>
<li>Eticaret sisteminin genel kapsamlı olarak nasıl çalıştığını öğrendim<br></li>
<li>Moduller ile çalışma ve nasıl modul yazılması ve geliştirilmesi gerektiği hook,observe nin ne demek olduğu </li>
<li>veritabanı optimizasyonu ,eav veritabanı patterni</li>
<li>Bir sistemin nasıl bir mimari ile kurgulanması gerektiği ,yazılım mimarlığı</li>
<li> Başka yazılımcının core tarafına müdahale etmeden  kod ve çalışma yapısını bozmadan sisteme gerekli olan kodları yazdığı </li>
<li>temiz kod yazıldığında ve test driver development ile yapıldığında başkasının kodunu anlamanın kolay olacağı sistemleri öğrendim</li></ul>
<p>Ama şuda olmamalı bir hazır paketle yada framework ile kod yazarken sen oturup onun model yerine değilde direk controller yada view içine mysql kodu yazıyorsan birde sistemin kendi kodunu değil direk php nin mysql_fetch ini falan yazıyorsan sen hiç kod yazma kardeşim yazma bırak. </p>
<p>Magentoda 2 adet modül çalımam  <a href="https://github.com/stnc/magento-ajax-newsletter">magento-ajax-newsletter</a> ve 

<a href="https://github.com/stnc/Magento-video-uploader-and-preview">Magento-video-uploader-and-preview</a>

</p>
<p>Daha sonra</p>
<figure data-orig-width="2000" data-orig-height="456" class="tmblr-full"><figure id="attachment_mmd_2379" class="wp-block-image "><img decoding="async" width="2000" height="123" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_o0cm0d35Di1tyldvk_540.png" class="attachment-full size-full" alt="image" loading="lazy" /></figure></figure>
<p>Bu bilgileri kendi yazdığım <a href="https://github.com/stnc/stnc-framework">framework’de </a>kullanmaya gayret ettim.</p>
<p><br></p>
<p>Ama tabiki o şirket gerek arkadaş ortamı gerek yöneticilerim bakımından çalışma ortamı olarak çok keyif aldığım bir şirket ve hep öyle kalacak.</p>
<p>Php’yi yada hangi dili öğreniyorsanız belli aşamaya

geldikden sonra mutlaka bir tane framework öğrenin , opensource kullanılan cms ,erp ,eticaret,forum,crm gibi alanındaki en iyi yazılımlarını inceleyin. </p>
<p>Tek bir tane programlama dili yetinmeyin en az bir tane daha öğrenmeye çalışın ufkunuz açılır , bakış açınız değişir.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>magento ürün adı , ürün sku,stok adeti, id si</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-urun-adi-urun-skustok-adeti-id-si/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 24 Apr 2014 00:32:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Magento ipuçları]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2014/04/24/magento-urun-adi-urun-skustok-adeti-id-si/</guid>

					<description><![CDATA[geçerli urun adı :productAttribute($_product, $_product-&#62;getName(), &#8216;name&#8217;) ?&#62;urun sku :__( $this-&#62;escapeHtml($_product-&#62;getSku())); ?&#62;urun stok adeti:loadByProduct($_product)-&#62;getQty(); ?&#62;geçerli id $this-&#62;getProduct()-&#62;getId(); http://www.magentobooker.com/category/magento-develop/product-develop]]></description>
										<content:encoded><![CDATA[<p>geçerli urun adı :productAttribute($_product, $_product-&gt;getName(), &lsquo;name&rsquo;) ?&gt;<br />urun sku :__( $this-&gt;escapeHtml($_product-&gt;getSku())); ?&gt;<br />urun stok adeti:loadByProduct($_product)-&gt;getQty(); ?&gt;<br />geçerli id $this-&gt;getProduct()-&gt;getId();<br /><br /> <br /><a href="http://www.magentobooker.com/category/magento-develop/product-develop"><a href="http://www.magentobooker.com/category/magento-develop/product-develop">http://www.magentobooker.com/category/magento-develop/product-develop</a></a></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento ürün yapısındaki gridi özelleştirmek</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-urun-yapisindaki-gridi-ozellestirmek/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 24 Apr 2014 00:19:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Magento ipuçları]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2014/04/24/magento-urun-yapisindaki-gridi-ozellestirmek/</guid>

					<description><![CDATA[ürünler girini için özelleştirilebilir grid yapısıbu grid ile ürünlere istediğiniz gibi özelleştirme yapabilirsinizhttp://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhanced-product-grid]]></description>
										<content:encoded><![CDATA[<p>ürünler girini için özelleştirilebilir grid yapısı<br><br>bu grid ile ürünlere istediğiniz gibi özelleştirme yapabilirsiniz<br><a href="http://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhanced-product-grid">http://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhanced-product-grid</a></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>magento jquery çalışmama ve hata</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-jquery-calismama-ve-hata/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 24 Apr 2014 00:17:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Magento ipuçları]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2014/04/24/magento-jquery-calismama-ve-hata/</guid>

					<description><![CDATA[Deneyimlerime göre  çoğu PHP geliştirici, sayısız nedenlerle jQuery tercih eder. Ben Prototype.js  vs  jQuery kim döver diye tartışmaya girmek istemiyorum. Amacımız ek gereksinimler için jQuery kullanmak ve Magento çekirdeğinde prototype&#8230;]]></description>
										<content:encoded><![CDATA[<pre><a href="http://www.selmantunc.com/wp-content/uploads/2014/04/Magento-prototype-jquery.jpg"><img fetchpriority="high" decoding="async" class="size-medium wp-image-966 alignleft" alt="Magento-prototype-jquery" src="http://www.selmantunc.com/wp-content/uploads/2014/04/Magento-prototype-jquery-300x187.jpg" width="300" height="187"></a></pre>
<p><br />Deneyimlerime göre  çoğu PHP geliştirici, sayısız nedenlerle jQuery tercih eder. Ben Prototype.js  vs  jQuery kim döver diye tartışmaya girmek istemiyorum. Amacımız ek gereksinimler için jQuery kullanmak ve Magento çekirdeğinde prototype kullanılır.<br /><pre>../js/prototype/prototype.js<br />../js/prototype/validation.js  <br />../js/scriptaculous/builder.js<br />../js/scriptaculous/effects.js<br />../js/scriptaculous/dragdrop.js<br />../js/scriptaculous/controls.js<br />../js/scriptaculous/slider.js<br />../js/varien/js.js<br />../js/varien/form.js<br />../js/varien/menu.js<br />../js/mage/translate.js<br />../js/mage/cookies.js</pre>
<br />Eğer bir jQuery çağırdığınızda &ldquo;<code>$&quot; işareti ile&nbsp;</code> Prototype.js kaydeder ve bir çatışma oluşur  değişken ismi yüzünden z <code>$</code> jQuery çakışmaya neden olan  değişkeni kaydetmeye çalışır oysa kendi değişkeni değildir.Bu durum bazen çok sinir bozucu olur.bunun kontrolude var nasıl mı ?<br /><pre>Uyumluluk modu</pre>
<br /><pre>  var $ j = jQuery.noConflict ();<br /> $ J (document). Ready (function () {<br /> . $ J ("# showdiv") show ();<br /> }); <br /><br />noconflict de kendi jquery değişkenlerinizi j yapabilirsiniz yada <br />default olarak jquery i kodlarının en başına <br /><code>jQuery.noConflict();</code> ekleyin</pre>
<br /><pre></pre></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
