<?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>Virginia Web Designers: Joomla, Drupal, Open-Source, CSS, and PHP &#187; Sundry</title>
	<atom:link href="http://www.virginia-web-designers.com/category/sundry/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.virginia-web-designers.com</link>
	<description>Northern Virginia / Maryland / Washington DC web designers</description>
	<lastBuildDate>Thu, 02 Feb 2012 12:29:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Forcing Moodle admins to use English but regular users use another language</title>
		<link>http://www.virginia-web-designers.com/2011/12/10/forcing-moodle-admins-to-use-english-but-regular-users-use-another-language/</link>
		<comments>http://www.virginia-web-designers.com/2011/12/10/forcing-moodle-admins-to-use-english-but-regular-users-use-another-language/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 14:07:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[e-Learning]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development / Programming]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=537</guid>
		<description><![CDATA[Add this to your theme&#8217;s PHP pages wherever you want this functionality. Add it above the &#60;html&#62; tag &#8230; in our case we force regular users to see the site in Farsi, but admin users see it in English. We also hid the language menu (comment out &#8220;echo $OUTPUT-&#62;lang_menu();&#8221;). Here&#8217;s the code: &#60;?php function curPageURL() [...]]]></description>
			<content:encoded><![CDATA[<p>Add this to your theme&#8217;s PHP pages wherever you want this functionality. Add it above the &lt;html&gt; tag &#8230; in our case we force regular users to see the site in Farsi, but admin users see it in English. We also hid the language menu (comment out &#8220;echo $OUTPUT-&gt;lang_menu();&#8221;).</p>
<p>Here&#8217;s the code:</p>
<p>&lt;?php</p>
<pre>function curPageURL() {
 $pageURL = 'http';
 //if ($_SERVER["HTTPS"] == "on") {
 if ($_SERVER["SERVER_PORT"] != "80") {
	 $pageURL .= "s";
 }//other way to detect SSL??
 $pageURL .= "://";
	 if ($_SERVER["SERVER_PORT"] != "80") {
	  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
	 } else {
	  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
	 }
 return $pageURL;
}
$url = curPageURL();
$admins = get_admins();
    $isadmin = false;
    foreach ($admins as $admin) {
        if ($USER-&gt;id == $admin-&gt;id) {
            $isadmin = true;
            break;
        }
    }
    if ($isadmin) {
		if(
		!isset($_GET['lang']) ||
		(isset($_GET['lang']) &amp;&amp; ($_GET['lang'] != 'en'))
		){
			if(strstr(curPageURL(),'lang=fa')){//if not home page
				$url = str_replace('lang=fa','lang=en',$url);
        		header('Location: '.$url);
			}
			else{//URL must not have an = in it, therefore it has GET vars and has a ? as well. It is possible to have a ? without ='s though, so we check for = and not ?.
				///header('Location: '.curPageURL().'?lang=en');
			}
		}
    } else {
        if(
		!isset($_GET['lang']) ||
		(isset($_GET['lang']) &amp;&amp; ($_GET['lang'] != 'fa'))
		){
			if(strstr(curPageURL(),'=')){//if not home page
				$url = str_replace('lang=en','lang=fa',$url);
        		//header('Location: '.$url);
			}
			else{//URL must have an = in it, therefore it has GET vars and has a ? as well. It is possible to have a ? without ='s though, so we check for = and not ?.
				//header('Location: '.curPageURL().'?lang=fa');
			}
		}</pre>
<p>?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2011/12/10/forcing-moodle-admins-to-use-english-but-regular-users-use-another-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Front Page Slideshow Link Problem</title>
		<link>http://www.virginia-web-designers.com/2011/09/12/front-page-slideshow-link-problem/</link>
		<comments>http://www.virginia-web-designers.com/2011/09/12/front-page-slideshow-link-problem/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 17:44:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development / Programming]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=512</guid>
		<description><![CDATA[FPSS is a great slideshow addon for Joomla, Drupal, and standalone slideshows. They have a new version for Joomla 1.7, with a much improved interface. When it comes to linking slides, it seems you can choose to display links for all slides, or not. But what if you want links on some slides but not [...]]]></description>
			<content:encoded><![CDATA[<p>FPSS is a great slideshow addon for Joomla, Drupal, and standalone slideshows.<br />
They have a new version for Joomla 1.7, with a much improved interface. When it comes to linking slides, it seems you can choose to display links for all slides, or not. But what if you want links on some slides but not others? In such a case, if the user did not supply a URL, the link will say &#8220;http://www.yoursite.com/URL&#8221;. You could enter &#8220;#&#8221; or &#8220;javascript:;&#8221; as the URL, but one cannot expect non web developers to remember to do this. The user should not be required to take additional action just to NOT link a slide.</p>
<p>We wrote a quick fix for this. Open up the default.php template file for the FPSS layout you&#8217;re using. We used JJ-Oobs so we opened up /modules/mod_fpss/tmpl/JJ-Obs/default.php. Right after &#8220;foreach($slides as $slide):&#8221; insert the following</p>
<pre>
if($slide-&gt;link == 'URL'){
$slide-&gt;link = 'javascript:;';
}</pre>
<p>We used a &#8220;javascript:;&#8221; URL rather than &#8220;#&#8221; because this way if you slideshow is far down the page, clicking it will not take you back to the top of the page &#8230; using &#8220;#&#8221; can conflict with named anchors but &#8220;javascript:;&#8221; does not.</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2011/09/12/front-page-slideshow-link-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buh-bye, IE6</title>
		<link>http://www.virginia-web-designers.com/2011/04/02/buh-bye-ie6/</link>
		<comments>http://www.virginia-web-designers.com/2011/04/02/buh-bye-ie6/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 01:48:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=419</guid>
		<description><![CDATA[Microsoft now officially seeks to persuade people to stop using Internet Explorer 6: http://www.theie6countdown.com/]]></description>
			<content:encoded><![CDATA[<p>Microsoft now officially seeks to persuade people to stop using Internet Explorer 6:</p>
<p><a href="http://www.theie6countdown.com/">http://www.theie6countdown.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2011/04/02/buh-bye-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail Motion looks great!</title>
		<link>http://www.virginia-web-designers.com/2011/04/01/gmail-motion-looks-great/</link>
		<comments>http://www.virginia-web-designers.com/2011/04/01/gmail-motion-looks-great/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 03:19:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=417</guid>
		<description><![CDATA[Check out Gmail Motion &#8211; allowing you to manage Gmail with body language!]]></description>
			<content:encoded><![CDATA[<p>Check out <a href="http://www.google.com/mail/help/motion.html#utm_source=en-et-na-us&amp;utm_medium=new-features-link&amp;utm_campaign=en" target="_blank">Gmail Motion</a> &#8211; allowing you to manage Gmail with body language!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2011/04/01/gmail-motion-looks-great/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update your Facebook status with Twitter</title>
		<link>http://www.virginia-web-designers.com/2010/12/29/update-your-facebook-status-with-twitter/</link>
		<comments>http://www.virginia-web-designers.com/2010/12/29/update-your-facebook-status-with-twitter/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 02:07:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter app]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=303</guid>
		<description><![CDATA[A very handy feature of Facebook and Twitter is the ability to link the two, so that when you post a tweet, it will automatically get posted to Facebook too. Here&#8217;s how: Sign up for Twitter and Facebooks accounts (in case you&#8217;ve been living under a rock the past decade). Log in to your Facebook [...]]]></description>
			<content:encoded><![CDATA[<p>A very handy feature of Facebook and Twitter is the ability to link the two, so that when you post a tweet, it will automatically get posted to Facebook too.</p>
<p>Here&#8217;s how:</p>
<ol>
<li>Sign up for Twitter and Facebooks accounts <span style="font-size: xx-small;">(in case you&#8217;ve been living under a rock the past decade)</span>.</li>
<li>Log in to your Facebook account and then visit <a href="http://apps.facebook.com/twitter/">http://apps.facebook.com/twitter/</a>. It will walk you through the setup.</li>
</ol>
<p>If you use or are considering using Joomla, check out <a href="http://extensions.joomla.org/extensions/social-web/social-auto-publish/9347" target="_blank">Autotweet NG</a>, which can send a tweet every time a Joomla article or K2 item is added. We have used this with K2, and the only complaint / bug worth mentioning is that copying a K2 item does not seem to create a tweet .. you have to create a NEW item and save it. Autotweet NG also offers a commercial version which has some pretty advanced Facebook integration (including posting images from K2), but if you just want text, the Facebook Twitter app will probably be just fine.</p>
<p>WordPress also offers a number of plugins that can send a tweet upon for each new post, or that can display your Twitter status as a widget. We use <a href="http://crowdfavorite.com/wordpress/plugins/twitter-tools/" target="_blank">Twitter Tools</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/12/29/update-your-facebook-status-with-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla / K2; disabling modal image popups on some items</title>
		<link>http://www.virginia-web-designers.com/2010/12/28/joomla-k2-disabling-modal-image-popups-on-some-items/</link>
		<comments>http://www.virginia-web-designers.com/2010/12/28/joomla-k2-disabling-modal-image-popups-on-some-items/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 23:35:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=280</guid>
		<description><![CDATA[We are in the middle of designing a new version of plethoradesign.com using Joomla and K2. Most images in our web design portfolio have a large version that can be clicked and enlarged, but in some cases this was not desirable; for example for logos. There was no way to turn off this feature (not [...]]]></description>
			<content:encoded><![CDATA[<p>We are in the middle of designing a new version of plethoradesign.com using Joomla and K2. Most images in our web design portfolio have a large version that can be clicked and enlarged, but in some cases this was not desirable; for example for logos. There was no way to turn off this feature (not easily anyway), so it was time to add this option to K2.</p>
<p>Thanks to a <a href="http://community.getk2.org/forum/topics/item-image-linked-or-not-your">post</a> over at the K2 Forums, we customized our K2 installation so it is now possible to turn off the popup modal link on an item-by-item basis.</p>
<p>Download: <a href="http://www.superiormotive.com/wp-content/uploads/2010/12/k2-item-image-link-option.zip" target="_blank">k2-item-image-link-option.zip</a></p>
<p>Changed files;<br />
administrator/com_k2/models/item.xml<br />
components/com_k2/templates/default/item.php</p>
<p>The code in item.php is set up so items will show popup links on images by default, but if the item options have been set to disable the popup, it will not be linked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/12/28/joomla-k2-disabling-modal-image-popups-on-some-items/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>E-commerce and &#8220;just-in-time&#8221; shipping</title>
		<link>http://www.virginia-web-designers.com/2010/12/17/e-commerce-and-just-in-time-shipping/</link>
		<comments>http://www.virginia-web-designers.com/2010/12/17/e-commerce-and-just-in-time-shipping/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 13:56:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[e-commerce]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=274</guid>
		<description><![CDATA[I recently ordered something from Barnes and Noble&#8217;s site, only to be notified the item was not available and I would have to wait. So I did. I was then notified I would need to wait another 30 days (I was given the option to cancel). I opted to wait, because it&#8217;s a somewhat rare [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ordered something from Barnes and Noble&#8217;s site, only to be notified the item was not available and I would have to wait. So I did. I was then notified I would need to wait another 30 days (I was given the option to cancel). I opted to wait, because it&#8217;s a somewhat rare item and BN carries it a significant discount. </p>
<p>I&#8217;m glad they provided the option to cancel, but what is the point of ordering online when I may have to wait up to a month and who knows, longer? </p>
<p>Clearly BN either does not track how many items they have in stock, or they do not care, and will try to fulfill the order once they have collected payment. This follows the philosophy of &#8220;money now is always better than money later&#8221; &#8211; which I would tend to agree with, but it&#8217;s not good when this alienates customers. A 30-day wait during the holiday season is unacceptable! In my case it was for a birthday, which has already passed. </p>
<p>JIT (Just-in-time) is great and has worked well for Toyota, but the customer should not be forgotten in all of this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/12/17/e-commerce-and-just-in-time-shipping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla 1.6 RC1 Now Available</title>
		<link>http://www.virginia-web-designers.com/2010/12/15/joomla-1-6-rc1-now-available/</link>
		<comments>http://www.virginia-web-designers.com/2010/12/15/joomla-1-6-rc1-now-available/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 19:16:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=263</guid>
		<description><![CDATA[Joomla has finally announced the first release candidate of Joomla 1.6. The final release is due January 11, 2011, with no current plans for a second release candidate. So, the end (of 1.5) is near!]]></description>
			<content:encoded><![CDATA[<p>Joomla has finally announced the first release candidate of Joomla 1.6. The final release is due January 11, 2011, with no current plans for a second release candidate. So, the end (of 1.5) is near!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/12/15/joomla-1-6-rc1-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop Skype plugin from messing up your phone numbers!</title>
		<link>http://www.virginia-web-designers.com/2010/11/12/stop-skype-plugin-from-messing-up-your-phone-numbers/</link>
		<comments>http://www.virginia-web-designers.com/2010/11/12/stop-skype-plugin-from-messing-up-your-phone-numbers/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 21:11:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=256</guid>
		<description><![CDATA[Ever see a phone number get all messed up by the Skype plugin for Firefox and Internet Explorer? It&#8217;s annoying. You&#8217;re thinking &#8220;I&#8217;ll just add this phone number, save the page / module / block / whatever&#8221; and be done with it, but you&#8217;d be wrong. Many Skype users unwittingly see many phone numbers displayed [...]]]></description>
			<content:encoded><![CDATA[<p>Ever see a phone number get all messed up by the Skype plugin for Firefox and Internet Explorer? It&#8217;s annoying. You&#8217;re thinking &#8220;I&#8217;ll just add this phone number, save the page / module / block / whatever&#8221; and be done with it, but you&#8217;d be wrong. Many Skype users unwittingly see many phone numbers displayed as clickable Skype links that let them place a call directly to that number.</p>
<p>You can stop this from happening in a couple ways:</p>
<ul>
<li>You could make the phone number a graphic</li>
<li>Insert some hidden code into the phone number that prevents the Skype plugin from detecting it as a phone number.</li>
</ul>
<h3>Example</h3>
<p>Before:</p>
<p><code>Phone: (555) 123-4567</code></p>
<p>After:</p>
<p><code>Phone: (555)&amp;lt;span style="display: none;"&amp;gt;.&amp;lt;/span&amp;gt; 123-4567</code></p>
<p>The hidden period is enough to stop the Skype plugin from workings its magic / evil. This technique was tested using Joomla but will work anywhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/11/12/stop-skype-plugin-from-messing-up-your-phone-numbers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EventList Twitter now supports Bit.ly</title>
		<link>http://www.virginia-web-designers.com/2010/10/12/eventlist-twitter-now-supports-bit-ly/</link>
		<comments>http://www.virginia-web-designers.com/2010/10/12/eventlist-twitter-now-supports-bit-ly/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 04:36:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=253</guid>
		<description><![CDATA[Twitter is taking its sweet time rolling out their t.co URL shortening, so I added bit.ly support to our Joomla EventList Twitter status plugin (more details).]]></description>
			<content:encoded><![CDATA[<p>Twitter is taking its sweet time rolling out their t.co URL shortening, so I added bit.ly support to our Joomla EventList Twitter status plugin (<a href="http://www.plethoradesign.com/downloads/#eventlisttwitter" target="_blank">more details</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/10/12/eventlist-twitter-now-supports-bit-ly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phoca Download CB Plugin</title>
		<link>http://www.virginia-web-designers.com/2010/10/08/phoca-download-cb-plugin/</link>
		<comments>http://www.virginia-web-designers.com/2010/10/08/phoca-download-cb-plugin/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 13:07:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=251</guid>
		<description><![CDATA[A Community Builder plugin for Joomla 1.5 that displays a user&#8217;s files. If the user is viewing his/her own profile, the user can also delete the file from the frontend, which is not yet supported officially by Phoca Download itself!  Download it here]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.joomlapolis.org" target="_blank">Community Builder</a> plugin for Joomla 1.5 that displays a user&#8217;s files. If the user is viewing his/her own profile, the user can also delete the file from the frontend, which is not yet supported officially by Phoca Download itself!  <a href="http://www.plethoradesign.com/downloads/#cbphoca" target="_blank">Download it here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/10/08/phoca-download-cb-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy tab highlighting with included PHP menu</title>
		<link>http://www.virginia-web-designers.com/2010/07/11/easy-tab-highlighting-with-included-php-menu/</link>
		<comments>http://www.virginia-web-designers.com/2010/07/11/easy-tab-highlighting-with-included-php-menu/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 00:48:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=230</guid>
		<description><![CDATA[I recently reworked a simple PHP site that uses standalone PHP files containing only HTML. We needed to redesign the navigation bar, which was simple a series of clickable images. These files were not generated by a Dreamweaver template or anything like that, meaning that we would have had to manually change each file every [...]]]></description>
			<content:encoded><![CDATA[<p>I recently reworked a simple PHP site that uses standalone PHP files containing only HTML. We needed to redesign the navigation bar, which was simple a series of clickable images. These files were not generated by a Dreamweaver template or anything like that, meaning that we would have had to manually change each file every time there was a change to the menu. That seemed very annoying to me, so I created a file called navbar.php and included it into all the pages, using the standard PHP include;</p>
<p><span style="color: #0000ff;">&lt;?php include(&#8216;navbar.php&#8217;);?&gt;</span></p>
<p>The tabs are highlighted for the current page, so if you are on &#8220;About Us&#8221;, the About Us tab should be highlighted. To accomplish this, I wrote a simple function;</p>
<div id="_mcePaste"><span style="color: #0000ff;">&lt;?php</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">function isactive($filename){</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">$urlfilename = basename($_SERVER['SCRIPT_FILENAME']);</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">if($filename == $urlfilename){</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">echo &#8220;-hover&#8221;;</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">}</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">}</span></div>
<div id="_mcePaste"><span style="color: #0000ff;">?&gt;</span></div>
<p>A sample navigation tab would then look like this;</p>
<p><span style="color: #0000ff;">&lt;a href=&#8221;consulting.php&#8221;&gt;&lt;img src=&#8221;images/navbar-consulting&lt;?php isactive(&#8216;consulting.php&#8217;);?&gt;.gif&#8221; name=&#8221;consulting&#8221; width=&#8221;104&#8243; height=&#8221;35&#8243; border=&#8221;0&#8243; id=&#8221;consulting&#8221; onmouseover=&#8221;MM_swapImage(&#8216;consulting&#8217;,&#8221;,&#8217;images/navbar-consulting-hover.gif&#8217;,1)&#8221; onmouseout=&#8221;MM_swapImgRestore()&#8221; /&gt;&lt;/a&gt;</span></p>
<p>That simply uses the function to tell it which file name to match to the current page&#8217;s file name:</p>
<p><span style="color: #0000ff;">isactive(&#8216;consulting.php&#8217;);</span></p>
<p>The end result is that on consulting.php, the HTML output for that tab would look like this:</p>
<p><span style="color: #0000ff;">&lt;a href=&#8221;consulting.php&#8221;&gt;&lt;img src=&#8221;images/navbar-consulting-hover.gif&#8221; name=&#8221;consulting&#8221; width=&#8221;104&#8243; height=&#8221;35&#8243; border=&#8221;0&#8243; id=&#8221;consulting&#8221; onmouseover=&#8221;MM_swapImage(&#8216;consulting&#8217;,&#8221;,&#8217;images/navbar-consulting-hover.gif&#8217;,1)&#8221; onmouseout=&#8221;MM_swapImgRestore()&#8221; /&gt;&lt;/a&gt;</span></p>
<p><span style="color: #0000ff;"><span style="color: #000000;">.. and that is done automatically using a single included file.</span></span></p>
<p><span style="color: #0000ff;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/07/11/easy-tab-highlighting-with-included-php-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>please vote for EXIHT in Afric&#8230;</title>
		<link>http://www.virginia-web-designers.com/2010/07/06/please-vote-for-exiht-in-afric/</link>
		<comments>http://www.virginia-web-designers.com/2010/07/06/please-vote-for-exiht-in-afric/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 14:56:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/07/06/please-vote-for-exiht-in-afric/</guid>
		<description><![CDATA[please vote for EXIHT in Africa.. an anti human trafficking nonprofit. Your vote will help with their funding: http://bit.ly/d3p5Ip]]></description>
			<content:encoded><![CDATA[<p>please vote for EXIHT in Africa.. an anti human trafficking nonprofit. Your vote will help with their funding: <a href="http://bit.ly/d3p5Ip" rel="nofollow">http://bit.ly/d3p5Ip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/07/06/please-vote-for-exiht-in-afric/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using MySQL to insert missing text depending on field length</title>
		<link>http://www.virginia-web-designers.com/2010/06/28/using-mysql-to-insert-missing-text-depending-on-field-length/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/28/using-mysql-to-insert-missing-text-depending-on-field-length/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 21:08:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=220</guid>
		<description><![CDATA[Suppose you have a MySQL database table containing US 5-digit zip codes, except some of them are just three or four digits long because they had leading zeros, and those sometimes get dropped. Here&#8217;s how to add them back in; For 3-digit zip codes: UPDATE zipcodes SET zip = CONCAT(&#8217;00&#8242;, zip) WHERE LENGTH(zip) = 3 [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you have a MySQL database table containing US 5-digit zip codes, except some of them are just three or four digits long because they had leading zeros, and those sometimes get dropped. Here&#8217;s how to add them back in;</p>
<p>For 3-digit zip codes:</p>
<p><span style="color: #0000ff;">UPDATE zipcodes SET zip = CONCAT(&#8217;00&#8242;, zip) WHERE LENGTH(zip) = 3</span></p>
<p><span style="color: #000000;">This will turn &#8217;123&#8242; into &#8217;00123&#8242;.</span></p>
<p>For 4-digit zip codes:</p>
<p><span style="color: #0000ff;">UPDATE zipcodes SET zip = CONCAT(&#8217;0&#8242;, zip) WHERE LENGTH(zip) = 4</span></p>
<p><span style="color: #000000;">This will turn &#8217;1234&#8242; into &#8217;01234&#8242;.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/28/using-mysql-to-insert-missing-text-depending-on-field-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impressions of Joomla 1.6 Beta 3</title>
		<link>http://www.virginia-web-designers.com/2010/06/25/impressions-of-joomla-1-6-beta-3/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/25/impressions-of-joomla-1-6-beta-3/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 03:46:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development / Programming]]></category>
		<category><![CDATA[1.6]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[Joomla beta]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=209</guid>
		<description><![CDATA[Well, Joomla came out with another 1.6 beta, and it has certainly come a long way. I remember testing a 1.6 beta two years ago. Here are some highlights; Access Level Control (ACL) It now features a robust ACL system, though some of the inheritance rules will take some getting used to. This is often [...]]]></description>
			<content:encoded><![CDATA[<p>Well, Joomla came out with another 1.6 beta, and it has certainly come a long way. I remember testing a 1.6 beta two years ago. Here are some highlights;</p>
<p><strong>Access Level Control (ACL)</strong></p>
<p>It now features a robust ACL system, though some of the inheritance rules will take some getting used to. This is often cited as a feature Drupal has and Joomla lacks, but soon enough that will be a moot point. From my understanding there will be just one more beta in about two weeks, and then it should be time for 1.6!</p>
<p><strong>Nested categories</strong></p>
<p>Joomla always suffered from a rigid approach to categorization, with Sections and Categories. A section could contain categories, but there could be no sub-categories. This long-running annoyance has finally been been vanquished with Joomla 1.6. It uses only categories (no more sections!), and they can be nested as deeply as you want. I&#8217;m sure at some point someone will nest a category 666 levels down, and run into a terrible bug there &#8230; but in theory it should be fine, because a category would simply be assigned to a parent category .. the number of sub-levels should have no bearing on it.</p>
<p>Drupal has of course supported nested categories for a long time, where they are called Taxonomy. I think Drupal&#8217;s Taxonomy is still more advanced than Joomla 1.6&#8242;s category system, but for many, perhaps most users, just having nested categories is en0ugh. Those who want to do more advance PHP magic will naturally be more inclined towards Drupal anyway, and to words like Taxonomy.</p>
<p>The elimination of Joomla&#8217;s sections does mean that template code that relies on section IDs will have to be changed to be 1.6-compatible. It will have to check for category IDs instead. It also opens up an interesting possibility of (for example) using a database query to select only those categories that are nested within the current category. That could come in handy in displaying category &#8216;blogs&#8217; or headlines in a more automated fashion than creating menu links. And speaking of menu links;</p>
<p><strong>Menu Management</strong></p>
<p>Joomla&#8217;s menu management has gotten very slick;</p>
<ul>
<li>Changing the menu type is now faster.</li>
<li>Much more control over the menu items: meta data, page titles, robot rules, page class styling,  menu link title &amp; CSS attributes.</li>
<li>Module assignment from a menu item. You can still assign modules to menu items, but now you can also do this from the menu item itself, rather than having to edit the module separately.</li>
<li>Batch processing multiple menu items</li>
<li>Language filtering; show your menu item only for certain languages, or for all of them. Would be nice if you could select several languages and hide it on others, but that may be coming.</li>
<li>Set template style</li>
</ul>
<p><strong>Redirect manager</strong></p>
<p>Joomla 1.6 has a new component for managing URL redirects. Presumably this writes to the .htaccess file and created a 301 redirect.</p>
<p><strong>Banner Manager</strong></p>
<p>This is not too different from the 1.5 version, but features &#8220;Tracks&#8221;, which tracks clicks and impressions in date-filterable and CSV-exportable fashion. Finally we will be able to do some more robust reporting.</p>
<p>I am however baffled that banner clients still have no way to log in and view their banner&#8217;s statistics. I think most clients would want that, and offering that ability will help site owners gain more advertisers.</p>
<p>I wrote a Joomla 1.5 hack that got around this by using the &#8220;alias&#8221; field of the banner client to hold a username. That allows us to associate a banner client with a username, and then we can use that to display banner statistics to a given Joomla user (and only that user). Looks like I will have to port that hack to 1.6. Sigh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/25/impressions-of-joomla-1-6-beta-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>loving @freshbooks for my invo&#8230;</title>
		<link>http://www.virginia-web-designers.com/2010/06/24/loving-freshbooks-for-my-invo/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/24/loving-freshbooks-for-my-invo/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 17:32:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/06/24/loving-freshbooks-for-my-invo/</guid>
		<description><![CDATA[loving @freshbooks for my invoicing. http://bit.ly/aGjNTp]]></description>
			<content:encoded><![CDATA[<p>loving @<a href="http://twitter.com/freshbooks" class="aktt_username">freshbooks</a> for my invoicing. <a href="http://bit.ly/aGjNTp" rel="nofollow">http://bit.ly/aGjNTp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/24/loving-freshbooks-for-my-invo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Freshbooks and time management</title>
		<link>http://www.virginia-web-designers.com/2010/06/16/freshbooks-and-time-management/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/16/freshbooks-and-time-management/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 02:59:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[accounting]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[freelancing]]></category>
		<category><![CDATA[FreshBooks]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[time tracking]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=203</guid>
		<description><![CDATA[FreshBooks is a great tool for managing and monitoring time spent on projects. That helps make you more efficient and profitable. We have been using it for nearly two months, and it has worked wonders for us in terms of time tracking and invoicing. We highly recommend it. It&#8217;s a wonderful invoicing tool, offering smooth [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freshbooks.com/?ref=4728b601223219-1" target="_blank">FreshBooks</a> is a great tool for managing and monitoring time spent on projects. That helps make you more efficient and profitable. We have been using it for nearly two months, and it has worked wonders for us in terms of time tracking and invoicing. We highly recommend it.</p>
<p>It&#8217;s a wonderful invoicing tool, offering smooth integration with Basecamp, online payment for your customers, and even snail mail for those times you need to mail an invoice the old-fashioned way. Using <a href="https://ems.authorize.net/oap/home.aspx?SalesRepID=98&amp;ResellerID=16819" target="_blank">Authorize.net</a> you can also set up recurring payments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/16/freshbooks-and-time-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Joomla for file changes</title>
		<link>http://www.virginia-web-designers.com/2010/06/16/monitoring-joomla-for-file-changes/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/16/monitoring-joomla-for-file-changes/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 01:48:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/06/16/monitoring-joomla-for-file-changes/</guid>
		<description><![CDATA[It is often desirable to monitor a site for file changes, so that you can be alerted to unwanted file changes. Those could indicate hacker activity. There is server-side software that can do this for sites, but since our focus is Joomla, we wanted to take a moment to recommend the Eyesite component: http://extensions.lesarbresdesign.info/eyesite. To [...]]]></description>
			<content:encoded><![CDATA[<p>It is often desirable to monitor a site for file changes, so that you can be alerted to unwanted file changes. Those could indicate hacker activity. There is server-side software that can do this for sites, but since our focus is Joomla, we wanted to take a moment to recommend the Eyesite component: <a href="http://extensions.lesarbresdesign.info/eyesite" target="_blank">http://extensions.lesarbresdesign.info/eyesite</a>. To get the most out of this, you will need to set up a cron job so that it will email you whenever there are outstanding file changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/16/monitoring-joomla-for-file-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find Joomla section ID for article or category</title>
		<link>http://www.virginia-web-designers.com/2010/06/01/find-joomla-section-id-for-article-or-category/</link>
		<comments>http://www.virginia-web-designers.com/2010/06/01/find-joomla-section-id-for-article-or-category/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:54:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=198</guid>
		<description><![CDATA[Sometimes when coding a Joomla template it may be handy to know the section ID of the article or category the user is viewing. Here is some PHP code you could insert in your template to achieve this (for Joomla 1.5); $db =&#38; JFactory::getDBO(); if(JRequest::getVar(&#8216;view&#8217;)==&#8217;article&#8217;){ $query = &#8220;SELECT sectionid FROM #__content WHERE id=&#8217;&#8221;.JRequest::getVar(&#8216;id&#8217;).&#8221;&#8216;&#8221;; $db-&#62;setQuery($query); $sectionid [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when coding a Joomla template it may be handy to know the section ID of the article or category the user is viewing.</p>
<p>Here is some PHP code you could insert in your template to achieve this (for Joomla 1.5);</p>
<div id="_mcePaste"><span style="color: #888888;">$db =&amp; JFactory::getDBO();</span></div>
<div id="_mcePaste"><span style="color: #888888;">if(JRequest::getVar(&#8216;view&#8217;)==&#8217;article&#8217;){</span></div>
<div id="_mcePaste"><span style="color: #888888;">$query = &#8220;SELECT sectionid FROM #__content WHERE id=&#8217;&#8221;.JRequest::getVar(&#8216;id&#8217;).&#8221;&#8216;&#8221;;</span></div>
<div id="_mcePaste"><span style="color: #888888;">$db-&gt;setQuery($query);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$sectionid = $db-&gt;loadResult();</span></div>
<div id="_mcePaste"><span style="color: #888888;">}</span></div>
<div id="_mcePaste"><span style="color: #888888;">if(JRequest::getVar(&#8216;view&#8217;)==&#8217;category&#8217;){</span></div>
<div id="_mcePaste"><span style="color: #888888;">$query = &#8220;SELECT sectionid FROM #__content WHERE catid=&#8217;&#8221;.JRequest::getVar(&#8216;id&#8217;).&#8221;&#8216;&#8221;;</span></div>
<div id="_mcePaste"><span style="color: #888888;">$db-&gt;setQuery($query);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$sectionid = $db-&gt;loadResult();</span></div>
<div id="_mcePaste"><span style="color: #888888;">}</span></div>
<p><span style="color: #888888;"><span style="color: #000000;">Using this, you could for example control which graphics or CSS file are loaded depending on the section of the article/category. </span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/06/01/find-joomla-section-id-for-article-or-category/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Skype &#8220;Call Me&#8221; button &#8211; no SSL support!!</title>
		<link>http://www.virginia-web-designers.com/2010/05/18/skype-call-me-button-no-ssl-support/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/18/skype-call-me-button-no-ssl-support/#comments</comments>
		<pubDate>Tue, 18 May 2010 22:54:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/05/18/skype-call-me-button-no-ssl-support/</guid>
		<description><![CDATA[To my dismay and total surprise, Skype does not offer an SSL version of its Call Me or Status buttons (link). I emailed them about this and they confirmed that it is not possible at this time, but that they would keep it in mind as a feature request. To me this is not a [...]]]></description>
			<content:encoded><![CDATA[<p>To my dismay and total surprise, Skype does not offer an SSL version of its Call Me or Status buttons (<a href="http://www.skype.com/share/buttons/" target="_blank">link</a>). I emailed them about this and they confirmed that it is not possible at this time, but that they would keep it in mind as a feature request. To me this is not a feature, but a basic must-have. HTTPS connections are a staple and a fact of life that should not have been overlooked. It should not be complicated to enable that, but considering that they have been in business for seven years, perhaps there is some fundamental roadblock preventing this.</p>
<p>Google Analytics uses JavaScript to determine whether the connection uses HTTP or HTTPS. Skype also uses an external JavaScript file, but forcibly loads it over HTTP, which is a problem for sites running on an HTTPS connection (SSL), because it will trigger &#8220;mixed content&#8221; and &#8220;potentially unsafe&#8221; content warnings in some browsers, depending on visitors&#8217; browser settings. That can reduce customer trust, which in turn can have an impact on online sales or user stickiness.</p>
<p>If you need to use Skype buttons on a site that is accessed over SSL, beware.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/18/skype-call-me-button-no-ssl-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basecamp &amp; project management</title>
		<link>http://www.virginia-web-designers.com/2010/05/14/basecamp-project-management/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/14/basecamp-project-management/#comments</comments>
		<pubDate>Sat, 15 May 2010 01:27:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[basecamp]]></category>
		<category><![CDATA[project managemt]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=180</guid>
		<description><![CDATA[We&#8217;ve recently started using Basecamp for project management and love it. It lacks robust user access level control, but this is not a must-have for us at the moment. The software makes it very easy to track tasks, comment on them, attach files, set milestones, and so forth. While using it I did notice a [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently started using Basecamp for project management and love it. It lacks robust user access level control, but this is not a must-have for us at the moment. The software makes it very easy to track tasks, comment on them, attach files, set milestones, and so forth. While using it I did notice a usability issue related to the commenting system. Normally, new comments are highlighted with a green icon. However, the system was highlighting even your own comments &#8211; if they were new.  Now, why would I want to re-read my own comment? I&#8217;m only interested in new comments by others!</p>
<p>Thankfully, I let Basecamp staff know about this usability glitch, and the VERY NEXT DAY they had resolved it! It&#8217;s nice to see that kind of responsiveness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/14/basecamp-project-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joined the local chamber of commerce!</title>
		<link>http://www.virginia-web-designers.com/2010/05/14/joined-the-local-chamber-of-commerce/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/14/joined-the-local-chamber-of-commerce/#comments</comments>
		<pubDate>Fri, 14 May 2010 23:04:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=176</guid>
		<description><![CDATA[We&#8217;ve joined the Loudoun County Chamber of Commerce (northern Virginia / metro DC). We hope to get involved in some committees and start attending networking events. This seems like a great way to meet other local business owners and cross-pollenate, besides the obvious benefit of lead generation.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-178" title="chamber-member-logo-for-web" src="http://www.superiormotive.com/wp-content/uploads/2010/05/chamber-member-logo-for-web.jpg" alt="" width="213" height="104" />We&#8217;ve joined the Loudoun County Chamber of Commerce (northern Virginia / metro DC). We hope to get involved in some committees and start attending networking events. This seems like a great way to meet other local business owners and cross-pollenate, besides the obvious benefit of lead generation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/14/joined-the-local-chamber-of-commerce/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spec work and 99designs.com</title>
		<link>http://www.virginia-web-designers.com/2010/05/13/spec-work-and-99designs-com/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/13/spec-work-and-99designs-com/#comments</comments>
		<pubDate>Thu, 13 May 2010 13:04:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/05/13/spec-work-and-99designs-com/</guid>
		<description><![CDATA[99designs.com is a crowd-sourcing method for generating web and graphic designs quickly. It is also fairly cost-effective. 99designs.com has some things going for it that are attractive to customers, but I&#8217;m a little concerned about how they have designers competing. I wonder what kind of pay the designers get, and where they&#8217;re based. My understanding [...]]]></description>
			<content:encoded><![CDATA[<p>99designs.com is a crowd-sourcing method for generating web and graphic designs quickly. It is also fairly cost-effective.</p>
<p>99designs.com has some things going for it that are attractive to customers, but I&#8217;m a little concerned about how they have designers competing. I wonder what kind of pay the designers get, and where they&#8217;re based. My understanding is the designers don&#8217;t get paid unless their design won the &#8220;contest&#8221;.  This is spec work, which undermines and devalues this industry in my opinion. Why work with a disgruntled designer or one that doesn&#8217;t respect him or herself?</p>
<p>For example, to post a project, a client would pay a flat fee of $39, which should ward off frivolous project requests, and the winner of the design contest would be awarded the project budget via escrow. The trouble I have with this is that the final budgets, while reasonable for one designer (if on the low end), do not pay the &#8220;losers&#8221; of the design contest. I think this is wrong. In essence, 99designs.com is a competitor to elance.com and odesk.com, but presents its projects as design &#8220;contests&#8221; when in fact it is a way for clients to procure designs without needing bids. It&#8217;s spec work. I don&#8217;t think anyone should work for free, even the ones that lose the contest.</p>
<p>While a client might get a bunch of design options for little money this way, this process cut out the whole discovery phase of the project. For example, as a client you might want a new header and logo for your site. You can request this and receive many responses, and there&#8217;s a good chance one of them will strike your fancy. Normally there would be at least a small phase of getting to know the customer, their needs, business model, etc. That is entirely missing in the 99designs.com model. It might work in the end, but it&#8217;s exploitative. In some cases, designers on there are even under 18 (<a href="http://www.logodesignlove.com/99designs-kiddie-designers" target="_blank">reference</a>).</p>
<p>It&#8217;s a freelance marketplace masquerading as design contests &#8230; for little or no pay, and using child labor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/13/spec-work-and-99designs-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>building new company site in D&#8230;</title>
		<link>http://www.virginia-web-designers.com/2010/05/12/building-new-company-site-in-d/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/12/building-new-company-site-in-d/#comments</comments>
		<pubDate>Thu, 13 May 2010 02:46:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/05/12/building-new-company-site-in-d/</guid>
		<description><![CDATA[building new company site in Drupal. Got mockups done, and functionality already in place. Joined the local Chamber of Commerce too.]]></description>
			<content:encoded><![CDATA[<p>building new company site in Drupal. Got mockups done, and functionality already in place. Joined the local Chamber of Commerce too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/12/building-new-company-site-in-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>waiting for Android 2 for Moto&#8230;</title>
		<link>http://www.virginia-web-designers.com/2010/05/12/waiting-for-android-2-for-moto/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/12/waiting-for-android-2-for-moto/#comments</comments>
		<pubDate>Thu, 13 May 2010 02:43:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/05/12/waiting-for-android-2-for-moto/</guid>
		<description><![CDATA[waiting for Android 2 for Motorola Cliq XT for speech to text emailing]]></description>
			<content:encoded><![CDATA[<p>waiting for Android 2 for Motorola Cliq XT for speech to text emailing</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/12/waiting-for-android-2-for-moto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capture traffic with Google Local</title>
		<link>http://www.virginia-web-designers.com/2010/05/08/capture-traffic-with-google-local/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/08/capture-traffic-with-google-local/#comments</comments>
		<pubDate>Sat, 08 May 2010 21:36:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/05/08/capture-traffic-with-google-local/</guid>
		<description><![CDATA[If your business has a physical location that customers can visit, consider getting listed in Google Local. It helps your site get valuable search engine traffic at no extra cost. I have even seen cases of businesses using this to replace their PPC campaign (AdWords). Of course, there are businesses out there that will use [...]]]></description>
			<content:encoded><![CDATA[<p>If your business has a physical location that customers can visit, consider getting listed in Google Local. It helps your site get valuable search engine traffic at no extra cost. I have even seen cases of businesses using this to replace their PPC campaign (AdWords). </p>
<p>Of course, there are businesses out there that will use fake addresses just so they can get listed. Google verifies by mail OR by phone &#8230; and these days it is possible to order a VOIP number for any location. One can only expect that Google will stop that practice at some point. Even if they don&#8217;t, having potential customers go to a non-existent address is not going to make them very happy! </p>
<p>Check out Google Local. It is an underutilized part of SEO.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/08/capture-traffic-with-google-local/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Css&#8217;s first-child pseudo-selector</title>
		<link>http://www.virginia-web-designers.com/2010/05/01/csss-first-child-pseudo-selector/</link>
		<comments>http://www.virginia-web-designers.com/2010/05/01/csss-first-child-pseudo-selector/#comments</comments>
		<pubDate>Sun, 02 May 2010 01:56:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=148</guid>
		<description><![CDATA[Have you ever seen news articles that display the first letter in a very large font size? On web sites this is most often achieved using a graphic. That means keeping a library of graphics for all the letters in the alphabet, which I think makes editing a little cumbersome. Luckily, CSS3 offers us the [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever seen news articles that display the first letter in a very large font size? On web sites this is most often achieved using a graphic. That means keeping a library of graphics for all the letters in the alphabet, which I think makes editing a little cumbersome. Luckily, CSS3 offers us the &#8216;first-child&#8217; pseudo-selector.</p>
<p>Example;</p>
<p class="firstparagraph" style="padding-left: 60px; text-align: left;">Lorem ipsum ei cetero legendos appellantur per, indoctum iudicabit ei duo, in per ignota persius perfecto. Duo ne alii summo consequuntur, vitae suscipit gloriatur cum ei, augue atomorum vulputate ea eum. Usu eu erant mediocrem, posse bonorum voluptatum et pro. Sea iisque gubergren rationibus cu, ne mea takimata mandamus laboramus. Duo utroque sententiae interesset te, luptatum scripserit suscipiantur et pri. Dicta verear appetere vim ne, nam eu alii ridens, aeque legendos ne mei.</p>
<p><strong>HTML:</strong></p>
<p>&lt;p class=&#8221;firstparagraph&#8221;&gt;Lorem ipsum ei cetero legendos appellantur per, indoctum iudicabit ei duo, in per ignota persius perfecto. Duo ne alii summo consequuntur, vitae suscipit gloriatur cum ei, augue atomorum vulputate ea eum. Usu eu erant mediocrem, posse bonorum voluptatum et pro. Sea iisque gubergren rationibus cu, ne mea takimata mandamus laboramus. Duo utroque sententiae interesset te, luptatum scripserit suscipiantur et pri. Dicta verear appetere vim ne, nam eu alii ridens, aeque legendos ne mei.&lt;/p&gt;</p>
<p><strong>CSS:</strong></p>
<p><code>p.firstparagraph:first-letter{</p>
<p>color:#000;</p>
<p>font-size:40pt;</p>
<p>line-height:35pt;</p>
<p>filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/hIEfix.png,sizingMethod=crop);			zoom:1;</p>
<p>text-shadow: #ccc 2px 2px 1px;</p>
<p>float: left;</p>
<p>position: relative;</p>
<p>padding-right:6px;</p>
<p>vertical-align:text-top;</p>
<p>}<br />
</code></p>
<p><a href="http://www.w3schools.com/css/css_pseudo_classes.asp">Reference</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/05/01/csss-first-child-pseudo-selector/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Avoid &#8216;Domain Registry of America&#8217; &#8211; it&#8217;s a scam</title>
		<link>http://www.virginia-web-designers.com/2010/04/30/avoid-domain-registry-of-america-its-a-scam/</link>
		<comments>http://www.virginia-web-designers.com/2010/04/30/avoid-domain-registry-of-america-its-a-scam/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:04:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=146</guid>
		<description><![CDATA[Many of you will have received mailings from these people, which look more like a bill than a promotional mailing. They scare people into transferring their domains to them. They use some very deceptive practices, levy high fees, and are loath to issue refunds. It&#8217;s a scam. Avoid them.]]></description>
			<content:encoded><![CDATA[<p>Many of you will have received mailings from these people, which look more like a bill than a promotional mailing. They scare people into transferring their domains to them. They use some very deceptive practices, levy high fees, and are loath to issue refunds. It&#8217;s a scam. Avoid them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/04/30/avoid-domain-registry-of-america-its-a-scam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Css&#8217;s first-child pseudo-selec&#8230;</title>
		<link>http://www.virginia-web-designers.com/2010/04/29/csss-first-child-pseudo-selec/</link>
		<comments>http://www.virginia-web-designers.com/2010/04/29/csss-first-child-pseudo-selec/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 00:04:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/04/29/csss-first-child-pseudo-selec/</guid>
		<description><![CDATA[Css&#8217;s first-child pseudo-selector is great!]]></description>
			<content:encoded><![CDATA[<p>Css&#8217;s first-child pseudo-selector is great!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/04/29/csss-first-child-pseudo-selec/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Got an android phone!</title>
		<link>http://www.virginia-web-designers.com/2010/04/28/got-an-android-phone/</link>
		<comments>http://www.virginia-web-designers.com/2010/04/28/got-an-android-phone/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 23:51:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/04/28/got-an-android-phone/</guid>
		<description><![CDATA[Got an android phone!]]></description>
			<content:encoded><![CDATA[<p>Got an android phone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/04/28/got-an-android-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Karole Armitage interviewed by the BBC</title>
		<link>http://www.virginia-web-designers.com/2010/03/18/karole-armitage-one-of-our-cu/</link>
		<comments>http://www.virginia-web-designers.com/2010/03/18/karole-armitage-one-of-our-cu/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 05:12:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/03/18/karole-armitage-one-of-our-cu/</guid>
		<description><![CDATA[Karole Armitage, one of our customers, was just interviewed by BBC America; http://bit.ly/acjzSK.]]></description>
			<content:encoded><![CDATA[<p>Karole Armitage, one of our customers, was just interviewed by BBC America; <a rel="nofollow" href="http://bit.ly/acjzSK">http://bit.ly/acjzSK</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/03/18/karole-armitage-one-of-our-cu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovering super-admin access to Joomla</title>
		<link>http://www.virginia-web-designers.com/2010/03/18/recovering-super-admin-access-to-joomla/</link>
		<comments>http://www.virginia-web-designers.com/2010/03/18/recovering-super-admin-access-to-joomla/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 05:05:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=132</guid>
		<description><![CDATA[If for some reason you can&#8217;t figure out the superadmin login or password, use phpMyAdmin and go into the jos_users table of your database. Locate the superadmin user account. It will have a gid (group ID) of 25. By default its username is admin, but the username may have been (should have been!) changed. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If for some reason you can&#8217;t figure out the superadmin login or password, use phpMyAdmin and go into the jos_users table of your database.</p>
<p>Locate the superadmin user account. It will have a gid (group ID) of 25.</p>
<p>By default its username is admin, but the username may have been (should have been!) changed. It&#8217;s a good idea to change it, for security reasons. The &#8220;admin&#8221; username is the first one hackers will try.</p>
<p>Now, let&#8217;s change the password using phpMyAdmin. Edit the user using phpMyAdmin and find the password field. That is MD5-encrypted so we need to think of a new pw and MD5-encrypt it. It should look something like this example:</p>
<p>7da8c7fed439183092er69334b54fe01:UIBWsiwIlkk2wkHCUmC1XxD1tAd1uQgK</p>
<p>You need to generate a new MD5-encrypted password. Do that here:</p>
<p><a href="http://www.iwebtool.com/md5" target="_blank">http://www.iwebtool.com/md5</a></p>
<p>.. or Google &#8216;md5 encrypt&#8217; for other similar sites.</p>
<p>Just enter what you want the password to be, and it will tell you the MD5 code for it. Copy that code and put that into the password field in phpMyAdmin. Save.</p>
<p>See if you can log into Joomla and get the full features now using the username you just edited over in phpMyAdmin.</p>
<p>Note that Joomla&#8217;s passwords are MD5-encrypted *and* salted, meaning that they have a colon and then a second MD5 string after that. But using an externally generated MD5 string and pasting that in will work, at least for Joomla 1.5.15.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/03/18/recovering-super-admin-access-to-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect Joomla section ID when viewing an article</title>
		<link>http://www.virginia-web-designers.com/2010/03/11/detect-joomla-section-id-when-viewing-an-article/</link>
		<comments>http://www.virginia-web-designers.com/2010/03/11/detect-joomla-section-id-when-viewing-an-article/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 01:58:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=130</guid>
		<description><![CDATA[Sometimes when you&#8217;re coding a Joomla 1.5 template you may want to be know which section an article is in. For example, let&#8217;s say you have designed custom navigation buttons (not using any Joomla module, just your own graphics). If you have a button called &#8220;About Us&#8221;, you&#8217;d want it to stay activated when viewing [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when you&#8217;re coding a Joomla 1.5 template you may want to be know which section an article is in. For example, let&#8217;s say you have designed custom navigation buttons (not using any Joomla module, just your own graphics). If you have a button called &#8220;About Us&#8221;, you&#8217;d want it to stay activated when viewing any page in the About Us part of the site. To do this, create a section called About Us, create a category within that, and put all About pages in there. Now you can reliably detect your articles&#8217; section IDs as a way of keeping your button activated on the correct pages.</p>
<p>Add this in your template PHP code;</p>
<p style="padding-left: 30px;">
<div id="_mcePaste"><span style="color: #888888;">$db =&amp;JFactory::getDBO();</span></div>
<div id="_mcePaste"><span style="color: #888888;">if(JRequest::getVar(&#8216;view&#8217;)==&#8217;article&#8217;){</span></div>
<div id="_mcePaste"><span style="color: #888888;">$query = &#8220;SELECT sectionid FROM #__content WHERE id=&#8221;.JRequest::getVar(&#8216;id&#8217;);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$db-&gt;setQuery($query);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$sectionid = $db-&gt;loadResult();</span></div>
<div id="_mcePaste"><span style="color: #888888;">}</span></div>
<div id="_mcePaste"><span style="color: #888888;">if(JRequest::getVar(&#8216;view&#8217;)==&#8217;category&#8217;){</span></div>
<div id="_mcePaste"><span style="color: #888888;">$query = &#8220;SELECT sectionid FROM #__content WHERE catid=&#8221;.JRequest::getVar(&#8216;id&#8217;);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$db-&gt;setQuery($query);</span></div>
<div id="_mcePaste"><span style="color: #888888;">$sectionid = $db-&gt;loadResult() ;</span></div>
<div id="_mcePaste"><span style="color: #888888;">}</span></div>
<div id="_mcePaste"><span style="color: #888888;">//echo $sectionid;</span></div>
<p>Now you can use if statements like this;</p>
<p style="padding-left: 30px;"><span style="color: #888888;">if($sectionid == &#8217;4&#8242;){<br />
echo &#8220;this article is in section 4!&#8221;;<br />
}</span></p>
<p>You can use this for customized navigation, for example, keeping certain buttons highlighted when you&#8217;re viewing articles within a certain section. It can be used to display a module only if you&#8217;re in a certain section, but it&#8217;s useful for more than just modules. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/03/11/detect-joomla-section-id-when-viewing-an-article/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>New module: Random Youtube Video</title>
		<link>http://www.virginia-web-designers.com/2010/02/12/new-module-random-youtube-video/</link>
		<comments>http://www.virginia-web-designers.com/2010/02/12/new-module-random-youtube-video/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 19:07:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=127</guid>
		<description><![CDATA[download it here Displays a random video for a specific user. Lets you set the video width and height, control whether to show a &#8220;more videos&#8221; link or not, and control the wording of that link. Also allows you to display a single YouTube video instead of a random one. It uses the Google Data [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.plethoradesign.com/downloads/index.php#youtube" target="_blank">download it here</a></strong></p>
<p>Displays a random video for a specific user. Lets you set the video width and height, control whether to show a &#8220;more videos&#8221; link or not, and control the wording of that link. Also allows you to display a single YouTube video instead of a random one. It uses the Google Data API for YouTube to grab the user&#8217;s video IDs and pick one at random.</p>
<p>Requirements: Joomla 1.5 and Zend 1.9+ (supported by most Apache servers). This has been tested on a LAMP machine (Linux/Apache) but in some cases &#8211; Windows servers, perhaps, or if your host doesn&#8217;t allow PHP scripts to use the ini_set() function &#8211; it may be necessary to manually set the include_path directive in your php.ini to something like &#8216;include_path = ..:/usr/lib/php:/home/account/public_html/modules/mod_randomyoutube/Zend/library&#8217;.</p>
<p>The above assumes your php.ini include_path is /usr/lib/php, but that will be different for every server, so check phpinfo() for that. In the Joomla backend, go to Help &gt; System Info, PHP Information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/02/12/new-module-random-youtube-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting Itemid for a component</title>
		<link>http://www.virginia-web-designers.com/2010/01/24/detecting-itemid-for-a-component/</link>
		<comments>http://www.virginia-web-designers.com/2010/01/24/detecting-itemid-for-a-component/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 15:52:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=123</guid>
		<description><![CDATA[A little background: while working on the EventList Twitter Status plugin I got frustrated at having to have an Itemid parameter in the plugin parameters. I wanted the script to automatically append the correct Itemid to the URL that gets submitted to Twitter (via TinyURL). However, it seemed that there&#8217;s no built-in way to do [...]]]></description>
			<content:encoded><![CDATA[<p>A little background: while working on the EventList Twitter Status plugin I got frustrated at having to have an Itemid parameter in the plugin parameters. I wanted the script to automatically append the correct Itemid to the URL that gets submitted to Twitter (via TinyURL). However, it seemed that there&#8217;s no built-in way to do this using the Joomla API &#8211; not when we&#8217;re talking about a backend script. If it were a frontend one, we could easily detect the Itemid contextually, i.e. based on which page is being viewed at the time, for example:</p>
<blockquote><p>JRequest::<em>getVar</em>(&#8216;<em>Itemid</em>&#8216;);</p>
<p>//(detects current page&#8217;s Itemid)</p></blockquote>
<p>Or to detect the URL of a specified menu item:</p>
<blockquote><p>$menuitem = &#8220;34&#8243;; //this can be set manually or by your script<br />
$item = JFactory::getApplication()-&gt;getMenu()-&gt;getItem( $menuitem );<br />
$url = JRoute::_($item-&gt;link . &#8216;&amp;Itemid=&#8217; . $item-&gt;id);</p></blockquote>
<p>However, the above method means that you must already know the Itemid, since the menu id *is* the Itemid. So it&#8217;s only good for detecting the URL.</p>
<p>So how do we find out an appropriate Itemid for URLs created on the fly in the backend?</p>
<p>After scouring a lot of posts on the Joomla forum and elsewhere, and also after reading all the available documentation, I got frustrated and just wrote a quick and dirty query:</p>
<blockquote><p>$queryitemid = &#8220;SELECT * FROM #__menu WHERE type=&#8217;component&#8217; AND link LIKE &#8216;%com_eventlist%view=eventlist%&#8217; ORDER BY id ASC LIMIT 1&#8243;;<br />
$db-&gt;setQuery($queryitemid);<br />
$itemid = $db-&gt;loadResult();</p>
<p>if((!itemid) || ($itemid == &#8221;) || ($itemid == NULL)){<br />
//echo &#8220;resorting to backup Itemid detection&lt;br&gt;&#8221;;<br />
//if default &#8216;eventlist&#8217; view not found in menu, look for other menu items and use the first one (lowest itemid)</p>
<p>$queryitemid = &#8220;SELECT * FROM #__menu WHERE type=&#8217;component&#8217; AND link LIKE &#8216;%com_eventlist%&#8217; ORDER BY id ASC LIMIT 1&#8243;;<br />
$db-&gt;setQuery($queryitemid);<br />
$itemid = $db-&gt;loadResult();</p>
<p>}</p>
<p>if(($itemid != &#8221;) &amp;&amp; ($itemid != NULL)){<br />
$itemid = $itemid;<br />
}</p>
<p>else{<br />
//if EventList is now in a menu, use the Itemid set in the plugin parameters.<br />
$itemid = $this-&gt;_params-&gt;get(&#8216;itemid&#8217;);<br />
}</p></blockquote>
<p>I used a LIKE query to select the &#8220;eventlist&#8221; view type for the com_eventlist component. I could have avoided use of LIKE by doing a more complex query, and I&#8217;m not sure it would have offered much of a performance gain over this LIKE usage. Maybe if this were a script that&#8217;s being run a lot, but this only runs when someone adds an event or venue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/01/24/detecting-itemid-for-a-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EventList Twitter plugin v 1.5 out</title>
		<link>http://www.virginia-web-designers.com/2010/01/24/eventlist-twitter-plugin-v-1-5-out/</link>
		<comments>http://www.virginia-web-designers.com/2010/01/24/eventlist-twitter-plugin-v-1-5-out/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 15:33:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/01/24/eventlist-twitter-plugin-v-1-5-out/</guid>
		<description><![CDATA[Update your Twitter status when you add an event to the EventList component. Joomla 1.5 native. Comes with language translation capability and includes English and now also French. You can now add venues as well as events, and have them send a tweet. You can turn off tweets for venues, and you can format the [...]]]></description>
			<content:encoded><![CDATA[<p>Update your Twitter status when you add an event to the EventList component. Joomla 1.5 native. Comes with language translation capability and includes English and now also French. You can now add venues as well as events, and have them send a tweet. You can turn off tweets for venues, and you can format the date and time however you want. Download at <a href="http://www.plethoradesign.com/downloads/" target="_blank">http://www.plethoradesign.com/downloads/</a>.</p>
<ul>
<li> v. 1.5: added French language definitions</li>
<li>v. 1.4: added PHP date() formatting for date &amp; time. Fixed venue addition bug, also allowed for display of venue within event tweet. Removed unused &#8220;user layer&#8221;.</li>
<li>v. 1.3: you can now display the event date and time in your tweet.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/01/24/eventlist-twitter-plugin-v-1-5-out/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla EventList Twitter Plugin &#8211; version 1.3</title>
		<link>http://www.virginia-web-designers.com/2010/01/11/joomla-eventlist-twitter-plugin-version-1-3/</link>
		<comments>http://www.virginia-web-designers.com/2010/01/11/joomla-eventlist-twitter-plugin-version-1-3/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 04:40:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Joomla twitter EventList PHP]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/01/11/joomla-eventlist-twitter-plugin-version-1-3/</guid>
		<description><![CDATA[I updated the plugin so you can now choose to display the event date and time. If there is no time specified, it uses just the date. This is *optional* so you can specify it via the plugin parameters, the same place where you put in your Twitter username and password. http://www.plethoradesign.com/downloads/]]></description>
			<content:encoded><![CDATA[<p>I updated the plugin so you can now choose to display the event date and time. If there is no time specified, it uses just the date. This is *optional* so you can specify it via the plugin parameters, the same place where you put in your Twitter username and password.<br />
<a href="http://www.plethoradesign.com/downloads/" target="_blank">http://www.plethoradesign.com/downloads/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/01/11/joomla-eventlist-twitter-plugin-version-1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcam Test using Flash</title>
		<link>http://www.virginia-web-designers.com/2010/01/08/webcam-test-using-flash/</link>
		<comments>http://www.virginia-web-designers.com/2010/01/08/webcam-test-using-flash/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:09:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[flash webcam cs3 actionscript video audio]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/01/08/webcam-test-using-flash/</guid>
		<description><![CDATA[I needed to test end users&#8217; webcam video and audio for a client, and found examples of both instant webcam video playback and microphone audio playback (after the user allows access), but no examples combining the two. I put the two together in a single, simple Flash CS3 ActionScript 2 file available here.]]></description>
			<content:encoded><![CDATA[<p>I needed to test end users&#8217; webcam video and audio for a client, and found examples of both instant webcam video playback and microphone audio playback (after the user allows access), but no examples combining the two. I put the two together in a single, simple Flash CS3 ActionScript 2 file available <a href="http://www.plethoradesign.com/downloads" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/01/08/webcam-test-using-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla EventList Twitter plugin v 1.2 out</title>
		<link>http://www.virginia-web-designers.com/2010/01/05/joomla-eventlist-twitter-plugin-v-1-2-out/</link>
		<comments>http://www.virginia-web-designers.com/2010/01/05/joomla-eventlist-twitter-plugin-v-1-2-out/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 02:38:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Joomla twitter EventList PHP]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2010/01/05/joomla-eventlist-twitter-plugin-v-1-2-out/</guid>
		<description><![CDATA[Some users reported file_get_contents warnings from their server. I modified the plugin to detected whether fopen wrappers are enabled, and if not, use CURL instead. If that&#8217;s not available it will simply use your site&#8217;s main URL as the event link in your tweet .. otherwise the URL will get cut off by Twitter&#8217;s 140 [...]]]></description>
			<content:encoded><![CDATA[<p>Some users reported file_get_contents warnings from their server. I modified the plugin to detected whether fopen wrappers are enabled, and if not, use CURL instead. If that&#8217;s not available it will simply use your site&#8217;s main URL as the event link in your tweet .. otherwise the URL will get cut off by Twitter&#8217;s 140 character limit.<br />
Your server doesn&#8217;t support the file_get_contents function, but I think I have a solution.</p>
<p>Solution #1 would be to edit your site&#8217;s PHP.ini file and set this:<br />
allow_url_fopen = On<br />
It may currently be set to allow_url_fopen = Off, but needs to be on.</p>
<p>See this link for a full description of what to do;<br />
<a href="http://www.logaholic.com/support-center/index.php?x=&amp;mod_id=2&amp;id=8" target="_blank">http://www.logaholic.com/support-center/index.php?x=&amp;mod_id=2&amp;id=8</a><br />
Note that you may need to add this line inside your /httpdocs/php.ini file as well as inside /httpdocs/administrator/php.ini, and you may need to create those php.ini files and FTP them to the server.<br />
On some servers, a PHP.ini file is only allowed in certain locations, like /etc/ or /cgi-bin. But in most cases it should be in the folders I described.<br />
That may fix it.</p>
<p>Solution #2<br />
It means in your case the Twitter links will have to use the actual site URLs rather than TinyURL ones, but it should work.</p>
<p>So, in /plugins/system/eventlisttwitter.php, around line 103, find:</p>
<blockquote><p>function _createTinyUrl($strURL) {<br />
global $mainframe;<br />
$tinyurl = file_get_contents(&#8220;http://tinyurl.com/api-create.php?url=&#8221;.$strURL);<br />
return $tinyurl;<br />
}</p></blockquote>
<p>&#8230;. replace that with this:</p>
<blockquote><p>function _createTinyUrl($strURL) {<br />
global $mainframe;<br />
if(ini_get(&#8216;allow_url_fopen&#8217;)){<br />
$tinyurl = file_get_contents(&#8220;http://tinyurl.com/api-create.php?url=&#8221;.$strURL);<br />
return $tinyurl;<br />
}<br />
elseif(1==3){<br />
$ch = curl_init();<br />
$timeout = 5;<br />
curl_setopt($ch,CURLOPT_URL,&#8217;http://tinyurl.com/api-create.php?url=&#8217;.$strURL);<br />
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);<br />
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);<br />
$data = curl_exec($ch);<br />
curl_close($ch);<br />
return $data;<br />
}<br />
else{<br />
return JURI::base();<br />
}<br />
}</p></blockquote>
<p>If modifying the code is too daunting, uninstall and then reinstall the plugin, using the attached plugin zip file. It&#8217;s also on my site at <a href="http://www.plethoradesign.com/downloads/" target="_blank">http://www.plethoradesign.com/downloads/</a>.<br />
The above modified code should work for you even without touching php.ini, so it may actually be the easiest solution. If your host doesn&#8217;t support PHP&#8217;s CURL libraries, the Twitter link will simple link to your site, rather than the individual event. Otherwise the event URL will get cut off because of Twitter&#8217;s limit of 140 characters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2010/01/05/joomla-eventlist-twitter-plugin-v-1-2-out/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>EventList Venues for Google Earth KML</title>
		<link>http://www.virginia-web-designers.com/2009/09/04/eventlist-venues-for-google-earth-kml/</link>
		<comments>http://www.virginia-web-designers.com/2009/09/04/eventlist-venues-for-google-earth-kml/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 01:31:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=105</guid>
		<description><![CDATA[A Google Earth KML-exporter add-on for EventList 1.0.1 for Joomla 1.5. It lets you provide visitors a link with which they can directly open or download a KML-format file of all your published venues, complete with venue descriptions, links (if the venue contains one), and automatic creation of markers with latitude and longitude. That is [...]]]></description>
			<content:encoded><![CDATA[<p>A Google Earth KML-exporter add-on for EventList 1.0.1 for Joomla 1.5.<br />
It lets you provide visitors a link with which they can directly open or download a KML-format file of all your published venues, complete with venue descriptions, links (if the venue contains one), and automatic creation of markers with latitude and longitude.<br />
That is generated from the basic address information for the venue &#8211; you do not need to enter latitude or longitude anywhere. There is just one file to upload, but make sure to read the requirements in the readme.txt file that comes with the zip file.</p>
<p>See it in action here:<a href="http://www.novamineralclub.org/calendar" target="_blank"> http://www.novamineralclub.org/calendar</a>. Click on the Google Earth icon at the far right above the calendar.</p>
<p><a href="http://www.plethoradesign.com/downloads/" target="_blank">Download here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/09/04/eventlist-venues-for-google-earth-kml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let your users have their own calendars!</title>
		<link>http://www.virginia-web-designers.com/2009/08/11/let-your-users-have-their-own-calendars/</link>
		<comments>http://www.virginia-web-designers.com/2009/08/11/let-your-users-have-their-own-calendars/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 15:51:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=97</guid>
		<description><![CDATA[A Community Builder plugin that can be displayed as a tab on a user&#8217;s personal profile, so each user can have a separate calendar. The user just needs to enter the unique ID of the calendar in the plugin parameters in their profile. You can set a default calendar and time zone, and individual users [...]]]></description>
			<content:encoded><![CDATA[<p>A Community Builder plugin that can be displayed as a tab on a user&#8217;s personal profile, so each user can have a separate calendar. The user just needs to enter the unique ID of the calendar in the plugin parameters in their profile. You can set a default calendar and time zone, and individual users can set their own time zones and calendars as well. This plugin comes with English and Dutch language files. Tested on Joomla 1.5.14 with Community Builder 1.2.1. It should work with or without legacy mode on. Should function in Joomla 1.0 too, though multilingual functionality probably will not work.</p>
<p><a href="http://www.plethoradesign.com/downloads" target="_blank">Download it here »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/08/11/let-your-users-have-their-own-calendars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EventList Twitter Status Update Plugin</title>
		<link>http://www.virginia-web-designers.com/2009/07/30/eventlist-twitter-status-update-plugin/</link>
		<comments>http://www.virginia-web-designers.com/2009/07/30/eventlist-twitter-status-update-plugin/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 05:25:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=92</guid>
		<description><![CDATA[I just ported the Twitter Status plugin to make it work with the EventList component. When you add an event, it gets posted to Twitter automatically. Just like the original Twitter Status plugin, you can restrict this to particular categories. Very useful for keeping people informed of upcoming events. Version 1.0 &#8211; July 30, 2009. [...]]]></description>
			<content:encoded><![CDATA[<p>I just ported the Twitter Status plugin to make it work with the EventList component. When you add an event, it gets posted to Twitter automatically. Just like the original Twitter Status plugin, you can restrict this to particular categories. Very useful for keeping people informed of upcoming events.</p>
<p>Version 1.0 &#8211; July 30, 2009. Joomla 1.5 native only. Comes with language translation capability, but only English is included by default. GPL / open-source.</p>
<p><a href="http://www.plethoradesign.com/downloads" target="_blank">Download it here</a></p>
<p>Special thanks to Tomasz Dobrzyński, upon whose Twitter Status plugin this was based.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/07/30/eventlist-twitter-status-update-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Events and calendars in Joomla</title>
		<link>http://www.virginia-web-designers.com/2009/07/28/events-and-calendars-in-joomla/</link>
		<comments>http://www.virginia-web-designers.com/2009/07/28/events-and-calendars-in-joomla/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 05:39:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=82</guid>
		<description><![CDATA[When building sites for customers, I have noticed people often need to announce upcoming events on their sites, and assume they need a full-page calendar displaying a month-view. However, it may in many cases be easier to display a simple list of upcoming events &#8211; even as simple as a single page, for example a [...]]]></description>
			<content:encoded><![CDATA[<p>When building sites for customers, I have noticed people often need to announce upcoming events on their sites, and assume they need a full-page calendar displaying a month-view. However, it may in many cases be easier to display a simple list of upcoming events &#8211; even as simple as a single page, for example a regular Joomla article. This is especially true when there are not that many events in a  given month. What if you have only two events per month? Is it still sensible to devote all that screen real estate to empty calendar days? It seems more direct to just list the events and their dates in such a case. From the visitors&#8217; point of view, they want to find out what&#8217;s coming up, so the fastest way to get them that information is the best way.</p>
<p>The reverse is also true. You may have so many events that it would be silly to cram them on one long page, one after the other. You may even need to set up some event categories, for example academic calendar events versus cultural events.</p>
<p>There are several Joomla solutions (including a couple extensions) that I have used for both ends. In order from simple to complex:</p>
<ul>
<li>Simple Joomla article that is manually edited. Requires no additional customer training, but only works for small numbers of events.</li>
<li>Get a free Google Calendar and embed it. Learn to live with the lack of full control over its styling.</li>
<li>EventList extension (schlu.net). This is a great open-source extension that displays upcoming events in a very straightforward way. It also lets visitors register (though not pay for) events. With this you can offer visitors RSS feeds and iCal formats of your calendar as well. iCal (.ics) files can be imported into Microsoft Outlook and Google Calendar, and many other calendar applications. It does NOT offer a traditional month/week view except as a module, but that should be fine. Take a look at this recent <a href="http://www.brooklynmusicschool.org/calendar" target="_blank">calendar I did for the Brooklyn Music School</a>.</li>
<li>JCal Pro, the aptly named Events Calendar (a.k.a. JEvents), for displaying a month, week, or more at a time. JEvents also integrates with DT Register and Community Builder to allow for paid event registrations.</li>
<li>Take a look at the <a href="http://extensions.joomla.org/extensions/calendars-&amp;-events">calendar extensions at Joomla&#8217;s site</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/07/28/events-and-calendars-in-joomla/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rounded form elements with CSS3</title>
		<link>http://www.virginia-web-designers.com/2009/07/08/rounded-form-elements-with-css3/</link>
		<comments>http://www.virginia-web-designers.com/2009/07/08/rounded-form-elements-with-css3/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 01:52:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=69</guid>
		<description><![CDATA[Modern CSS3-compatible browsers such as Firefox and other Mozilla flavors now support rounded corners for form elements. While Internet Explorer 8 may be an improvement over 7, it still does not support the CSS3 standard as well as might be hoped for. Here is an example of what can be achieved: Without CSS3: With CSS3: [...]]]></description>
			<content:encoded><![CDATA[<p>Modern CSS3-compatible browsers such as Firefox and other Mozilla flavors now support rounded corners for form elements. While Internet Explorer 8 may be an improvement over 7, it still does not support the CSS3 standard as well as might be hoped for. Here is an example of what can be achieved:</p>
<h2>Without CSS3:</h2>
<form>
<input name="subject" type="text" /></form>
<form> <textarea name="subject"></textarea></form>
<form>
<input type="submit" value="submit" /> </form>
<h2><strong>With CSS3:</strong></h2>
<form>
<input style="-moz-border-radius: 5px;-webkit-border-radius: 5px;background-color:#444;color:#fff;border: 1px solid #CCC;" name="subject" type="text" /></form>
<form> <textarea style="-moz-border-radius: 10px;-webkit-border-radius: 10px;background-color:#222;border: 2px solid #fff;color:#fff;" name="subject"></textarea></form>
<form>
<input type="submit" value="submit" /> </form>
<p>Note that the second textarea element has a thicker white border, different background color, and different text color. It is easily possible to assign different border colors and radiuses to different elements. It is important to set a background color, even if it is to be the same as the page background color. I have found that if you don&#8217;t, your rounded borders may not be displayed.</p>
<h2><strong>Sample HTML/inline CSS code:</strong></h2>
<blockquote><p><span style="color: #888888;">&lt;form&gt;</span></p>
<p><span style="color: #888888;">&lt;input style=&#8221;-moz-border-radius: 5px;-webkit-border-radius: 5px;background-color:#444;color:#fff;border: 1px solid #CCC;&#8221; name=&#8221;subject&#8221; type=&#8221;text&#8221; /&gt;</span></p>
<p><span style="color: #888888;">&lt;textarea style=&#8221;-moz-border-radius: 10px;-webkit-border-radius: 10px;background-color:#222;border: 2px solid #fff;color:#fff;&#8221; name=&#8221;subject&#8221;&gt;&lt;/textarea&gt;</span></p>
<p><span style="color: #888888;">&lt;input type=&#8221;submit&#8221; value=&#8221;submit&#8221; /&gt;</span></p>
<p><span style="color: #888888;">&lt;/form&gt;</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/07/08/rounded-form-elements-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PNG fix for IE6</title>
		<link>http://www.virginia-web-designers.com/2009/06/20/png-fix-for-ie6/</link>
		<comments>http://www.virginia-web-designers.com/2009/06/20/png-fix-for-ie6/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 11:28:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=64</guid>
		<description><![CDATA[Designing and modifying templates (especially for Joomla) I am increasingly finding PNG&#8217;s incredibly useful because they maintain JPG quality but support transparency. Problem is (you guessed it), Internet Explorer 6 doesn&#8217;t like them. I overcome this by adding this line of CSS into my template&#8217;s HTML file&#8217;s &#60;head&#62;&#60;/head&#62; section &#8211; in this case a Joomla [...]]]></description>
			<content:encoded><![CDATA[<p>Designing and modifying templates (especially for Joomla) I am increasingly finding PNG&#8217;s incredibly useful because they maintain JPG quality but support transparency. Problem is (you guessed it), Internet Explorer 6 doesn&#8217;t like them. I overcome this by adding this line of CSS into my template&#8217;s HTML file&#8217;s &lt;head&gt;&lt;/head&gt; section &#8211; in this case a Joomla 1.5 template&#8217;s index.php file:</p>
<p><span style="color: #888888;">&lt;!&#8211;[if lt IE 7]&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
img, div {<br />
behavior: url(&lt;?php echo JURI::base().&#8221;templates/&#8221;.$this-&gt;template; ?&gt;/iepngfix.htc);<br />
}<br />
&lt;/style&gt;<br />
&lt;![endif]&#8211;&gt;</span></p>
<p><a href="http://www.superiormotive.com/iepngfix.htc">Download iepngfix.htc</a></p>
<p>I have used this successfully on numerous sites. There are actually some Joomla plugins that achieve the same thing, however I prefer retaining manual control over these things right in the template. If IE6 gives a JavaScript popup warning about DIV elements, you can try to change the above by removing the DIV from the CSS code. Reload and see if the layout has been broken or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/06/20/png-fix-for-ie6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upcoming art show(s) in Boston</title>
		<link>http://www.virginia-web-designers.com/2009/06/17/upcoming-art-shows-in-boston/</link>
		<comments>http://www.virginia-web-designers.com/2009/06/17/upcoming-art-shows-in-boston/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:53:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[redesign]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/?p=46</guid>
		<description><![CDATA[For those of you who will be in Boston in July, check out JP Licks in Jamaica Plain for my sister&#8217;s artwork. She lists her upcoming shows and past shows on her site. Hers is also a site I recently converted to Joomla.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-47" style="margin-left: 10px; margin-right: 10px;" title="new_leaf" src="http://www.superiormotive.com/wp-content/uploads/2009/06/new_leaf-300x225.jpg" alt="new_leaf" width="160" height="120" />For those of you who will be in Boston in July, check out JP Licks in Jamaica Plain for my sister&#8217;s artwork. She lists her <a href="http://www.joellevoogt.com/upcoming" target="_blank">upcoming shows</a> and past shows on her site. Hers is also a site I recently converted to Joomla.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/06/17/upcoming-art-shows-in-boston/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Armitage Gone Dance Think Punk Videos &amp; photos</title>
		<link>http://www.virginia-web-designers.com/2009/06/17/armitage-gone-dance-think-punk-videos-photos/</link>
		<comments>http://www.virginia-web-designers.com/2009/06/17/armitage-gone-dance-think-punk-videos-photos/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:35:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[armitage gone dance]]></category>
		<category><![CDATA[award]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[lou reed]]></category>
		<category><![CDATA[new york]]></category>

		<guid isPermaLink="false">http://www.superiormotive.com/2009/06/17/armitage-gone-dance-think-punk-videos-photos/</guid>
		<description><![CDATA[In 2006 I designed a brand-new (and, incidentally, award-winning) site for a New York dance company called called Armitage Gone! Dance. At that time it was designed using Dreamweaver templates, and it was maintained using Adobe Contribute. I recently converted it to Joomla. Check out the new video and photos of Armitage Gone Dance&#8217;s 2009 [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_50" class="wp-caption alignright" style="width: 210px"><img class="size-full wp-image-50" title="lou-reed_laurie-anderson" src="http://www.superiormotive.com/wp-content/uploads/2009/06/lou-reed_laurie-anderson.jpg" alt="Lou Reed, Laurie Anderson, and Karole Armitage" width="200" height="125" /><p class="wp-caption-text">Lou Reed, Laurie Anderson, and Karole Armitage</p></div></p>
<p>In 2006 I designed a brand-new (and, incidentally, <a title="it won a DesignFirms award in June 2006" href="http://www.designfirms.org/awards/web/archive/2006/06/" target="_blank">award-winning</a>) site for a New York dance company called called Armitage Gone! Dance. At that time it was designed using Dreamweaver templates, and it was maintained using Adobe Contribute. <a title="view project details" href="http://www.plethoradesign.com/portfolio/view.php?id=54" target="_blank">I recently converted it to Joomla</a>.</p>
<p>Check out the new <a href="http://www.armitagegonedance.org/support/gala-events/52" target="_blank">video and photos of Armitage Gone Dance&#8217;s 2009 Think Punk event</a>. Among those in attendance were Lou Reed, Calvin Klein, David Salle, Karole Armitage, Jeff Koons, and Rufus Wainwright. I like to follow my customers&#8217; growth, and hold out hopes of being invited so I can get to meet some of these people &#8230; if you&#8217;re reading, Lou, contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.virginia-web-designers.com/2009/06/17/armitage-gone-dance-think-punk-videos-photos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

