<?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>Web Design &#38; Development &#124; Everett, Skagit &#38; Seattle WA</title>
	<atom:link href="http://www.fdgweb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fdgweb.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 00:36:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Web Designer &amp; Developer Doorbell Gong</title>
		<link>http://www.fdgweb.com/web-designer-developer-doorbell-gong/</link>
		<comments>http://www.fdgweb.com/web-designer-developer-doorbell-gong/#comments</comments>
		<pubDate>Fri, 24 May 2013 00:31:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1159</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 707px"><a href="http://www.fdgweb.com/contact/"><img class="    " style="margin: 3px;" alt="FDG Web Doorbell Gong Web Design Firm" src="http://www.fdgweb.com/images/fdgweb_gong.jpg" width="697" height="806" /></a><p class="wp-caption-text"><strong>What can we say, we needed a way for clients to let us know they were in the lobby. The sounds also cuts through even the deepest coding trance.</strong></p></div>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/web-designer-developer-doorbell-gong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to display multi-column subcategories in CS-Cart</title>
		<link>http://www.fdgweb.com/how-to-display-multi-column-subcategories-in-cs-cart/</link>
		<comments>http://www.fdgweb.com/how-to-display-multi-column-subcategories-in-cs-cart/#comments</comments>
		<pubDate>Mon, 13 May 2013 22:28:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OSCommerce / CSCart / Zen Cart / Virtuemart]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1155</guid>
		<description><![CDATA[Often we want to display multiple categories in CS-cart at a category and sub-category (or, sub-sub-sub-category) level. We&#8217;re not sure why CS Cart doesn&#8217;t offer this out of the box, but for future reference, you should bookmark this so you now &#8230; <a href="http://www.fdgweb.com/how-to-display-multi-column-subcategories-in-cs-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Often we want to display multiple categories in CS-cart at a category and sub-category (or, sub-sub-sub-category) level. We&#8217;re not sure why CS Cart doesn&#8217;t offer this out of the box, but for future reference, you should bookmark this so you now how to implement this in new cs-cart builds</p>
<p><a href="http://kb.cs-cart.com/display-subcategories-multicolumns#3">http://kb.cs-cart.com/display-subcategories-multicolumns#3</a></p>
<p>If you have a question about CS-Cart, please feel free to contact us to see if we can help you.</p>
<p>We&#8217;ve recently deployed:</p>
<ul>
<li><a style="line-height: 15px;" href="http://www.cascadestoneworks.com" target="_blank">Coverall Stone</a><span style="line-height: 15px;"> / Cascade Stone Works &#8211; a CS-Cart build that sells by the Sq. ft for tile, pebble tile and hardscapes. It also includes a freight integration for CS-Cart (CSCart freight module add-on) that also offers multiple shipping options depending on what you have in your cart. We literally have it able to calculate up to 20,000 lbs of different materials ranging from stone columns -to- boxes of tile -to- fountains and accessories.</span></li>
<li><a title="Bamboo Flooring" href="http://www.plyboo.com/plyboodirect" target="_blank">Bamboo Flooring</a> by Plyboo.com &#8211; an Estees &amp; CS-Cart deployment with custom buying options and shipping methods, a SugarCRM to CS-Cart integration as a chat system.</li>
</ul>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/how-to-display-multi-column-subcategories-in-cs-cart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find &amp; replace text in a MySQL Database</title>
		<link>http://www.fdgweb.com/how-to-find-replace-text-in-a-mysql-database/</link>
		<comments>http://www.fdgweb.com/how-to-find-replace-text-in-a-mysql-database/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 19:59:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mambo / Joomla / Drupal]]></category>
		<category><![CDATA[OSCommerce / CSCart / Zen Cart / Virtuemart]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1144</guid>
		<description><![CDATA[a function we use a lot is to quickly find and replace all references to a piece of text, word, whatever .. in  a database table or the database as a whole. Common usages are: Find and replace a word &#8230; <a href="http://www.fdgweb.com/how-to-find-replace-text-in-a-mysql-database/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>a function we use a lot is to quickly find and replace all references to a piece of text, word, whatever .. in  a database table or the database as a whole.</p>
<p>Common usages are:</p>
<ul>
<li>Find and replace a word across all WordPress posts</li>
<li>Find and replace an HTMl Tag that appears in a line of code in a database</li>
<li>Find and replace part of a URL or image reference in a database</li>
<li>Find and replace an incorrect spelling in a database table or piece of content</li>
</ul>
<p>As a baseline, the command is easy:</p>
<blockquote>
<pre><code> UPDATE `your_table_name` SET `your_field_name` = replace(your_field_name, 'text you want to find', 'text you want to replace')</code></pre>
</blockquote>
<p>That&#8217;s it. It is that simple. Of course, you will want to backup your database before doing this like a good little developer, but we assume you already knew that. You can execute this command from command line within your MySQL account, or you can do this in a web-based tool such as PHPMyAdmin.</p>
<p>&nbsp;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/how-to-find-replace-text-in-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Drupal in a Cluster Environment with a Load Balancer</title>
		<link>http://www.fdgweb.com/running-drupal-in-a-cluster-environment/</link>
		<comments>http://www.fdgweb.com/running-drupal-in-a-cluster-environment/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 14:15:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1133</guid>
		<description><![CDATA[We recently moved a client&#8217;s deployment of Drupal that was running on a single server environment, meaning one dedicated server running both Apache as the web server and MySQL as localhost on the server itself. This is a very common &#8230; <a href="http://www.fdgweb.com/running-drupal-in-a-cluster-environment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We recently moved a client&#8217;s deployment of Drupal that was running on a single server environment, meaning one dedicated server running both Apache as the web server and MySQL as localhost on the server itself. This is a very common configuration for systems and sites that grow beyond their single server&#8217;s ability to meet the demands of your traffic.</p>
<p>You can get an overview on <a title="How to grow a dedicated server into a cluster" href="http://www.fdgweb.com/upgrading-your-server-to-a-cluster-of-servers/">how to grow a single dedicated server or VPS into a cluster</a> in our previous post.</p>
<p>You can view our <a title="Drupal Cluster" href="http://www.liquidweb.com/?RID=templatekit3">Drupal Cluster</a> &amp; <a title="Drupal Load Balancer" href="http://www.liquidweb.com/?RID=templatekit3">Drupal Load Balancer</a> vendor here.</p>
<p><strong>Mo&#8217; users Mo&#8217; Problems</strong>.</p>
<p>Upgrading Drupal to run on a cluster involves changing the way you think about the resource calls to Drupal&#8217;s individual components.</p>
<p>Our client&#8217;s traffic averaged about 800,000 visitors<strong> - A DAY, </strong>essentially jumping from about 120,000 daily visits, which the single server setup, as large as it was, was struggling to keep up.</p>
<p>With that many visitors, it is not always easy to just identify the bottlenecks from looking at the server side of the equation, its processes, MySQL usage and so on. This is because almost a million visitors a day magnifies everything to where even the smallest process running at a single point in time has a great impact.</p>
<p>Since we did not develop this client&#8217;s sites, we did not have the luxury of building things in a scalable fashion with running Drupal on a cluster as the intended goal. Instead we took the path of least resistance and began changing, optimizing, shutting off things as so:</p>
<p><strong>You&#8217;re logging what?</strong></p>
<p>In a world where Google analyitics knows all and see all, you probably do not need to be logging every piece of information Drupal or your server can collect. With high traffic Drupal sites, every request counts and if your Drupal build is logging to the database, these tables are going to grow, and grow and grow in size. More tables, more things to get fragmented and corrupt. We removed a tracking module one site had that had MILLIONS of entries per day and was GIGS in size, greater than the rest of the databases on this server combined. Removing that module increase performance significantly and reduced the load of MySQL.</p>
<p>As long as you do not need the stats for some other reason you should consider:</p>
<ul>
<li>Turn off Drupal logging, Drupal Error Reporting and any other information being collected.</li>
<li>Turn off statistics packages running on your servers, including AWStats, Webalizer, Analog or Logaholic Stats packages.</li>
<li>Turn off statistics processing as some of these jobs run for hours and hours, even days if you are dealing with logs involving millions of visits a day.</li>
<li>Turn off error logging or have a process for paring down logs to a reasonable level, even small errors and warning add up when talking traffic of this magnitude.</li>
<li>Consider how you are logging and storing you /var/logs data. If you server setup is using multiple web servers at a glance these logs are less useful if you are using a load balancer that is splitting traffic across your network. I am not saying you do not need these, I am just saying that with &#8220;great traffic comes great responsibility&#8221; and you should set up a retainment policy for logs that does not increase your load or create storage problems. We encountered a 300GIG instance that ran out of storage within 1.5 days because it was logging everything and also had a runaway caching system, which leads us to:</li>
</ul>
<p><strong>Cache me if you can!</strong></p>
<p>Hey, this pun works and you know it. Drupal caching can be very powerful and a boon to your deployment of Drupal in a cluster environment. The two caches we usually work with are Memcache/Memcached and Varnish. Memcache you set up as a service and run continuously, while Varnish is code-side.</p>
<p>Drupal 7+ has its own caching system built-in while older versions of Drupal, 5,6 etc often reply on third party modules like Boost cache.</p>
<p><strong>IMPORTANT!</strong> Depending on the nature of your website and whether you make use of unique dynamic content such as :</p>
<ul>
<li>Ad-serving technologies, where each unit carries unique information.</li>
<li>Video-serving technologies, where each load is considered unique.</li>
<li>Other dynamic content such as comments, related content (off-site usually) or syndication partnerships.</li>
</ul>
<p>Depending on how your caching is set up to cache these blocks, templates or content that contains additional dynamic content (yes, even a single unique ID will trigger a whole new page to be cached), you can quickly overwhelm your CPU or worse yet, fill up your disk with millions and millions of cache files when talking about the traffic a cluster would probably warrant.</p>
<p><strong>The Drupal Admin on a cluster &#8211; logging into Drupal</strong></p>
<p>When you have a cluster of servers running Drupal, you have to plan ahead for you you are going to administer the website or do future development.</p>
<p>Obviously, you could make changes and then push them to each individual web server individually, but this is inefficient  slow, may cause downtime or cause problems with your cluster during the time to takes you to put or get files since only one server will have the updates at a time.</p>
<p>This means you have to create a deployment strategy involving something like a versioning system, Git, Github or other deployment system, which we will cover in a different post.</p>
<p><strong>Drupal is now in session.</strong></p>
<p>As far as staying logged into Drupal on a cluster with an external database server, it is all about the load balancer I&#8217;m afraid. We get our Drupal Loadbalancer</p>
<p>Your load balancer will have a mode called &#8220;session persistence&#8221; which needs to be set in order to stay logged into Drupal&#8217;s admin. If this is not set, every request you make may ping pong off the different servers in your cluster and you will get the dreaded &#8220;you are not authorized to access this site&#8221; message.</p>
<p>The reason is simple, if you are not using session persistence with your load balancer and Drupal, then you are logging into one session on one server, then the next click &#8220;may&#8221; have you on a different server, then another and so on.</p>
<p>Even if you continued to log in over and over again, the sessions would not match and Drupal will kick you out.</p>
<p>With session persistence, you stay logged in and so long as all of your Web Servers in the cluster are using the one remote database host, the changes you make will appear fine since they are in the single database.</p>
<p>It is also important when you create your database server to have your host or data center put the database server on a private network which will allow the web server to access the database lightning fast instead of going over traditional network connections.</p>
<p>This ends our post for now, next time we&#8217;ll cover other optimization of Drupal in a Cluster environment and focus more on how your development and deployment needs to change to accommodate such a monster. Click here if you need a good vendor for putting Drupal in the Cloud and<a title="Drupal Enterprise hosting" href="http://www.liquidweb.com/?RID=templatekit3"> Drupal enterprise hosting</a>.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/running-drupal-in-a-cluster-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade your dedicated server to a cluster of servers</title>
		<link>http://www.fdgweb.com/upgrading-your-server-to-a-cluster-of-servers/</link>
		<comments>http://www.fdgweb.com/upgrading-your-server-to-a-cluster-of-servers/#comments</comments>
		<pubDate>Fri, 01 Feb 2013 17:44:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cPanel / PLESK / Windows]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[The Business of Development]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1128</guid>
		<description><![CDATA[How to upgrade a server to a cluster of servers. One of the things that a website or server may have to do in its lifetime is scale up to a cluster of servers. What&#8217;s a cluster? A cluster can &#8230; <a href="http://www.fdgweb.com/upgrading-your-server-to-a-cluster-of-servers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2><strong>How to upgrade a server to a cluster of servers.</strong></h2>
<p>One of the things that a website or server may have to do in its lifetime is scale up to a cluster of servers.</p>
<p><strong>What&#8217;s a cluster?</strong></p>
<p><strong></strong>A cluster can mean several things, but at a bare minimum it means &#8220;more than one server&#8221;. Yes, I realize that is not all that helpful to understanding all of this just yet, but stay with me.</p>
<p><span style="text-decoration: underline;">Typical cluster configurations:</span></p>
<p><strong>One web server &#8211; One database server:</strong></p>
<p>With this set up we do not need to employ a load balancer that sends traffic requests to one or the other serve.</p>
<p><strong>Wait. What&#8217;s a load balancer?</strong></p>
<p>A load balancer is a device that sends traffic to one or more location. It can be set to do this a number of different ways, including:</p>
<ul>
<li>Round robin &#8211; where it alternates between each server in turn.</li>
<li>Lowest process &#8211; where it sends it to the server with the least number of processes running (lesser bogged down of servers on load balancer)</li>
<li>Historical &#8211; the load balancer keeps track of which server is better to send traffic to at a given time. This is helpful if one or more of your servers has periods where it consumes more resources, like during scheduled backups, log analysis, data imports, etc.</li>
</ul>
<p>You set up your different domains, sites, etc to point their A records at the load balancer rather than to a particular server.</p>
<p>The first server just runs Apache (Web Server) or IIS (Windows Web Server) and the second server just runs the database server (MySQL, MS SQL, etc)</p>
<p>You update your web applications to run off the database server, often by IP address or using a private network.</p>
<p>This is helpful for applications where the MySQL load interferes with the Web Server or vice versa,</p>
<p><strong>Load Balancer + 2 Web Servers running their own Databases</strong></p>
<p>In this configuration you have a load balancer that detects and sends traffic to one or more servers, each running as a separate instance of your entire website or web application.</p>
<p>The assumption is that you either:</p>
<ol>
<li>Do not need real time synchronization of data between each instance/server &#8211; meaning you probably do not have users that add content, comments, posts, transactions to the server. This is helpful for static sites or sites that delivery one-way content to its audience.-or-</li>
<li>You have implemented an rsynch of files or other method for keeping data up to date. In short, having two whole servers means two places to update and edit and is not the best configuration for a lot of businesses.</li>
</ol>
<p><strong>Load Balancer + 2 Web Servers and a third database server.</strong></p>
<p>Here&#8217;s where we get to true performance enhancing and scalability. (Also, is it just me or with the whole Lance Armstrong thing has that word lost all meaning?)</p>
<p>With a 3 server setup you offload the database functions to one server, balance two web servers and set each of them up to look at just that single database server.</p>
<p>The challenges with this are usually:</p>
<ol>
<li>You need to develop a workflow for working on your server&#8217;s websites and web applications. Whether this means you log into all web server to push updates, or you develop an rsynch script or other method to copy files &#8211; or you make use of a CVS (Concurrent Versioning System) to deploy your code across multiple platforms at once &#8211; you will need to start thinking of your design &amp; development in terms of working on a network and not in a single server or single account setting.</li>
<li>Logging into CMS systems like Drupal, WordPress, Joomla or any other administration panel becomes a nightmare unless you set up your local environment to look at just one server (e.g. change your localhost file) &#8211; or, you work on a local server and push your changes up that way.</li>
</ol>
<p><strong>Summary:</strong> We&#8217;ve assisted a number of companies in upgrading to clusters for single server (or VPS. shared hosting, whatever) and each deployment is uniquely different based on what you want to accomplish.</p>
<p>Usually, a client has or will be experiencing such high traffic or resource usage that their current server is overwhelmed and simply re-sizing the server is not going to cut it for them. This is where we develop a strategy for re-sizing to a cluster based on the individual domains, sites and web application that are running on the server.</p>
<p>The most overlooked items we see clients having to deal with when they resize to a cluster are:</p>
<ul>
<li>Making Drupal run on a cluster and dealing with persistent logins and caching.</li>
<li>Making WordPress run on a cluster of servers and dealing with plugins looking for files, cache file, tmp files or other resources that are not present fuly in a two server environment</li>
<li>Making Joomla run on a cluster where administrator are not staying logged or need better session management.</li>
<li>Making forums run in a cluster where posts and comments come in so fast that any delay or lag creates chaos and frustration</li>
<li>Making CS-Cart, Zen Cart, Magento, OSCommerce or any other ecommerce function, keep users logged in, keep them able to checkout and not dump their cart now that they are running on a cluster.</li>
</ul>
<p>Upgrading to a cluster is not necessarily the saving grace or the next logical step for a site that needs to scale. Often talking with a programmer can reveal other ways that you can adjust your user experience and gain additional performance out of your current system.</p>
<p><strong>A note on shared hosts.</strong></p>
<p>If you are on a shared host trying to do this, there&#8217;s probably no hope for you. Sorry, we&#8217;re not talking the same language at this point. A shared account&#8217;s next step is to move up to a VPS (Virtual Private Server). A VPS&#8217;s next step is to move to a larger VPS or true dedicated system running in its own space or hardware.</p>
<p>After that, it&#8217;s time to talk clusters - which you can<a title="Contact Seattle Web Design" href="http://www.fdgweb.com/contact/"> contact us</a> any time on.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/upgrading-your-server-to-a-cluster-of-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable or remove CS Cart Upgrade notification or warning</title>
		<link>http://www.fdgweb.com/how-to-disable-or-remove-cs-cart-upgrade-notification-or-warning/</link>
		<comments>http://www.fdgweb.com/how-to-disable-or-remove-cs-cart-upgrade-notification-or-warning/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 21:34:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OSCommerce / CSCart / Zen Cart / Virtuemart]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1122</guid>
		<description><![CDATA[We often get requests for how you can disable the CS Cart upgrade warnings or notifications that you get in the pop-up modal window inside the admin area of CS-Cart. Often, clients will have us customize their CS-Cart builds in such as &#8230; <a href="http://www.fdgweb.com/how-to-disable-or-remove-cs-cart-upgrade-notification-or-warning/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We often get requests for how you can disable the CS Cart upgrade warnings or notifications that you get in the pop-up modal window inside the admin area of CS-Cart.</p>
<p>Often, clients will have us customize their CS-Cart builds in such as may that making use of any automatic upgrade process will overwrite core functions in their CS Cart build.</p>
<p>Some recent custom CS-Cart develop projects of ours have included:</p>
<ul>
<li>Creating an ApparelMagic to CS-Cart integration bridge as an add-on (or call it Apparel Magic CS-Cart Add-on if you prefer) that syncs inventory in ApparelMagic to CS-Cart&#8217;s inventory process.</li>
<li>Creating a custom square foot calculator for CS-Cart</li>
<li>Creating a California Sales Tax add-on for adhering to the Department of Revenue city-tax rate system.</li>
<li>Custom shipping options for CS-Cart LTL Freight and Fed Ex ground (so it picks which is better for a particular order)</li>
<li>A custom framing application for CS-Cart that allows users to select images and checkout with framing options.</li>
<li>CS-Cart and online eLearning integration, where you can see online courses through CS-Cart and have it unlock.</li>
</ul>
<p>So, in the end .. you can see where it would not really be wise to reply on an upgrader included with a cart like CS-Cart to try and upgrade all of your files automatically.</p>
<blockquote><p>To disable such notices, you browse to:</p>
<pre>fn_set_notification('W', fn_get_lang_var('notice'), $msg, 'S', 'upgrade_center');</pre>
<p>And comment out this line. Easy. Fast. Effective.</p></blockquote>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/how-to-disable-or-remove-cs-cart-upgrade-notification-or-warning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to edit or hack your local hosts file</title>
		<link>http://www.fdgweb.com/how-to-edit-or-hack-your-local-hosts-file/</link>
		<comments>http://www.fdgweb.com/how-to-edit-or-hack-your-local-hosts-file/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 17:39:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[The Business of Development]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1120</guid>
		<description><![CDATA[As a designer, developer or even a store owner &#8211; you may want to be able to look at a website that the DNS currently does not point to. This is often done during development or the design processes. Here&#8217;s &#8230; <a href="http://www.fdgweb.com/how-to-edit-or-hack-your-local-hosts-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As a designer, developer or even a store owner &#8211; you may want to be able to look at a website that the DNS currently does not point to. This is often done during development or the design processes. Here&#8217;s how you accomplish this.</p>
<p>Hosts file instructions:</p>
<p>Make sure you shut down your browser before doing anything to the hosts file, or the browser may not pick up the changes you have made.</p>
<p>your hosts file is located here:</p>
<p>C:\WINDOWS\system32\drivers\etc\hosts</p>
<p>There is no file extension for your hosts file, you will need to open it in notepad or another text editing program.</p>
<p>After the preamble on the page, you will find at least one entry:</p>
<p>127.0.0.1 localhost</p>
<p>below this, type the line in this format</p>
<p>[IP ADDRESS] [DOMAIN NAME]</p>
<p>e.g.</p>
<p>192.168.1.1 www.whatever.com</p>
<p>&#8230;then save and close the hosts file (note &#8211; you do not need brackets.</p>
<p>&#8230;now open your browser and go to that url/domain, you should be able to see the site, log in as you normally would to see your mail, website, development area &#8211; whatever.</p>
<p>This is what &#8220;hacking your localhost file&#8221; means.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/how-to-edit-or-hack-your-local-hosts-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seattle Zen Cart Developers &#8211; Import scripts for ZenCart &amp; Squirrelcart</title>
		<link>http://www.fdgweb.com/seattle-zen-cart-developers-import-scripts-for-zencart-squirrelcart/</link>
		<comments>http://www.fdgweb.com/seattle-zen-cart-developers-import-scripts-for-zencart-squirrelcart/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 16:44:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OSCommerce / CSCart / Zen Cart / Virtuemart]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1116</guid>
		<description><![CDATA[Recently we released a free set of scripts to import data into Zen Cart from Squirrelcart as well as a series of scripts for importing customer data. You can view our SquirrelCart Zen Cart import scripts as well as our &#8230; <a href="http://www.fdgweb.com/seattle-zen-cart-developers-import-scripts-for-zencart-squirrelcart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Recently we released a free set of scripts to import data into Zen Cart from Squirrelcart as well as a series of scripts for importing customer data. You can view our <a title="Squirrelcart to Zen cart Import scripts" href="http://templatekit.com/stuff/2013/01/squirrelcart-to-zen-cart-import-scripts/">SquirrelCart Zen Cart</a> import scripts as well as our <a title="Import Customers to Zen Cart" href="http://templatekit.com/stuff/2013/01/import-customers-into-zen-cart-script-php/">Zen Cart Customer Import</a> scripts.</p>
<p>If you need help with a project like this, anf we mean any project involving importing data to or between:</p>
<ul>
<li>OSCommerce to Zen Cart Import</li>
<li>OSCommerce to CS-Cart Import</li>
<li>Zen Cart to Magento Import</li>
<li>OSCommerce to Magento Import</li>
<li>Zen cart to CS-Cart Import</li>
<li>OSCommerce to Shopify Import</li>
<li>Zen cart to Shopify Import</li>
<li>Yahoo Store to CS-Cart import</li>
<li>any other cart -to -cart imports.</li>
</ul>
<p>We&#8217;ve love to assist you with a custom quote. Just use our contact page to get in touch.</p>
<p>&nbsp;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/seattle-zen-cart-developers-import-scripts-for-zencart-squirrelcart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commenting Code Standards</title>
		<link>http://www.fdgweb.com/commenting-code-standards/</link>
		<comments>http://www.fdgweb.com/commenting-code-standards/#comments</comments>
		<pubDate>Thu, 27 Dec 2012 00:33:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[The Business of Development]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1065</guid>
		<description><![CDATA[Commenting Code Standards The following is an example of a code commenting standard we use, whetehrver applicable &#8211; and it doesn&#8217;t matter if it is to be used for HTML or scripting languages. Comment indicator Start &#8211; FDG &#8211; Name &#8230; <a href="http://www.fdgweb.com/commenting-code-standards/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Commenting Code Standards</strong></p>
<p>The following is an example of a code commenting standard we use, whetehrver applicable &#8211; and it doesn&#8217;t matter if it is to be used for HTML or scripting languages.</p>
<blockquote><p>Comment indicator Start &#8211; FDG &#8211; Name &#8211; Date as MM-DD-YYYY Comment indicator<br />
php, javascript, css<br />
/*Start &#8211; FDG &#8211; Name &#8211; MM-DD-YYYY*/<br />
smarty<br />
{*Start &#8211; FDG &#8211; Name &#8211; MM-DD-YYYY*}<br />
HTML</p></blockquote>
<p>or in the case of HTML:</p>
<blockquote><p>&lt;!&#8211; FDG &#8211; Name &#8211; MM-DD-YYYY &#8211;&gt;</p>
<p>&nbsp;</p>
<p>Note &#8211; Not all code will always be commented, otherwise, before you know it &#8211; it would become bloated in of itself.</p></blockquote>
<p><!--Start - FDG - Name - MM-DD-YYYY--></p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/commenting-code-standards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lotus Notes &amp; HTML Email</title>
		<link>http://www.fdgweb.com/lotus-notes-html-email/</link>
		<comments>http://www.fdgweb.com/lotus-notes-html-email/#comments</comments>
		<pubDate>Mon, 24 Dec 2012 19:59:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://www.fdgweb.com/?p=1056</guid>
		<description><![CDATA[NOTE &#8211; this is an archival article .. and we generally avoid TABLES now at all costs, however they still sometimes do have their place in HTML Email when you need to control some absolutes like width and table data &#8230; <a href="http://www.fdgweb.com/lotus-notes-html-email/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>NOTE &#8211; this is an archival article .. and we generally avoid TABLES now at all costs, however they still sometimes do have their place in HTML Email when you need to control some absolutes like width and table data cells.<br />
Lotus Notes seems to be a source of frustration for many marketing, designers and …. other folks.</p>
<p>As evidenced by this email message we received recently from one reader:</p>
<blockquote><p>Tom,</p>
<p>Lotus Notes [DELETED] won’t display [DELETED] properly. I’m ready to [DELETED] throw the [CENSORED, DELETED, ETC] using a pogo stick.</p>
<p>-Ted</p></blockquote>
<p>We feel your pain Ted..really..we do.</p>
<p>Lotus Notes can be a very frustrating Email client to test your HTML Email Messages against. There is a general lack of information on how the Lotus Notes email client renders and displays HTML for the end-user. Many designers and firms tend to skip over the whole Lotus Notes compatibility issue due to the fact that the majority of recipients received</p>
<p>The problem is that there is a tremendous amount of corporate Lotus Notes users. One client of ours found out after a brief survey (and all of the negative feedback from their mailings to users who received a hodgepodge of mismatched code from them) &#8211; that nearly 40% of their entire mailing list were Lotus Notes clients due to the fact that their mailing list was made up of corporate clients.</p>
<p>So, whether you realize it or not, Lotus Notes may make a very significant portion of your existing mailing list. Unlike AOL recipients, who you can easily filter and send alternate content to as you mail, Lotus Notes users look and act just like the rest of us. Scary.</p>
<p>That being said, let’s dive into some of the more common concerns we get on an almost daily basis. The following is a guide which you may find helpful in diagnosing and trouble shooting common Lotus Email Marketing issues. Due to the wide variety of settings, open source tweaks and other variables that separate the Lotus Environment from your more common Exchange &amp; Oracle systems, you’ll need to consult some of the resource links &amp; forums we’ve collected below for additional help. However, with the little bit we are going to arm you with, you’ll be able to fake it just fine.</p>
<blockquote><p>“Dear Template Kit,</p>
<p>A handful of employees that receive different emails in HTML format cannot seem to be able to view the pictures or images in Lotus Notes. The text seems to retain its HTML formatting, but the images appear as a box with a red “x” in them. What is going on?”</p>
<p>-Judy</p></blockquote>
<p>If you are a current user of Lotus Notes, whether R5.07 &#8211; R5.10 or even the R6 and beyond releases, you&#8217;ve no doubt heard much of the following:</p>
<blockquote><p>“We opened an HTML Email which looked fine in Outlook, but expanded to fill the entire page in Lotus, distorting the intended design, what happened?”</p></blockquote>
<p>We&#8217;ve documented numerous accounts where Lotus Notes has completely ignored some HTML coding during rendering, while displaying other HTML coding just fine. This is especially true when it comes to width parameters for TABLE tags, nested TABLE tags and finally, TABLE tags that are not constrained within another table.</p>
<p>Example:</p>
<table>
<tbody>
<tr>
<td>Foo on you!</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>Foo on you too!</td>
</tr>
</tbody>
</table>
<p>One of the “Best Practices” we&#8217;ve established in consulting for clients is using one master table to constrain your entire email. Often, clients will be taking bits and pieces of code from various projects, emails, websites, catalogs, etc and placing them into their HTML Email Marketing. All of the various parameters can easily conflict with one another when rendered. By “wrapping” your HTML Email in one master table, you help reign in all of those various width=% and other “ambiguous” attributes and parameters which can wreck havoc on how your HTML Email is rendered by the viewer’s browser.</p>
<p>Wrapping your HTML Email message in a master table and then setting the TABLE Padding to equal at least “5” is also a good way to thwart certain Web-based systems that only render your code from after the what comes after the BODY tag. A good example of the differences can be found here: TemplateKit.com</p>
<p>By comparison, our TemplateKit.com newsletter uses cell padding of “18”. While you do not have to be as zealous as we may be in this regard, it is better to be safe than sorry.</p>
<p>Lotus “Punts” our stylesheet!</p>
<p>HAH! The most common complaint we get around the office. Disappearing style sheets when rendered in Lotus Notes. Your meticulously designed, corporate schema conforming</p>
<p>You send an email to a Lotus client and suddenly the text appears HUGE! Your beautifully design masterpiece, lovingly handcrafted 14pt, Helvetica with slight shades on the sidebar tables can completely come undone. Almost exactly like we’ve displayed here &amp; here.</p>
<p>If you are going to be relying on style sheets to format your HTML Email, then you must be aware that Lotus just doesn’t like them. Most common style sheet applications are ignored by Lotus Notes nearly each and every time you try to use one. The same is often true for many Web-based email systems (Hotmail, AOL, Yahoo, etc) who want to avoid any style sheet conflicts between their own and yours.</p>
<p>If you are going to send HTML Email to a Lotus recipient, and your design is fairly dependent on that style sheet to keep the continuity of your design in place, then you can count on problems.</p>
<p>Except, if you do the following:</p>
<p>A normal Stylesheet Entry in thesection of your HTML document looks like this:</p>
<p>&gt;</p>
<p>Even if you link to your style sheets, you are still using the above format which is called into your document when rendered by the email client.</p>
<p>The above style sheet will immediately be ignored by most Lotus Notes clients, ruining your email. However, if you were to comment out each line of the Stylesheet one by one, then your style sheet is suddenly recognized by the Lotus Environment, like so:</p>
<p>&nbsp;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.fdgweb.com/lotus-notes-html-email/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
