<?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>Agence de Développement Informatique du Nord &#187; core_config_data</title>
	<atom:link href="http://blog.adin.pro/tag/core_config_data/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Magento &#8211; Adding additional store addresses</title>
		<link>http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/</link>
		<comments>http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/#comments</comments>
		<pubDate>Thu, 21 Jan 2016 08:44:17 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[core_config_data]]></category>
		<category><![CDATA[store mails]]></category>
		<category><![CDATA[system.xml]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=510</guid>
		<description><![CDATA[<p>Magento allows you to define 5 email addresses in backoffice, to add some, create (or use an existing) system.xml in a new (or existing) module like this In this case, this will create 2 entries in the core_config_data table : &#8230; <a href="http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/">Magento &#8211; Adding additional store addresses</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Magento allows you to define 5 email addresses in backoffice, to add some, create (or use an existing) system.xml in a new (or existing) module like this</p>
<pre class="brush: xml; title: ; notranslate">
&lt;config&gt;
    &lt;sections&gt;
        &lt;trans_email&gt;
            &lt;groups&gt;
                &lt;ident_relance translate=&quot;label&quot;&gt;
                    &lt;label&gt;Relances&lt;/label&gt;
                    &lt;frontend_type&gt;text&lt;/frontend_type&gt;
                    &lt;sort_order&gt;10&lt;/sort_order&gt;
                    &lt;show_in_default&gt;1&lt;/show_in_default&gt;
                    &lt;show_in_website&gt;1&lt;/show_in_website&gt;
                    &lt;show_in_store&gt;1&lt;/show_in_store&gt;
                    &lt;fields&gt;
                        &lt;email translate=&quot;label&quot;&gt;
                            &lt;label&gt;Sender Email&lt;/label&gt;
                            &lt;frontend_type&gt;text&lt;/frontend_type&gt;
                            &lt;backend_model&gt;adminhtml/system_config_backend_email_address&lt;/backend_model&gt;
                            &lt;validate&gt;validate-email&lt;/validate&gt;
                            &lt;sort_order&gt;2&lt;/sort_order&gt;
                            &lt;show_in_default&gt;1&lt;/show_in_default&gt;
                            &lt;show_in_website&gt;1&lt;/show_in_website&gt;
                            &lt;show_in_store&gt;1&lt;/show_in_store&gt;
                        &lt;/email&gt;
                        &lt;name translate=&quot;label&quot;&gt;
                            &lt;label&gt;Sender Name&lt;/label&gt;
                            &lt;frontend_type&gt;text&lt;/frontend_type&gt;
                            &lt;backend_model&gt;adminhtml/system_config_backend_email_sender&lt;/backend_model&gt;
                            &lt;validate&gt;validate-emailSender&lt;/validate&gt;
                            &lt;sort_order&gt;1&lt;/sort_order&gt;
                            &lt;show_in_default&gt;1&lt;/show_in_default&gt;
                            &lt;show_in_website&gt;1&lt;/show_in_website&gt;
                            &lt;show_in_store&gt;1&lt;/show_in_store&gt;
                        &lt;/name&gt;
                    &lt;/fields&gt;
                &lt;/ident_relance&gt;
            &lt;/groups&gt;
        &lt;/trans_email&gt;
    &lt;/sections&gt;
&lt;/config&gt;
</pre>
<p>In this case, this will create 2 entries in the core_config_data table : trans_email/ident_relance/email and  	trans_email/ident_relance/name.</p>
<p>To retrieve values, use this :</p>
<pre class="brush: php; title: ; notranslate">
Mage::getStoreConfig('trans_email/ident_relance/email');
Mage::getStoreConfig('trans_email/ident_relance/name');
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/">Magento &#8211; Adding additional store addresses</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2016-01-21/magento-adding-additional-store-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento using core_config_data table</title>
		<link>http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/</link>
		<comments>http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/#comments</comments>
		<pubDate>Fri, 31 May 2013 08:27:07 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[core_config_data]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=222</guid>
		<description><![CDATA[<p>Core_config_data is a magento table used to save configuration and setting. It&#8217;s really helpfull and easy to use : save or update a new entry : and retrieve saved value : You may need to specify scope and scope code &#8230; <a href="http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/">Magento using core_config_data table</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Core_config_data is a magento table used to save configuration and setting. It&#8217;s really helpfull and easy to use :</p>
<p>save or update a new entry :</p>
<pre class="brush: php; title: ; notranslate">
$data = new Mage_Core_Model_Config();
$data-&gt;saveConfig('adin/ssid', 'value', 'default', 0);
</pre>
<p>and retrieve saved value :</p>
<pre class="brush: php; title: ; notranslate">
$value = Mage::getConfig()-&gt;getNode('default/adin/ssid');
</pre>
<p>You may need to specify scope and scope code to retrieve the value </p>
<pre class="brush: php; title: ; notranslate">
$value = Mage::getConfig()-&gt;getNode('default/sogen/file_number', 'default', 0 );
</pre>
<p>Update or create a value inside the installer (data, no sql)</p>
<pre class="brush: php; title: ; notranslate">
  $installer-&gt;setConfigData('customer/address/prefix_show', 0);
</pre>
<p>In a setup file</p>
<pre class="brush: php; title: ; notranslate">
 $installer-&gt;setConfigData('your/path', 'value', 'stores', 1);
 $installer-&gt;deleteConfigData('your/path', 'stores');
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/">Magento using core_config_data table</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2013-05-31/magento-using-core_config_data-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento unable to login (no error message)</title>
		<link>http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/</link>
		<comments>http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 09:22:00 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[core_config_data]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=166</guid>
		<description><![CDATA[<p>You just install a new instance of magento on a new server, for testing by example and you are unable to login. Password recovery send you a new password but it doesn&#8217;t work. This is probably a domain cookie issue. &#8230; <a href="http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/">Magento unable to login (no error message)</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>You just install a new instance of magento on a new server, for testing by example and you are unable to login. Password recovery send you a new password but it doesn&#8217;t work. This is probably a domain cookie issue.</p>
<p>After installing a new instance, you change in the database, table core_config_data, these 2 entry : web/unsecure/base_url and web/secure/base_url. Don&#8217;t forget to change this one too : web/cookie/cookie_domain and web/cookie/cookie_path</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/">Magento unable to login (no error message)</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2013-04-10/maganto-unable-to-login-no-error-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
