<?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>onestic &#187; footer</title>
	<atom:link href="http://onestic.com/tag/footer/feed/" rel="self" type="application/rss+xml" />
	<link>http://onestic.com</link>
	<description>blog de onestic</description>
	<lastBuildDate>Wed, 30 Jun 2010 10:37:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Newsletter en el footer con Magento</title>
		<link>http://onestic.com/newsletter-en-el-footer-con-magento/</link>
		<comments>http://onestic.com/newsletter-en-el-footer-con-magento/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 10:23:56 +0000</pubDate>
		<dc:creator>Sergio Baixauli</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://onestic.com/?p=525</guid>
		<description><![CDATA[Un pequeño truco matutino para mover la caja de suscripción al footer.

Para mover el newsletter box al footer editamos el fichero layout/newsletter.xml

Cambiamos estas líneas...

PLAIN TEXTXML:
&#38;lt;reference name=&#38;quot;left&#38;quot;&#38;gt;
&#160;&#38;lt;block type=&#38;quot;newsletter/subscribe&#38;quot; name=&#38;quot;footer.newsletter&#38;quot; template=&#38;quot;newsletter/subscribe.phtml&#38;quot;/&#38;gt;
&#160;&#38;lt;/reference&#38;gt; 


por estas otras...

PLAIN TEXTXML:
&#38;lt;reference name=&#38;quot;footer&#38;quot;&#38;gt;
&#160;&#38;lt;block type=&#38;quot;newsletter/subscribe&#38;quot; name=&#38;quot;footer.newsletter&#38;quot; template=&#38;quot;newsletter/subscribe.phtml&#38;quot;/&#38;gt;
&#160;&#38;lt;/reference&#38;gt; 


El resultado.



Ahora otro pequeño truco, si queremos que la caja de Newsletter aparezca como primer elemento en el [...]]]></description>
			<content:encoded><![CDATA[Un pequeño truco matutino para mover la caja de suscripción al footer.

Para mover el <strong>newsletter box al footer</strong> editamos el fichero layout/newsletter.xml

Cambiamos estas líneas...

<div class="igBar"><span id="lxml-4"><a href="#" onclick="javascript:showPlainTxt('xml-4'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">XML:</span><br /><div id="xml-4">
<div class="xml"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>reference name=<span style="color: #ddbb00;">&amp;quot;</span>left<span style="color: #ddbb00;">&amp;quot;</span><span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #ddbb00;">&amp;lt;</span>block type=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe<span style="color: #ddbb00;">&amp;quot;</span> name=<span style="color: #ddbb00;">&amp;quot;</span>footer.newsletter<span style="color: #ddbb00;">&amp;quot;</span> template=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe.phtml<span style="color: #ddbb00;">&amp;quot;</span>/<span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #ddbb00;">&amp;lt;</span>/reference<span style="color: #ddbb00;">&amp;gt;</span> </div></li></ol></div>
</div></div><br />

por estas otras...

<div class="igBar"><span id="lxml-5"><a href="#" onclick="javascript:showPlainTxt('xml-5'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">XML:</span><br /><div id="xml-5">
<div class="xml"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>reference name=<span style="color: #ddbb00;">&amp;quot;</span>footer<span style="color: #ddbb00;">&amp;quot;</span><span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #ddbb00;">&amp;lt;</span>block type=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe<span style="color: #ddbb00;">&amp;quot;</span> name=<span style="color: #ddbb00;">&amp;quot;</span>footer.newsletter<span style="color: #ddbb00;">&amp;quot;</span> template=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe.phtml<span style="color: #ddbb00;">&amp;quot;</span>/<span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #ddbb00;">&amp;lt;</span>/reference<span style="color: #ddbb00;">&amp;gt;</span> </div></li></ol></div>
</div></div><br />

El resultado.

<div id="attachment_527" class="wp-caption alignnone" style="width: 585px"><a href="http://onestic.com/wp-content/uploads/2009/10/footer-newsle.jpg"><img class="size-full wp-image-527" title="footer-newsle" src="http://onestic.com/wp-content/uploads/2009/10/footer-newsle.jpg" alt="Newsletter en el footer" width="575" height="242" /></a><p class="wp-caption-text">Newsletter en el footer</p></div>

Ahora otro pequeño truco, si queremos que la caja de Newsletter aparezca como primer elemento en el footer, hay que decirle que la renderice la primera, antes de todos los enlaces, por eso añadimos <strong>before="footer_links,cms_footer_links"</strong>

<div class="igBar"><span id="lxml-6"><a href="#" onclick="javascript:showPlainTxt('xml-6'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">XML:</span><br /><div id="xml-6">
<div class="xml"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>reference name=<span style="color: #ddbb00;">&amp;quot;</span>footer<span style="color: #ddbb00;">&amp;quot;</span><span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>block type=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe<span style="color: #ddbb00;">&amp;quot;</span> before=<span style="color: #ddbb00;">&amp;quot;</span>footer_links,cms_footer_links<span style="color: #ddbb00;">&amp;quot;</span> name=<span style="color: #ddbb00;">&amp;quot;</span>footer.newsletter<span style="color: #ddbb00;">&amp;quot;</span> template=<span style="color: #ddbb00;">&amp;quot;</span>newsletter/subscribe.phtml<span style="color: #ddbb00;">&amp;quot;</span>/<span style="color: #ddbb00;">&amp;gt;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>/reference<span style="color: #ddbb00;">&amp;gt;</span> </div></li></ol></div>
</div></div><br />



Si queremos personalizar el aspecto de la caja, además de tocar las hojas de estilo, tenemos que editar el fichero que está en template/newsletter/subscribe.phtml y dejarlo como nos guste.</pre>
y ya está. Acordaros de borrar la caché para ver los cambios!]]></content:encoded>
			<wfw:commentRss>http://onestic.com/newsletter-en-el-footer-con-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>