<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.as3codes.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.as3codes.com/wiki/index.php?title=Special:RecentChanges&amp;feed=atom</id>
		<title>AS3 CODES  - Recent changes [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.as3codes.com/wiki/index.php?title=Special:RecentChanges&amp;feed=atom"/>
		<link rel="alternate" type="text/html" href="http://www.as3codes.com/wiki/index.php?title=Special:RecentChanges"/>
		<updated>2012-05-20T21:36:59Z</updated>
		<subtitle>Track the most recent changes to the wiki in this feed.</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://www.as3codes.com/wiki/index.php?title=Add_custom_code_to_a_Magento_cms_page&amp;diff=570&amp;oldid=prev</id>
		<title>Add custom code to a Magento cms page</title>
		<link rel="alternate" type="text/html" href="http://www.as3codes.com/wiki/index.php?title=Add_custom_code_to_a_Magento_cms_page&amp;diff=570&amp;oldid=prev"/>
				<updated>2012-05-18T21:17:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:17, 18 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='4' align='center' class='diff-multi'&gt;(3 intermediate revisions not shown)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{block type=&amp;quot;core/template&amp;quot; template=&amp;quot;myfolder/mycode.php&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{block type=&amp;quot;core/template&amp;quot; template=&amp;quot;myfolder/mycode.php&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Path to file: '''app/design/frontend/default/template/MYFOLDER/'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;To edit magento registration page [http://www.magentocommerce.com/wiki/5_-_modules_and_development/customers_and_accounts/registration_fields go here].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;websiteFrame&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;websiteFrame&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Togagames</name></author>	</entry>

	<entry>
		<id>http://www.as3codes.com/wiki/index.php?title=Where_is_magento_login_and_registration_form_located_to_edit%3F&amp;diff=566&amp;oldid=prev</id>
		<title>Where is magento login and registration form located to edit?</title>
		<link rel="alternate" type="text/html" href="http://www.as3codes.com/wiki/index.php?title=Where_is_magento_login_and_registration_form_located_to_edit%3F&amp;diff=566&amp;oldid=prev"/>
				<updated>2012-05-17T22:38:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;They are here...&lt;br /&gt;
&lt;br /&gt;
app/design/frontend/base/default/template/persistent/customer/form/login.phtml&lt;br /&gt;
 &lt;br /&gt;
app/design/frontend/base/default/template/persistent/customer/form/register.phtml&lt;/div&gt;</summary>
		<author><name>Togagames</name></author>	</entry>

	<entry>
		<id>http://www.as3codes.com/wiki/index.php?title=How_to_tell_if_someone_is_logged_in_-_Magento&amp;diff=563&amp;oldid=prev</id>
		<title>How to tell if someone is logged in - Magento</title>
		<link rel="alternate" type="text/html" href="http://www.as3codes.com/wiki/index.php?title=How_to_tell_if_someone_is_logged_in_-_Magento&amp;diff=563&amp;oldid=prev"/>
				<updated>2012-05-17T21:05:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code&amp;gt;[php]&lt;br /&gt;
if(Mage::getSingleton('customer/session')-&amp;gt;isLoggedIn()){doSomething();}else{doNothing();}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, you can redirect them to the login page:&lt;br /&gt;
&amp;lt;code&amp;gt;[php]&lt;br /&gt;
Mage::getSingleton('customer/session')-&amp;gt;setBeforeAuthUrl($this-&amp;gt;getRequest()-&amp;gt;getRequestUri()); &lt;br /&gt;
if(!Mage::getSingleton('customer/session')-&amp;gt;isLoggedIn()){ &lt;br /&gt;
header(&amp;quot;Status: 301&amp;quot;); &lt;br /&gt;
header('Location: '.$this-&amp;gt;getUrl('customer/account/login')); &lt;br /&gt;
exit; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;websiteFrame&amp;gt;&lt;br /&gt;
website=http://www.as3codes.com/google_main_page.php&lt;br /&gt;
name=gooogle&lt;br /&gt;
align=middle&lt;br /&gt;
height=90&lt;br /&gt;
width=728&lt;br /&gt;
border=0&lt;br /&gt;
scroll=no&lt;br /&gt;
longdescription=google adsense&lt;br /&gt;
&amp;lt;/websiteFrame&amp;gt;&lt;/div&gt;</summary>
		<author><name>Togagames</name></author>	</entry>

	<entry>
		<id>http://www.as3codes.com/wiki/index.php?title=Add_custom_code_to_a_Magento_cms_page&amp;diff=559&amp;oldid=prev</id>
		<title>Add custom code to a Magento cms page</title>
		<link rel="alternate" type="text/html" href="http://www.as3codes.com/wiki/index.php?title=Add_custom_code_to_a_Magento_cms_page&amp;diff=559&amp;oldid=prev"/>
				<updated>2012-05-17T20:09:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Make a folder inside of :: app/design/frontend/default/template.&lt;br /&gt;
&lt;br /&gt;
Name the folder what you want to.&lt;br /&gt;
&lt;br /&gt;
Then make a file inside the folder. I named my file homecode.php (after the CMS page called 'home').&lt;br /&gt;
&lt;br /&gt;
Finally, you can include this page inside the CMS page editor with this line of code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
{{block type=&amp;quot;core/template&amp;quot; template=&amp;quot;myfolder/mycode.php&amp;quot;}}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;websiteFrame&amp;gt;&lt;br /&gt;
website=http://www.as3codes.com/google_main_page.php&lt;br /&gt;
name=gooogle&lt;br /&gt;
align=middle&lt;br /&gt;
height=90&lt;br /&gt;
width=728&lt;br /&gt;
border=0&lt;br /&gt;
scroll=no&lt;br /&gt;
longdescription=google adsense&lt;br /&gt;
&amp;lt;/websiteFrame&amp;gt;&lt;/div&gt;</summary>
		<author><name>Togagames</name></author>	</entry>

	</feed>
