<?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>Acts Media</title>
	<atom:link href="http://blog.actsmedia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.actsmedia.com</link>
	<description>Acts Media specializes in Wed Design, Web Development, and Flash/Flex Authoring</description>
	<lastBuildDate>Thu, 27 Jan 2011 16:15:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>WPF and Multi Touch Screens</title>
		<link>http://blog.actsmedia.com/2011/01/wpf-and-multi-touch-screens/</link>
		<comments>http://blog.actsmedia.com/2011/01/wpf-and-multi-touch-screens/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 16:15:18 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=179</guid>
		<description><![CDATA[I have been working on a project recently that requires the use of a multi touch screen. I have elected to build this application as a Microsoft WPF project. I quickly ran into an issue of multi touch gestures not working in my application on the touch screen I was using. However, multi touch gestures [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a project recently that requires the use of a multi touch screen. I have elected to build this application as a Microsoft WPF project. I quickly ran into an issue of multi touch gestures not working in my application on the touch screen I was using. However, multi touch gestures were working in the Microsoft Surface applications I had installed. This touch screen happened to be a NextWindow screen. (FYI almost all windows touch screen devices us a <a title="Next Window" href="http://www.nextwindow.com/" target="_blank">NextWindow</a> driver and hardware ). After much head banging I finally found the sollution.</p>
<p><strong>Sollution</strong></p>
<p>There is a <a title="Multi Touch Vista" href="http://multitouchvista.codeplex.com/" target="_blank">driver</a> that I had installed on a different machine in order to test multi touch with the use of two mice. This is very handy if you do not have a multi touch monitor. I tried plugging my multi touch monitor into that machine and it worked. Seeing that the only difference was the muli touch driver for multiple mice I decided to try and install it on my other machine and it worked!</p>
<p>So if you are having difficulty getting muti touch to work on in your WPF application try downloading the <a href="http://multitouchvista.codeplex.com/" target="_blank">Multi Touch Vista Driver</a> and following the install directions. It worked for me!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2011/01/wpf-and-multi-touch-screens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why is Apple Successful?</title>
		<link>http://blog.actsmedia.com/2010/10/why-is-apple-successful/</link>
		<comments>http://blog.actsmedia.com/2010/10/why-is-apple-successful/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 15:00:12 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=174</guid>
		<description><![CDATA[There are lots of possible reasons for Apple&#8217;s success, but here is one anecdote. A few months ago I purchased a used Apple laptop. Upon arrival it appeared that either the the battery or the power supply was broken. In order to double check I checked around our office building here to see if anyone [...]]]></description>
			<content:encoded><![CDATA[<p>There are lots of possible reasons for Apple&#8217;s success, but here is one anecdote.</p>
<p>A few months ago I purchased a used Apple laptop. Upon arrival it appeared that either the the battery or the power supply was broken. In order to double check I checked around our office building here to see if anyone else had an Apple power supply I could test my laptop on. I ended up finding an individual that did. I told him what I needed to check. As he was getting the power supply out of his bag he said this, &#8220;well if you do need to get a new power supply at least it will be a good excuse to go the Apple store.&#8221;</p>
<p>Before that day I had never been to the Apple store. Since that conversation I have probably been to the Apple store at least once every month. With good excuses and sometimes not. I didn&#8217;t quite understand it at the time, but now I do. And if you have been to the Apple store you understand to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/10/why-is-apple-successful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streamline Your Business/Organization with Mobile Devices</title>
		<link>http://blog.actsmedia.com/2010/10/streamline-your-businessorganization-with-mobile-devices/</link>
		<comments>http://blog.actsmedia.com/2010/10/streamline-your-businessorganization-with-mobile-devices/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 14:00:23 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=172</guid>
		<description><![CDATA[One of the things that I get the most joy from in the work that I do is taking complex tasks and streamlining them. We have helped summer camps simplify their summer staff application process to a project we are working on now that will allow an organization to save over 1,000 volunteer hours of [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that I get the most joy from in the work that I do is taking complex tasks and streamlining them. We have helped summer camps simplify their summer staff application process to a project we are working on now that will allow an organization to save over 1,000 volunteer hours of data entry a month.</p>
<p>There are many things that can be helpful in streamlining a business, but one of the most effective items is the proper utilization of mobile devices. A good example of this streamlining using mobile devices is the Apple store. For some the Apple store provokes feeling of euphoria and for others they see Apple products as simply a fad. I&#8217;m not going to try to convince of one or the other, but one thing each of us can probably agree on is they are making good use of their mobile devices. So what is it they do at the store you may ask.</p>
<p>Well, if you have purchased anything at the Apple store you know that there are no cash registers at the store. Each Apple Store employee can check you out anywhere in the store on their iPod Touch. They can scan the item you are purchasing with a bard code scanner on their device. Then they swipe your card a magnetic card reader hooked up to their device. After that you sign your name using your finger on the iPod Touch screen. Then your receipt is either printed out at the store or emailed to you, your choice.</p>
<p>As a customer this means that usually you are never actually having to wait in line. Ok, I know that yes, Apple stores do have lines at them when they have product launches and people are waiting to get the latest gadget. But, that is really the only time that that happens. Any other time you go to the Apple store you never have to wait in line. This doesn&#8217;t mean that you never have to wait, but it does mean that you can do a lot of other things while you wait, such as browser more apple products.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/10/streamline-your-businessorganization-with-mobile-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad &#8211; The Casual Alternative to a Laptop</title>
		<link>http://blog.actsmedia.com/2010/10/ipad-the-casual-alternative-to-a-laptop/</link>
		<comments>http://blog.actsmedia.com/2010/10/ipad-the-casual-alternative-to-a-laptop/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 14:56:14 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=170</guid>
		<description><![CDATA[A recent Wall Street Journal article referred to the iPad as becoming the &#8220;casual alternative to a laptop.&#8221; After having owned an iPad for just over two months I can attest to that description. Recently I went for a weekend away for a friends Bachelor Party in the Wisconsin Dells &#8212; apparently the Dells are [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://online.wsj.com/article/SB10001424052748704518104575546570833654304.html?mod=WSJ_Tech_LEFTTopNews" target="_blank">recent Wall Street Journal article</a> referred to the iPad as becoming the &#8220;casual alternative to a laptop.&#8221; After having owned an iPad for just over two months I can attest to that description.</p>
<p>Recently I went for a weekend away for a friends Bachelor Party in the Wisconsin Dells &#8212; apparently the Dells are a frequent bachelor party destination, I did not know that. At this point going away without staying connected to my business is really not an option. If a client has a technology problem at anytime it is our job to address that concern and thus I needed the ability to have more than just email availability. Step in iPad. Everything that I could possibly need to do while away I am able to do on the iPad. Access one of our servers, check. Remote Desktop Access to my office computer, check. FTP access to our servers, check. Watch Major League Baseball, check.</p>
<p>It was also a great weekend to connect with friends I had not seen in a while. But just a little note to anyone planning a trip the Wisconsin Dells. The outdoor water parks close after Labor Day. My friend&#8217;s older brother that planned our trip happened to overlook this fact. So while the Dells do have plenty to offer during their off-season it is helpful to know before arriving somewhere what is actually open.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/10/ipad-the-casual-alternative-to-a-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Browsing &amp; Mobile Devices</title>
		<link>http://blog.actsmedia.com/2010/10/mobile-browsing-and-mobile-devices/</link>
		<comments>http://blog.actsmedia.com/2010/10/mobile-browsing-and-mobile-devices/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 15:24:21 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=168</guid>
		<description><![CDATA[Raise your hand if you have a smartphone. Now raise your hand if you browse the internet on that smartphone. As most people are aware mobile browsing and smartphone use in general is increasing very rapidly. Today&#8217;s announcement that the iPhone will be coming to Verizon Wireless is also likely to only increase the trend [...]]]></description>
			<content:encoded><![CDATA[<p>Raise your hand if you have a smartphone. Now raise your hand if you browse the internet on that smartphone. As most people are aware mobile browsing and smartphone use in general is increasing very rapidly. Today&#8217;s announcement that the iPhone will be coming to Verizon Wireless is also likely to only increase the trend of smartphones.</p>
<p>As the use of smartphone use increases it will become more and more important to make sure that the content of your website is easily viewable on a mobile device. If you have done much browsing on a mobile device you know that there are some websites that look great and others that leave much to be desired. The day that visits to one&#8217;s website are dominated by mobile devices is probably closer than we realize.</p>
<p><a href="http://www.netmarketshare.com/operating-system-market-share.aspx?qprid=8" target="_blank">Currently the top 3 operating systems</a> web users are Windows, Mac, &amp; iOS (Apple&#8217;s mobile operating system). iOS has actually surpassed Linux. While the 1.18% market share that iOS enjoys may seem small it is somewhat staggering. It means that a single mobile OS not just ALL mobile OS but a single mobile OS has surpassed a desktop OS i.e. Linux.</p>
<p>What does it mean for my organization?</p>
<p>This means that the time for your organization to start supporting a browsing experience for mobile devices is now. If your site receives 5000 visits a month and even just 1% of your visitors are on a mobile device that&#8217;s 50 people a month who might come to your site and see a site that looks completely disorganized and broken. If you had a store front and 50 people a month saw your store in shambles every month you would do something to correct the situation. Will you do it for your website users?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/10/mobile-browsing-and-mobile-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading the Bible on iPhone/iPad/iPod Touch</title>
		<link>http://blog.actsmedia.com/2010/10/reading-the-bible-on-iphoneipadipod-touch/</link>
		<comments>http://blog.actsmedia.com/2010/10/reading-the-bible-on-iphoneipadipod-touch/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 13:56:14 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bible]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile apps]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=165</guid>
		<description><![CDATA[Over the last couple months I have experimented with a few different Bible Reading applications for IOS devices. The one I found myself preferring the most was &#8220;Logos&#8221;. It is an app for both iPad and iPhone made by Logos Bible Software. Here are a few reasons why I have preferred Logos&#8230; It remembers where [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last couple months I have experimented with a few different Bible Reading applications for IOS devices. The one I found myself preferring the most was &#8220;Logos&#8221;. It is an app for both iPad and iPhone made by <a href="http://www.logos.com/" target="_blank">Logos Bible Software</a>.</p>
<p>Here are a few reasons why I have preferred Logos&#8230;</p>
<ol>
<li>It remembers where I left off reading no matter which device I am reading on. iPad, iPhone, computer.</li>
<li>I can read multiple translations of the Bible in one application.</li>
<li>Ability to look up the Greek word for each corresponding English word.</li>
<li>Offline mode that will download the entire text of any resource to the device and make it available without internet connection.</li>
<li>Optimized reading for both portrait and landscape orientations.</li>
</ol>
<p>Here are a few areas of improvement&#8230;</p>
<ol>
<li>The ability to add notes and attache them to specific Bible verses.</li>
<li>Currently it is not possible to read the NIV translation of the Bible on mobile devices.</li>
<li>Would be nice to have touch lock that can be turned on so that you can lock a page on your screen and not have to worry about touching it and turning the page.</li>
</ol>
<p>All things considered it really is a great app and I&#8217;m excited to see how it gets improved upon in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/10/reading-the-bible-on-iphoneipadipod-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>US Bank Website Down</title>
		<link>http://blog.actsmedia.com/2010/08/us-bank-website-down/</link>
		<comments>http://blog.actsmedia.com/2010/08/us-bank-website-down/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 15:36:24 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=158</guid>
		<description><![CDATA[US Bank appears to be having some serious problems with their website. Internet baking went down last night, and now when I try to access the website I get this error message&#8230; Let&#8217;s hope that everyone&#8217;s financial information is safe. As I write this the only place reporting on this problem is here&#8230; http://www.eworldpost.com/us-bank-internet-banking-failure-disturbed-lot-of-people-8547.html I [...]]]></description>
			<content:encoded><![CDATA[<p>US Bank appears to be having some serious problems with their website.</p>
<p>Internet baking went down last night, and now when I try to access the website I get this error message&#8230;</p>
<p><a href="http://blog.actsmedia.com/wp-content/uploads/2010/08/USbank.png"><img class="alignnone size-full wp-image-159" title="USbank" src="http://blog.actsmedia.com/wp-content/uploads/2010/08/USbank.png" alt="" width="267" height="214" /></a></p>
<p>Let&#8217;s hope that everyone&#8217;s financial information is safe.</p>
<p>As I write this the only place reporting on this problem is here&#8230;</p>
<p>http://www.eworldpost.com/us-bank-internet-banking-failure-disturbed-lot-of-people-8547.html</p>
<p>I will update when I learn more.</p>
<p>UPDATE: Here is US Bank&#8217;s explanation for the Internet Banking problems yesterday and today.</p>
<p>http://www.usbank.com/cgi_w/cfm/about/important_message.cfm</p>
<p>This still does not explain how the error above occurred.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2010/08/us-bank-website-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla Component Ordering, Positioning Rows</title>
		<link>http://blog.actsmedia.com/2009/11/joomla-component-ordering-positioning-rows/</link>
		<comments>http://blog.actsmedia.com/2009/11/joomla-component-ordering-positioning-rows/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 03:44:44 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=149</guid>
		<description><![CDATA[When creating a custom component in Joomla admin area it is somewhat frequent that one wants the ability to order items based on an order value associated with each row. Just like how articles have an order in the Joomla &#8220;Article Manager&#8221;. The following are the necessary code snippets that allow you to make this [...]]]></description>
			<content:encoded><![CDATA[<p>When creating a custom component in Joomla admin area it is somewhat frequent that one wants the ability to order items based on an order value associated with each row. Just like how articles have an order in the Joomla &#8220;Article Manager&#8221;.</p>
<p>The following are the necessary code snippets that allow you to make this possible.</p>
<p>I hope to add a little more explanation to these soon.</p>
<p><em>controller.php</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> saveorder<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$option</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Initialize variables</span>
	<span style="color: #000088;">$db</span>	<span style="color: #339933;">=&amp;</span> JFactory<span style="color: #339933;">::</span><span style="color: #004000;">getDBO</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$cid</span>	<span style="color: #339933;">=</span> JRequest<span style="color: #339933;">::</span><span style="color: #004000;">getVar</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'cid'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'array'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$total</span>	<span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$cid</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$order</span><span style="color: #339933;">=</span> JRequest<span style="color: #339933;">::</span><span style="color: #004000;">getVar</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'order'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'array'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	JArrayHelper<span style="color: #339933;">::</span><span style="color: #004000;">toInteger</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$order</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$row</span> <span style="color: #339933;">=&amp;</span> JTable<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'article'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Table'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// update ordering values</span>
	<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$total</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$cid</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ordering</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$order</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ordering</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$order</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">store</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				JError<span style="color: #339933;">::</span><span style="color: #004000;">raiseError</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">500</span><span style="color: #339933;">,</span> 
                                     <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getErrorMsg</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">reorder</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$msg</span> 	<span style="color: #339933;">=</span> <span style="color: #0000ff;">'New ordering saved'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setRedirect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index.php?option='</span><span style="color: #339933;">.</span><span style="color: #000088;">$option</span><span style="color: #339933;">,</span> <span style="color: #000088;">$msg</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><em>views/all/tmp/default.php</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;th width=&quot;8%&quot;&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> JHTML<span style="color: #339933;">::</span>_<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'grid.sort'</span><span style="color: #339933;">,</span>   <span style="color: #0000ff;">'Position'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ordering</span><span style="color: #339933;">,</span> <span style="color: #339933;">@</span><span style="color: #000088;">$lists</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'order_Dir'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #339933;">@</span><span style="color: #000088;">$lists</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'order'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> JHTML<span style="color: #339933;">::</span>_<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'grid.order'</span><span style="color: #339933;">,</span>  <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rows</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/th&gt;</pre></div></div>

<p><em>views/all/tmp/default.php</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;td class=&quot;order&quot;&gt;
        &lt;span&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pagination</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">orderUpIcon</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'orderup'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Move Up'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/span&gt;
	&lt;span&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pagination</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">orderDownIcon</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">,</span> <span style="color: #000088;">$n</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$n</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'orderdown'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Move Down'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/span&gt;
	&lt;input type=&quot;text&quot; name=&quot;order[]&quot; size=&quot;5&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ordering</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;text_area&quot; style=&quot;text-align: center&quot; /&gt;
&lt;/td&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2009/11/joomla-component-ordering-positioning-rows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP ForEach Last Item, Last Loop, Last Iteration</title>
		<link>http://blog.actsmedia.com/2009/09/php-foreach-last-item-last-loop/</link>
		<comments>http://blog.actsmedia.com/2009/09/php-foreach-last-item-last-loop/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 15:34:04 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=140</guid>
		<description><![CDATA[Often times I will want to do something different in a foreach loop on the last iteration. The code below is a good standard way of handling this&#8230; $last_item = end&#40;$array&#41;; $last_item = each&#40;$array&#41;; reset&#40;$array&#41;; foreach&#40;$array as $key =&#62; $value&#41;&#123; // code executed during standard iteration if&#40;$value == $last_item&#91;'value'&#93; &#38;&#38; $key == $last_item&#91;'key'&#93;&#41;&#123; // code [...]]]></description>
			<content:encoded><![CDATA[<p>Often times I will want to do something different in a foreach loop on the last iteration. The code below is a good standard way of handling this&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$last_item</span> <span style="color: #339933;">=</span> <span style="color: #990000;">end</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$array</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$last_item</span> <span style="color: #339933;">=</span> <span style="color: #990000;">each</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$array</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$array</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$array</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// code executed during standard iteration</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$last_item</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'value'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$last_item</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// code executed on the </span>
                <span style="color: #666666; font-style: italic;">// last iteration of the foreach loop</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Note that in the if clause I check to make sure that both the key AND the value of the last item iterated match. If you were to check simply the value you could end up getting a match before the last iteration.</p>
<p>The above code should help you when trying to do something different on the last element, last value, last iteration, last loop, or last item of a PHP foreach loop.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2009/09/php-foreach-last-item-last-loop/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Joomla: Adding Meta Description &amp; Keywords</title>
		<link>http://blog.actsmedia.com/2009/09/joomla-adding-meta-description-keywords/</link>
		<comments>http://blog.actsmedia.com/2009/09/joomla-adding-meta-description-keywords/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:33:24 +0000</pubDate>
		<dc:creator>Bryn Knatterud</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://blog.actsmedia.com/?p=121</guid>
		<description><![CDATA[When using Joomla to run your website it is important to add Meta information to your articles. This information will be used by Search Engine Robots that index your site. The following is a quick guide to adding this information. Log into the Joomla back-end at http://&#60;yoursite&#62;.&#60;com/org/net&#62;/administrator Once logged in navigate using the upper navigation [...]]]></description>
			<content:encoded><![CDATA[<p>When using Joomla to run your website it is important to add Meta information to your articles. This information will be used by Search Engine Robots that index your site. The following is a quick guide to adding this information.</p>
<ol>
<li>Log into the Joomla back-end at http://&lt;yoursite&gt;.&lt;com/org/net&gt;/administrator</li>
<li>Once logged in navigate using the upper navigation bar to Content &gt; Article Manager</li>
<li>Click on any article in the manager to open the article</li>
<li>On the right column click on the bar that says &#8220;Meta Information&#8221;</li>
<li>The area will expand to show a few input areas. The ones we are concerned with are labeled &#8220;Description&#8221; and &#8220;Keywords&#8221; respectively.</li>
<li>In the &#8220;Description&#8221; input type a one sentence summary of the content in this article. You could to two sentences but one is really best.</li>
<li>Now in the &#8220;Keywords&#8221; box type in 2-3 keywords for the article. The words should be separated using semi-colons e.g. acts media; web design; web development; Also, notice that you can type key phrases not just words. You should try to keep the keywords at 3 or below.</li>
<li>When you are done inputting this information click on &#8220;Save&#8221; or &#8220;Apply&#8221; in the upper-right of the screen.</li>
<li>Great! Search Engines will now be able to better index this page of your site.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.actsmedia.com/2009/09/joomla-adding-meta-description-keywords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

