<?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>Avisra</title>
	<atom:link href="http://www.avisra.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.avisra.com</link>
	<description>Discussions on Magento, Sitefinity, and Everything Web</description>
	<lastBuildDate>Sun, 28 Aug 2011 14:51:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Sitefinity 4 Navigation Control (Custom)</title>
		<link>http://www.avisra.com/blog/2011/08/28/sitefinity-4-navigation-control-custom/</link>
		<comments>http://www.avisra.com/blog/2011/08/28/sitefinity-4-navigation-control-custom/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 14:51:17 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=192</guid>
		<description><![CDATA[Our web development team at Aptera Software care about their code. The standard Sitefinity 4 Navigation Control spits out a lot of unnecessary code &#8211; IDs (when you don&#8217;t need then), extra classes, div tags, a ton of JavaScript, view state padding, and useless hidden inputs. In Sitefinity 3.7, our team developed their own menu adapter to [...]]]></description>
			<content:encoded><![CDATA[<p>Our web development team at Aptera Software care about their code. The standard Sitefinity 4 Navigation Control spits out a lot of unnecessary code &#8211; IDs (when you don&#8217;t need then), extra classes, div tags, a ton of JavaScript, view state padding, and useless hidden inputs.</p>
<p>In Sitefinity 3.7, our team developed their own menu adapter to strip all of this junk out. Well &#8211; we&#8217;ve done the same thing for Sitefinity 4. This control is great &#8211; and allows for a significant amount of customization. We use it in every site we build without needing any additional customization.</p>
<p><a title="Sitefinity 4 Navigation Control" href="http://www.sitefinity.com/marketplace/modules/cleannav-control.aspx" target="_blank">Go check it out!</a></p>
<p>Next week we will be spending some time to build them into multiple DLLs for each Sitefinity version &#8211; so you don&#8217;t have to replace the Telerik.Sitefinity libraries to run it for your specific version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/08/28/sitefinity-4-navigation-control-custom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sitefinity 4 Calendar Widget Released!</title>
		<link>http://www.avisra.com/blog/2011/08/28/sitefinity-4-calendar-widget-released/</link>
		<comments>http://www.avisra.com/blog/2011/08/28/sitefinity-4-calendar-widget-released/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 03:57:20 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Sitefinity]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[sitefinity]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=184</guid>
		<description><![CDATA[I work for a software firm in Fort Wayne, IN. For the longest time, we used Sitefinity 3 as our standard content management solution. After awhile, we determined a few standard features that nearly all of our clients used. One of the biggies &#8211; the Events Calendar. Those of you that are passionate about Sitefinity [...]]]></description>
			<content:encoded><![CDATA[<p>I work for a software firm in Fort Wayne, IN. For the longest time, we used Sitefinity 3 as our standard content management solution. After awhile, we determined a few standard features that nearly all of our clients used. One of the biggies &#8211; the Events Calendar.</p>
<p>Those of you that are passionate about Sitefinity (or Telerik all-together) probably noticed that Sitefinity 4 was released without an Events Calendar. The suggested solution was to build a custom calendar using RadScheduler (a Telerik product). But this required additional programming. You had to programmatically integrate the calendar with the Sitefinity Events Module so that it actually pulled in events. And if you wanted the events to be clickable &#8211; you needed to do even more work. To my astonishment, Sitefinity 4 progressed to 4.2 without anyone having developed a Calendar widget. About a month ago, I took the initiative and started the project myself. Today, I&#8217;d like to present the first <a title="Sitefinity 4 Calendar Widget" href="http://www.sitefinity4calendar.com" target="_blank">Sitefinity 4 Calendar Widget</a>.</p>
<p>The widget supports iCalendar links for each event (opens in Outlook, Gmail, iCal, and other mail clients). You can also link to an event detail page &#8211; just like you could in the 3.7 Events Calendar. The great thing about my calendar is that is built entirely on jQuery and WCF Services. No postbacks and no pesky AJAX framework. Clean, simple, and effective.</p>
<p><em>A huge thanks goes out to <a href="http://arshaw.com/fullcalendar/" target="_blank">Adam Shaw</a> for his development of FullCalendar. Without his hard work, this project would have not been possible.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/08/28/sitefinity-4-calendar-widget-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8220;Use For Development&#8221; Button Missing from Xcode Organizer</title>
		<link>http://www.avisra.com/blog/2011/06/08/use-for-development-button-missing-from-xcode-organizer/</link>
		<comments>http://www.avisra.com/blog/2011/06/08/use-for-development-button-missing-from-xcode-organizer/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 03:02:31 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=165</guid>
		<description><![CDATA[Sometimes its the little quirky things that hold us up from doing our work. I had been developing an iPad app and needed to test it on my device. If you are familiar with this process, then you will know that Apple made it very easy to add a device to your &#8220;provisioning profile&#8221;. If [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes its the little quirky things that hold us up from doing our work. I had been developing an iPad app and needed to test it on my device. If you are familiar with this process, then you will know that Apple made it very easy to add a device to your &#8220;provisioning profile&#8221;. If everything shows up and works right, its done with the single click of a button. Unfortunately &#8211; the button was not showing up in the Xcode Organizer.</p>
<p><a href="http://www.avisra.com/wp-content/uploads/2011/06/missingbutton.jpg"><img class="alignnone size-full wp-image-167" title="missingbutton" src="http://www.avisra.com/wp-content/uploads/2011/06/missingbutton.jpg" alt="" width="500" height="43" /></a></p>
<p>Are you missing this button too? If you have a similar situation, the maybe you even see something like this (below) in place of the Use for Development button:</p>
<p><a href="http://www.avisra.com/wp-content/uploads/2011/06/instead1.jpg"><img class="alignnone size-full wp-image-169" title="instead" src="http://www.avisra.com/wp-content/uploads/2011/06/instead1.jpg" alt="" width="500" height="43" /></a></p>
<p>This message gave me a headache. I Googled, ran all available software updates, ran all of the Xcode updates, and still had no luck. However, great workaround to add this device to your provisioning profile:</p>
<ol>
<li>Open Xcode Organizer (have your device plugged in)</li>
<li>Right click your device in the Organizer</li>
<li>Click on &#8220;Add Device to Provisioning Profile&#8221;</li>
<li>Type in your developer login</li>
<li>There you have it &#8211; your device should be good for testing now</li>
</ol>
<p>For those visual learners, here&#8217;s a screenshot:</p>
<p><a href="http://www.avisra.com/wp-content/uploads/2011/06/rightclick1.jpg"><img class="alignnone size-full wp-image-170" title="rightclick" src="http://www.avisra.com/wp-content/uploads/2011/06/rightclick1.jpg" alt="" width="420" height="183" /></a></p>
<p>Unfortunately, I never did get the button back&#8230; Oh well &#8211; who needs it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/06/08/use-for-development-button-missing-from-xcode-organizer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sitefinity 4: HtmlField, PageField, ImageSelector, and Multi View Designers</title>
		<link>http://www.avisra.com/blog/2011/05/22/sitefinity-control-designer-fields/</link>
		<comments>http://www.avisra.com/blog/2011/05/22/sitefinity-control-designer-fields/#comments</comments>
		<pubDate>Sun, 22 May 2011 15:53:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=124</guid>
		<description><![CDATA[I&#8217;ve got a tasty treat for all of the Sitefinity 4 developers out there. I&#8217;ve expressed frustration about this before, but the Sitefinity 4 documentation is lacking greatly (in examples). So, what I&#8217;ve done is put together a few of my own examples. I&#8217;ve created basic custom controls that I know I&#8217;ll need to use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a tasty treat for all of the Sitefinity 4 developers out there. I&#8217;ve expressed frustration about this before, but the Sitefinity 4 documentation is lacking greatly (in examples). So, what I&#8217;ve done is put together a few of my own examples. I&#8217;ve created basic custom controls that I know I&#8217;ll need to use for future projects. To add these controls to your project for modifying and using, do the following:</p>
<ol>
<li>Open your project in Visual Studio</li>
<li>File &gt; Add Existing Project &gt; Select the HtmlField project (for example)</li>
<li>Right click on the Refrences folder of <strong>your</strong> project</li>
<li>Click on the &#8220;Projects&#8221; tab and select HtmlEditor</li>
<li>Save and Build</li>
<li>Register the control in your toolbox (CLR type is HtmlEditor.HtmlEditor)</li>
</ol>
<p>&nbsp;</p>
<p><img class="size-medium wp-image-127 alignleft" title="HtmlField" src="http://www.avisra.com/wp-content/uploads/2011/05/HtmlField-268x300.jpg" alt="" width="268" height="300" /></p>
<h2>HtmlField <a class="dlink" href="http://www.avisra.com/repository/HtmlEditor.zip">HtmlEditor.zip (16.4 MB)</a></h2>
<p>In my past 3.7.x projects, I found myself using the RadEditor in my controls quite often. This HtmlField editor can be customized to include other tools, but this example includes basic formatting options, image insertion, links, and an HTML editor view.</p>
<p>To get a better understanding of what this control does, take a look at the JavaScript file in Resources/JavaScript. The <em>refreshUI</em> and <em>applyChanges</em> functions take care of handling the data in our control. If data has already been saved in the control, <em>refreshUI</em> pulls in that HTML content and reassigns it to the editor so you can continue editing it. <em>applyChanges</em> takes the HTML content from the editor and saves it into the Html string property of our control (Ln 35 of HtmlEditor.cs). In our control, we then assign it to our Literal control within the control template (Resources/Templates/HtmlEditor.ascx).</p>
<p>&nbsp;</p>
<p><img class="alignright size-medium wp-image-139" title="PageField" src="http://www.avisra.com/wp-content/uploads/2011/05/PageField-204x300.jpg" alt="" width="204" height="300" /></p>
<h2>PageField <a class="dlink" href="http://www.avisra.com/repository/PageField.zip">PageSelector.zip (16.4 MB)</a></h2>
<p>This new field is really rather remarkable. You click on the &#8220;Select Page&#8221; button and it immediately pops up with an interface for searching (completely AJAXed) and selecting a page from the sitemap. Controls like this one prove that Telerik put in some serious man hours into making Sitefinity 4 developer-friendly.</p>
<p>Again, pull open the JavaScript file in Resources/JavaScript to see what&#8217;s going on. It returns a Guid reference to a page. In our control (Ln 25 of PageSelector.cs) we use this Guid and the Fluent API to create a HyperLink from the selected page. Open up PageSelector.cs and take a look at the InitializeControls method. This assigns a couple of required properties of our PageField: <em>WebServiceUrl</em> and <em>RootNodeID</em>. We assign our <em>WebServiceUrl</em> specifically to the Page service to get a list of all pages. Our <em>RootNodeID</em> is being assigned to the default top-level node to pull in all of the child pages.</p>
<p>&nbsp;</p>
<p><img class="alignleft size-medium wp-image-143" title="ImageField" src="http://www.avisra.com/wp-content/uploads/2011/05/ImageField-293x300.jpg" alt="" width="293" height="300" /></p>
<h2>ImageSelector <a class="dlink" href="http://www.avisra.com/repository/ImageSelector.zip">ImageSelector.zip (16.4 MB)</a></h2>
<p>This control is a bit different &#8211; it actually uses ImageSelectorDesignerView. We are no longer using one of the controls from Telerik.Sitefinity.Web.UI.Fields. There is, however, a ImageField control that you can use from that namespace (allows uploading). This control just allows users to select images directly from an album.</p>
<p>Open up the JavaScript for the control. One thing to take note of here: applyChanges calls the applyChanges method of the parent designer (saves us some code). The parent designer is set within the initialize function. But what does this do? Open up ImageSelector.cs &#8211; ImageId holds a Guid reference to the page and we use that in our Fluent API code to search for the image and add it to our control. Thank you Telerik for making it easy to implement selectors in our own controls.</p>
<p>&nbsp;</p>
<p><img class="alignright size-medium wp-image-149" title="MultiView" src="http://www.avisra.com/wp-content/uploads/2011/05/MultiView-300x197.jpg" alt="" width="300" height="197" /></p>
<h2>Multi View Designers <a class="dlink" href="http://www.avisra.com/repository/MultiView.zip">MultiView.zip (17.3 MB)</a></h2>
<p>This is slick. Sitefinity makes it easy to create tabbed/multi-view control designers to keep your controls clean and organized. I&#8217;ve tried to organize my project folders so that you can easily picture how everything links together. With multi-view designers, you still need a base designer and designer template. With those, are your designer views and their templates. Let&#8217;s take a look. Open up MultiViewDesigner.cs (Ln 20) and note the AddViews method. This method is magical &#8211; it automatically creates all of the JavaScript for tabbed content and wires the views to the designer. Let&#8217;s take a look at one of the views.</p>
<p>For each view, you need JavaScript, a Template, and a Code-Behind. Open up Views/View1.cs. Our ViewTitle is the text is displayed in the tab for this view. In GetScriptReferences and LayoutTemplateName we wire up our JavaScript and template for this view. If you open up the JavaScript for this view, you will notice that it is treated as if View1 were its a completely separate designer. We use <em>_parentDesigner</em> to reference the parent designer for the views and assign the Title property (string) of our control.</p>
<p>Well, that&#8217;s all I have. If you have problems implementing these controls in your project, please let me know in the comments. The majority of problems I&#8217;ve noticed were related to dll/reference versions. Download all of the project files here: <a href="http://www.avisra.com/repository/AllProjects_Fields.zip">AllProjects_Fields.zip (66.5 MB)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/05/22/sitefinity-control-designer-fields/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Speed up response time in Phonegap apps</title>
		<link>http://www.avisra.com/blog/2011/05/19/speed-up-response-time-in-phonegap-apps/</link>
		<comments>http://www.avisra.com/blog/2011/05/19/speed-up-response-time-in-phonegap-apps/#comments</comments>
		<pubDate>Thu, 19 May 2011 19:07:45 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=116</guid>
		<description><![CDATA[When Appcelerator and Nitobi came into the mobile market with their revolutionary development tools, they opened the gate for front-end developers to enter the mobile market. Phonegap (developed by Nitobi) allows developers to create mobile apps by solely using HTML, CSS, and JavaScript. When it comes down to it, Phonegap apps are web apps disguised [...]]]></description>
			<content:encoded><![CDATA[<p>When Appcelerator and Nitobi came into the mobile market with their revolutionary development tools, they opened the gate for front-end developers to enter the mobile market. Phonegap (developed by Nitobi) allows developers to create mobile apps by solely using HTML, CSS, and JavaScript. When it comes down to it, Phonegap apps are web apps disguised as native apps. The only issue with this is that without some extra work, the apps can be less responsive to touch events. Here&#8217;s what I mean:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;input type=&quot;checkbox&quot; name=&quot;mycheck&quot; /&gt;
</pre>
<p>This will render a checkbox on on the IOS device using Phonegap. If I click touch that checkbox with my finger, there is a delay before the checkbox is actually checked. This delay breaks the illusion of it being a real native app (using native controls). Thankfully, some smart fellows found an event we can use to make the app more responsive to touch: <em>touchstart</em>.</p>
<p><em>touchstart</em> is an event that is raised the instance your finger hits the screen. By default, checkboxes listen for the <em>click</em> event. All we have to do is remove the default <em>click</em> functionality and put it into the <em>touchstart</em> event. See the example below (I&#8217;m using jQuery mobile):</p>
<pre class="brush: jscript; title: ; notranslate">
$('input[type=&quot;checkbox&quot;]').click(function(e) {
	e.preventDefault(); // or return false;
});

$('input[type=&quot;checkbox&quot;]').bind('touchstart', function(e) {
	if($(this).attr('checked') == false){
		$(this).attr('checked', true);
	} else {
		$(this).attr('checked', false);
	}
	// code above toggles the checked attribute

	$(this).change();
	// This manually throws the &quot;change&quot; event for the checkbox. Because we disabled the click event, the change event would not be raised.
});
</pre>
<p>This disables the default click event and forces it to rely on the <em>touchstart</em> event for checking/unchecking the checkbox. Obviously a significant amount of code for solving a pretty basic problem &#8211; hopefully someone will come up with a cleaner solution. Please leave me a comment if you already know of one&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/05/19/speed-up-response-time-in-phonegap-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using .NET Reflector with Sitefinity 4</title>
		<link>http://www.avisra.com/blog/2011/05/18/sitefinity-4-custom-controls/</link>
		<comments>http://www.avisra.com/blog/2011/05/18/sitefinity-4-custom-controls/#comments</comments>
		<pubDate>Wed, 18 May 2011 01:56:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=106</guid>
		<description><![CDATA[One of my biggest gripes with the new version of Sitefinity is the amount of documentation that just doesn&#8217;t exist. Building a custom control in Sitefinity requires reading through the examples included on their website and in the SDK package. Unfortunately, the examples for custom controls are missing a lot of information &#8211; and the [...]]]></description>
			<content:encoded><![CDATA[<p>One of my biggest gripes with the new version of Sitefinity is the amount of documentation that just doesn&#8217;t exist. Building a custom control in Sitefinity requires reading through the examples included on their website and in the SDK package. Unfortunately, the examples for custom controls are missing a lot of information &#8211; and the majority of them are always building off of their NewsRotator control (which isn&#8217;t always helpful).</p>
<p>After a lot of digging, question-asking, and programming, I&#8217;ve been able to get a pretty good grasp on how controls are structured and where to find the methods I need. To begin, if you are going to building your own custom controls, here are two things I would suggest:</p>
<ol>
<li>Brush up on the Microsoft AJAX Framework. You will need to understand it for implementing Control Designers.</li>
<li>Purchase and Download .NET Reflector. Since there is a lack of documentation, you will need to be able to view the compiled code in the Telerik libraries. For controls like PageField, HtmlField, and FileField, this will come in handy.</li>
</ol>
<p>As an example, let&#8217;s assume you want to implement a Page Selector in Sitefinity 4. In Sitefinity 3.x, this was simple &#8211; you could simply use a WebEditor. Not so easy in Sitefinity 4. To create one, you will need to use a new Sitefinity 4 control called a PageField (Telerik.Sitefinity.Web.UI.Fields). You need to create a custom control, control designer, and a JavaScript file that handles all of the data transactions between your designer and your control data.</p>
<p>For the most part, creating the control and control designer is basic (start with <a href="http://www.sitefinity.com/40/help/developers-guide/how-to-how-to-create-a-control-creating-a-custom-control.html">this tutorial</a>). The difficult part is knowing what type of value (i.e. URL, Page Name, or Guid) gets returned from the PageField and how to use that in your control. So, to start, open up .NET Reflector and open up this DLL file (you can find it in any Sitefinity 4 Project or in the SDK): <strong>Telerik.Sitefinity.dll</strong></p>
<p>Once you open up this DLL, you will see two options (as seen below):</p>
<p><a href="http://www.avisra.com/wp-content/uploads/2011/05/Fields_with_Reflector.png"><img class="alignnone size-full wp-image-109" title="Fields_with_Reflector" src="http://www.avisra.com/wp-content/uploads/2011/05/Fields_with_Reflector.png" alt="" width="681" height="58" /></a></p>
<p>Expand the Resources folder to see a whole slew of compiled JavaScript, Images, CSS, and ASCX files. Fortunately, I have a specific one in mind: <strong>Telerik.Sitefinity.Web.UI.Fields.Scripts.PageField.js</strong>. Right click the file and save it to your computer so you can open it in Visual Studio (this will make it much easier to read).</p>
<p>This JavaScript gives you a lot of information related to the PageField control. For instance, if you look at the <em>saveChanges</em> event, you will notice that the value of the control is being set to the ID of the selected page. This returned value will be different for all of the new Telerik.Sitefinity.Web.UI.Fields controls. For instance, HtmlField control returns the HTML content from the WYSIWYG editor.</p>
<p>Want to get a quick look at all of the properties and methods available to us for the PageField control? Collapse the Resources folder from earlier and Expand &#8220;Telerik.Sitefinity.dll&#8221;. Inside you will find the &#8220;Telerik.Sitefinity.Web.UI.Fields&#8221; namespace. Expand that, and then expand PageField as well. Now you can literally see all of the child controls and control methods.</p>
<p>Well, that should be enough to get you started. Use .NET reflector as your code documentation until we get better developer documentation from the Sitefinity team themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/05/18/sitefinity-4-custom-controls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Custom Page Templates in Magento</title>
		<link>http://www.avisra.com/blog/2011/05/17/magento-custom-page-templates/</link>
		<comments>http://www.avisra.com/blog/2011/05/17/magento-custom-page-templates/#comments</comments>
		<pubDate>Tue, 17 May 2011 18:03:59 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=91</guid>
		<description><![CDATA[Need to be able to select custom page templates when editing a page, product, or category in Magento? Here is a quick and easy method of doing so without modifying the core. And actually &#8211; its all done with one simple file. Inside of app/etc is a magical modules folder that is automatically read by [...]]]></description>
			<content:encoded><![CDATA[<p>Need to be able to select custom page templates when editing a page, product, or category in Magento? Here is a quick and easy method of doing so without modifying the core. And actually &#8211; its all done with one simple file.</p>
<p>Inside of app/etc is a magical modules folder that is automatically read by Magento. Each xml file inside of the modules directory gets processed. This folder is typically used for installing plugins and modules. However, we can use it to easily add our page templates into the admin. Simply create a new xml file inside of the modules directory and drop in the code (below). <em>page/page-home.phtml</em> refers to the templates folder of your theme.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;config&gt;
    &lt;global&gt;
        &lt;cms&gt;
            &lt;layouts&gt;
                &lt;page_home&gt;
                    &lt;label&gt;Home&lt;/label&gt;
                    &lt;template&gt;page/page-home.phtml&lt;/template&gt;
                &lt;/page_home&gt;
            &lt;/layouts&gt;
        &lt;/cms&gt;
    &lt;/global&gt;
&lt;/config&gt;
</pre>
<p>And there you have it. Clear your cache using Magento&#8217;s Cache Management tool and you should be good to go. To add additional templates, just create another node inside of <em>layouts</em> using the same structure as <em>page_home</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/05/17/magento-custom-page-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitefinity &#8220;Authorization Failed&#8221; during installation</title>
		<link>http://www.avisra.com/blog/2011/05/15/sitefinity-authorization-error-during-installation/</link>
		<comments>http://www.avisra.com/blog/2011/05/15/sitefinity-authorization-error-during-installation/#comments</comments>
		<pubDate>Sun, 15 May 2011 20:22:09 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.avisra.com/?p=76</guid>
		<description><![CDATA[This is a pretty obnoxious error that usually happens when you are starting with a fresh install of SQL Server. When Selecting &#8220;SQL Server&#8221; as the database option during installation, you will be asked to enter the server, port, user, password, and database. Your first guess when receiving the &#8220;Authorization failed&#8221; error may be: I [...]]]></description>
			<content:encoded><![CDATA[<p>This is a pretty obnoxious error that usually happens when you are starting with a fresh install of SQL Server. When Selecting &#8220;SQL Server&#8221; as the database option during installation, you will be asked to enter the server, port, user, password, and database. Your first guess when receiving the &#8220;Authorization failed&#8221; error may be:</p>
<ol>
<li>I forgot to give the user access to the DB</li>
<li>I typed in the password or server incorrectly</li>
</ol>
<p>Well &#8211; if you&#8217;ve checked both of those options and you are still experiencing the issue, then chances are that you made the same silly mistake that I did.</p>
<p>When you install a fresh copy of SQL Server (I&#8217;m using Express 2008 R2), it is set to only allow Windows Authentication connections. You need to allow SQL connections&#8230; Follow the instructions below:</p>
<ol>
<li>Open SQL Management Studio</li>
<li>Right click on your server instance and click &#8220;Properties&#8221;</li>
<li>Click &#8220;Security&#8221; in the left menu</li>
<li>Under &#8220;Server Authentication&#8221;, click &#8220;SQL Server and Windows Authentication mode&#8221;</li>
<li>Try your install one more time</li>
</ol>
<p>Hope this saves you some time&#8230; <img src='http://www.avisra.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.avisra.com/blog/2011/05/15/sitefinity-authorization-error-during-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

