<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Making It Up As I Go Along - Cartweaver</title>
			<link>http://www.miuaiga.com/index.cfm</link>
			<description></description>
			<language>en-us</language>
			<pubDate>Sun, 05 Sep 2010 13:07:51 -0600</pubDate>
			<lastBuildDate>Fri, 21 Aug 2009 10:48:00 -0600</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>michael@miuaiga.com</managingEditor>
			<webMaster>michael@miuaiga.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>michael@miuaiga.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>Making It Up As I Go Along</title>
				<link>http://www.miuaiga.com/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>Add alternate pricing option to Cartweaver</title>
				<link>http://www.miuaiga.com/index.cfm/2009/8/21/Add-alternate-pricing-option-to-Cartweaver</link>
				<description>
				
				A Cartweaver user asked how he can add alternate pricing to his Cartweaver ecommerce site. He was understandably concerned about the need to edit the database, and how much code editing might be involved. But if you take a systematic approach, it is pretty straightforward.

The first part of setting up any alternate pricing system is to get that info into your database and admin, so you can work with it. In this case, since the basic goal is to duplicate the existing &apos;price&apos; system, that is exactly what we are going to do.  [More]
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Fri, 21 Aug 2009 10:48:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2009/8/21/Add-alternate-pricing-option-to-Cartweaver</guid>
				
			</item>
			
			<item>
				<title>Marking current menu link with jQuery for CartWeaver categories</title>
				<link>http://www.miuaiga.com/index.cfm/2009/8/19/Marking-current-menu-link-with-jQuery-for-CartWeaver-categories</link>
				<description>
				
				Working on a heavily-modified &lt;a href=&quot;http://www.cartweaver.com&quot;&gt;Cartweaver Coldfusion E-Commerce&lt;/a&gt; shopping cart site, I have created a database-driven navigation menu containing links to each category. When a user clicks a link, the products in that category are displayed, and the menu link for that category is highlighted via a special &apos;currentLink&apos; css class.

Now of course I could use CF to add &apos; class=&quot;currentLink&quot; &apos; to the current category&apos;s menu option, but I am not doing this particular menu that way. Besides, it is just as easy with jQuery! 

&lt;code&gt;

&lt;cfif cgi.script_name contains &apos;results.cfm&apos; AND isDefined(&apos;url.category&apos;) and url.category gt 0&gt;
&lt;cfsavecontent variable=&quot;highlight&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){
$(&apos;.sideNav li a&apos;).removeClass(&apos;currentLink&apos;);
$(&apos;.sideNav li a[href=results.cfm?category=&lt;cfoutput&gt;#url.category#&lt;/cfoutput&gt;]&apos;).addClass(&apos;currentLink&apos;);
//end jQuery
});
&lt;/script&gt;
&lt;/cfsavecontent&gt;
&lt;cfhtmlhead text=&quot;#highlight#&quot;&gt;
&lt;/cfif&gt;

&lt;/code&gt;


Simple enough - if we are on the &apos;results&apos; page, and a category is defined in the url, remove the &apos;currentLink&apos; class from all existing menu items, find the one where the &apos;href&apos; attribute matches the current pagename and category, and add the class back to that link. Done.

The use of cfsavecontent and cfhtmlhead means I can put this right below the code that calls in my custom nav tag, for easy fine-tuning right where i need it (rather than in an external scripts file). 

Quick , easy, and done in a flash with jQuery! 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>jQuery</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Wed, 19 Aug 2009 17:15:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2009/8/19/Marking-current-menu-link-with-jQuery-for-CartWeaver-categories</guid>
				
			</item>
			
			<item>
				<title>Modify CartWeaver functionality based on customer login</title>
				<link>http://www.miuaiga.com/index.cfm/2009/7/23/Modify-CartWeaver-functionality-based-on-customer-login</link>
				<description>
				
				&lt;p&gt;A CartWeaver user asked the question:&lt;/p&gt;
&lt;p&gt;&quot;I want to have viewers Register (or, log in if they&apos;ve already  registered) before they can see anything in the cart. How would I do this?&quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&apos;s my quick answer:&lt;/p&gt;
&lt;p&gt;In Cartweaver, the trigger for whether someone is logged in can be found in the  &quot;client.customerID&quot; variable. &lt;br /&gt; &lt;br /&gt;So, any logic that you want to base on &apos;if a customer is logged in&apos;,  might look like this: &lt;br /&gt; &lt;br /&gt;&amp;lt;cfif isDefined(&apos;client.customerID&apos;) AND client.customerID gt 0&amp;gt; &lt;br /&gt;THE USER IS LOGGED IN &lt;br /&gt;&amp;lt;cfelse&amp;gt; &lt;br /&gt;THE USER IS NOT LOGGED IN, SHOW THE LOGIN FORM, HIDE THE CART CONTENT &lt;br /&gt;(or redirect to login page.. whatever) &lt;br /&gt;&amp;lt;/cfif&amp;gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;When someone logs in, their &apos;ID&apos; gets stored in the &apos;client&apos; scope. &lt;br /&gt;(Simply put, a variable that follows them around during their session on  the site). &lt;br /&gt;If they have a clientID defined and it is greater than &apos;0&apos;, we can  assume they have logged in already. &lt;br /&gt; &lt;br /&gt;( I use isDefined() as a safeguard, but actually the default for this  variable, if not logged in, is simply 0. ) &lt;br /&gt; &lt;br /&gt;You can safely wrap this line around anything you want to show ONLY if  somebody is logged in &lt;br /&gt; &lt;br /&gt;&amp;lt;cfif isDefined(&apos;client.customerID&apos;) AND client.customerID gt 0&amp;gt; &lt;br /&gt;&amp;nbsp;STUFF HERE &lt;br /&gt;&amp;lt;/cfif&amp;gt; &lt;br /&gt; &lt;br /&gt;And if you only want stuff to show when the person is NOT logged in &lt;br /&gt; &lt;br /&gt;&amp;lt;cfif (isDefined(&apos;client.customerID&apos;) AND client.customerID eq 0) OR not  isDefined(&apos;client.customerID&apos;)&amp;gt; &lt;br /&gt;&amp;nbsp;STUFF HERE &lt;br /&gt;&amp;lt;/cfif&amp;gt; &lt;br /&gt; &lt;br /&gt;Again, simpler version would be just: &lt;br /&gt;&amp;lt;cfif client.customerID eq 0&amp;gt; &lt;br /&gt; &lt;br /&gt;but I like to make sure the var exists when giving code examples, &lt;br /&gt;so you can put that code anywhere in your site you like.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<pubDate>Thu, 23 Jul 2009 22:57:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2009/7/23/Modify-CartWeaver-functionality-based-on-customer-login</guid>
				
			</item>
			
			<item>
				<title>Firefox: select onChange() when using keyboard - a solution</title>
				<link>http://www.miuaiga.com/index.cfm/2009/4/22/Firefox-select-onChange-when-using-keyboard--a-solution</link>
				<description>
				
				&lt;p&gt;Working on a CartWeaver site, modifying part of the routine whereby different prices are shown on the page when selecting various options from a dropdown list on the product details page, I noticed that in Firefox, the &apos;onchange&apos; event of the select list only fires if using a mouse, or when tabbing out of the select box using the keyboard ( select list loses focus).&lt;/p&gt;
&lt;p&gt;I guess it&apos;s always been this way, I just haven&apos;t noticed until now. Fortunately there is a very easy fix - append the &apos;losing of focus&apos; to the &apos;onkeyup&apos; event, so that either keyboard or mouse have the same effect, causing the browser to register the &apos;change&apos;.&lt;/p&gt;
&lt;p&gt;Original select list is like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;select name=&quot;sel&quot; id=&quot;sel#i#&quot; onchange=&quot; ( function here )&quot; &amp;gt;&lt;/p&gt;
&lt;p&gt;Adding just a bit of code for the onkeyup, like so:&lt;/p&gt;
&lt;p&gt;&amp;lt;select name=&quot;sel&quot; id=&quot;sel#i#&quot; onchange=&quot; ( function here )&quot; onkeyup=&quot;this.blur();this.focus();&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;we now have a list that loses then regains focus everytime a key is pressed (while it has focus), i.e. using the keyboard to move up or down through the options now triggers a split-second loss and regaining of focus, which is enough to trigger the &apos;onchange()&apos; in firefox. I love a good easy fix!&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;http://sanketvasa.blogspot.com/2008/12/weird-behaviour-of-onchange-event-of.html&quot; target=&quot;_blank&quot;&gt;Sanket Vasa&lt;/a&gt; for the tip&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt; 
				</description>
				
				<category>Javascript</category>				
				
				<category>Cartweaver</category>				
				
				<pubDate>Wed, 22 Apr 2009 00:19:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2009/4/22/Firefox-select-onChange-when-using-keyboard--a-solution</guid>
				
			</item>
			
			<item>
				<title>Some alternatives to Adobe NNTP Newsgroups</title>
				<link>http://www.miuaiga.com/index.cfm/2009/4/3/Some-alternatives-to-Adobe-NNTP-Newsgroups</link>
				<description>
				
				&lt;p&gt;As many dedicated web developers mourn the passing of the NNTP interface for Adobe&apos;s support forums ( formerly nntp://forums.adobe.com ), I&apos;d like to extend a hearty welcome, inviting all web developers, friends and interested cohorts to join myself and a number of other seasoned web professionals in some popular NNTP-friendly alternative hangouts.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://miuaiga.com/page.cfm/Web-Developer-Newsgroups&quot; target=&quot;_self&quot;&gt;http://www.miuaiga.com/page.cfm/Web-Developer-Newsgroups&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In addition to general web developer newsgroups, there are some specialized groups for ColdFusion, javascript (ok, mostly jQuery), all three flavors of CartWeaver (E-commerce) and more.&lt;/p&gt;
&lt;p&gt;Every one of the newsgroups listed on the page above is happy to welcome new and interesting contributors, the more the merrier. You may even discover some old friends among the archived threads.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NOTE: If you are not currently using NNTP to interact with other web-folks online, you&apos;ve been missing out! I recommend Mozilla Thunderbird, and an account at each one of the places listed. See you there!&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;In regards to the big switch, the Adobe Dreamweaver support forum says this: &lt;br /&gt;&lt;br /&gt;ANNOUNCEMENT: Forums will be unavailable for planned system maintenance &lt;br /&gt;starting at 3pm PST on April 3, 2009. New forums will be online on &lt;br /&gt;Monday April 6, 2009.&lt;/p&gt;
&lt;p&gt;( currently April 3, 1:35 Pacific time ... T-minus 90 minutes )&lt;/p&gt; 
				</description>
				
				<category>Javascript</category>				
				
				<category>ColdFusion</category>				
				
				<category>Tools &amp;amp; Tips</category>				
				
				<category>jQuery</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Fri, 03 Apr 2009 16:32:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2009/4/3/Some-alternatives-to-Adobe-NNTP-Newsgroups</guid>
				
			</item>
			
			<item>
				<title>mySQL search query : remove case sensitivity</title>
				<link>http://www.miuaiga.com/index.cfm/2008/12/17/mySQL-search-query--remove-case-sensitivity</link>
				<description>
				
				I&apos;ve had this situation before - a mySQL query using &apos;like&apos; to search a string value for a given phrase sometimes becomes case sensitive when the query contains other &apos;Where&apos; phrases.  ( As far as I know, &apos;like&apos; is supposed to be case INsensitive, and this is a known bug in some installations of mysql - I&apos;ve tried updating mysql drivers and still it remains). But, regardless of the cause, there&apos;s an easy fix...  [More]
				</description>
				
				<category>mySQL</category>				
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<pubDate>Wed, 17 Dec 2008 12:02:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2008/12/17/mySQL-search-query--remove-case-sensitivity</guid>
				
			</item>
			
			<item>
				<title>Cartweaver Option Selection Fix ( select list javascript )</title>
				<link>http://www.miuaiga.com/index.cfm/2008/12/12/Cartweaver-Option-Selection-Fix--select-list-javascript-</link>
				<description>
				
				A small but persistent issue with the default Cartweaver product selection script shows up when a product has more than one set of options. For example, you have skus with a range of colors and a range of sizes.

I finally took a few minutes to create a fix, which was actually quite simple to implement. And in the interest of keeping it non-denominational, I didn&apos;t even use jQuery... just plain &apos;ol javascript that can easily be added to any existing CW site.  [More]
				</description>
				
				<category>Javascript</category>				
				
				<category>Cartweaver</category>				
				
				<category>Demos</category>				
				
				<pubDate>Fri, 12 Dec 2008 20:21:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2008/12/12/Cartweaver-Option-Selection-Fix--select-list-javascript-</guid>
				
			</item>
			
			<item>
				<title>Show/Hide the Cartweaver &quot;forgot password&quot; form with jQuery</title>
				<link>http://www.miuaiga.com/index.cfm/2008/12/6/ShowHide-the-Cartweaver-forgot-password-form-with-jQuery</link>
				<description>
				
				Here&apos;s a perfect example of the way jQuery makes things so easy, even a caveman programmer can do it.

In Cartweaver, the default Customer Login form is actually two separate forms - one to log in, and one to recall a forgotten password by entering an email address. 

I have tried various rearrangements of the default markup on this page for each site I&apos;ve done, always trying to give the more important &apos;log in&apos; form a more visible presence than the &apos;forgot pw&apos; form, without cluttering up the page.

Tonight, i found a solution i like best of all ... hide the forgot pw form altogether, using a simple link to show it if needed.  [More]
				</description>
				
				<category>Javascript</category>				
				
				<category>ColdFusion</category>				
				
				<category>jQuery</category>				
				
				<category>Cartweaver</category>				
				
				<category>Demos</category>				
				
				<pubDate>Sat, 06 Dec 2008 00:56:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2008/12/6/ShowHide-the-Cartweaver-forgot-password-form-with-jQuery</guid>
				
			</item>
			
			<item>
				<title>CF Google Search - custom ColdFusion content Google search</title>
				<link>http://www.miuaiga.com/index.cfm/2008/11/21/CF-Google-Search--custom-ColdFusion-content-Google-search</link>
				<description>
				
				&lt;p&gt;Just stumbled upon this little gem, courtesy of &lt;a href=&quot;http://www.carehart.org/&quot; target=&quot;_blank&quot;&gt;Charlie Arehart&lt;/a&gt; : &lt;br /&gt;&lt;a href=&quot;http://www.google.com/coop/cse?cx=012970358153442150397%3Aekun5bf_8-m&quot; target=&quot;_blank&quot;&gt;http://www.google.com/coop/cse?cx=012970358153442150397%3Aekun5bf_8-m&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CF Search for Coldfusion Developers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;... searches 1338 sites, including: http://*.cfwebtools.com/*, http://mkruger.cfwebtools.com/*, http://www.cartweaver.com/*, http://www.interaktonline.com/*, http://www.kcfusion.org/* ...&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Tools &amp;amp; Tips</category>				
				
				<category>Cartweaver</category>				
				
				<pubDate>Fri, 21 Nov 2008 23:33:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2008/11/21/CF-Google-Search--custom-ColdFusion-content-Google-search</guid>
				
			</item>
			
			<item>
				<title>Blog Updates : new blog.cfc version : back on (off?) track</title>
				<link>http://www.miuaiga.com/index.cfm/2008/11/15/Blog-Updates--new-blogcfc-version--back-on-off-track</link>
				<description>
				
				&lt;p&gt;I&apos;ve been busier than ever with the expansion of my &lt;a href=&quot;http://www.mredesign.com&quot; target=&quot;_blank&quot;&gt;web design company&lt;/a&gt; and &lt;a href=&quot;http://gowesthosting.com/coldfusion-programming.cfm&quot; target=&quot;_blank&quot;&gt;CF programming services&lt;/a&gt;, as well as a massive total upgrade (and renaming) of our &lt;a href=&quot;http://www.gowesthosting.com/&quot; target=&quot;_blank&quot;&gt;ColdFusion web hosting company&lt;/a&gt; -&amp;nbsp; all very good things, no complaints about having enough to do, but things like this humble blog have fallen by the wayside.&lt;/p&gt;
&lt;p&gt;I&apos;ve had lots of neat ideas or things to share (don&apos;t we all!) but somewhere along the line, I decided to upgrade to the newest &lt;a href=&quot;http://blogcfc.riaforge.org/&quot; target=&quot;_blank&quot;&gt;blogcfc&lt;/a&gt; version, and instead of posting, have been spending my precious little &apos;blog time&apos; working on the site itself. (Actually really easy to upgrade - thanks again to &lt;a href=&quot;http://www.coldfusionjedi.com/&quot; target=&quot;_blank&quot;&gt;Ray Camden&lt;/a&gt; for making it so smooth!)&lt;/p&gt;
&lt;p&gt;In addition to the new look and simpler layout, I put a heap o&apos; tweak on the back end, including tinyMCE, a nice image resizer/uploader, and a bunch of other little things designed to get me back to posting and sharing tiny tidbits as quickly and easily as possible. ( so far so good... the new tinyMCE is really slick, and I&apos;ve set it up to switch between plain text and a text editor with a single click, depending on the need... more on that later - I&apos;ll share it here once i get a few more miles on it!)&lt;/p&gt;
&lt;p&gt;Building two businesses, raising a family, and being a code-obssessed project-mongering CF/jQuery nut-fan doesn&apos;t leave a lot of time for sharing and discussion, but I am gettting a grip on all that is required of me at this stage of life and career, and coming to see not only an outlet in the social web community, but also beginning to noticeably realize the return from all the time I&apos;ve spent over the years on various &lt;a href=&quot;../page.cfm/Web-Developer-Newsgroups&quot; target=&quot;_self&quot;&gt;web developer newsgroups&lt;/a&gt; and &lt;a href=&quot;http://forums.mredesign.com&quot; target=&quot;_blank&quot;&gt;forums&lt;/a&gt;, as well as this and other &lt;a href=&quot;http://www.coldfusionbloggers.org&quot; target=&quot;_blank&quot;&gt;web developer blogs&lt;/a&gt;. Instead of taking me &apos;off track&apos;, the interchange of ideas, tools and time-saving suggestions has led to a noticeable increase in my efficiency and a new spring in the step of my general workflow, not to mention quite a few very nice paid projects (thanks especially to the &lt;a href=&quot;http://www.cartweaver.com/customers&quot; target=&quot;_blank&quot;&gt;CartWeaver&lt;/a&gt; crew for all the props this past year).&lt;/p&gt;
&lt;p&gt;If anything, being part of a larger community of web developers and other like-minded folks, even if virtual, has been a very real part of keeping me &apos;on track&apos; all this time.&lt;/p&gt;
&lt;p&gt;At the risk of sounding overly sentimental, I just want to give a smathering of thanks and praise to the CF community at large. I&apos;ve seen a lot of great ColdFusion ideas and renewed enthusiasm on a lot of levels as more and more people get the bug of &amp;lt;cf_connectedness&amp;gt;. Great &lt;a href=&quot;../page.cfm/web-developer-resources&quot;&gt;ColdFusion resources&lt;/a&gt; like &lt;a href=&quot;http://www.coldfusioncommunity.org/&quot; target=&quot;_blank&quot;&gt;ColdFusionCommunity.org&lt;/a&gt;, &lt;a href=&quot;http://www.riaforge.org&quot; target=&quot;_blank&quot;&gt;riaforge.org&lt;/a&gt; and of course &lt;a href=&quot;http://www.coldfusionbloggers.org/index.cfm&quot; target=&quot;_blank&quot;&gt;CFbloggers.org&lt;/a&gt; seem to be steadily picking up speed, and the general willingness to share and discuss all our little brain-children concepts and widgets is what keeps this business fun. As long as I am still learning, I am still doing what I love for a living.&lt;/p&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>BlogCFC</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Sat, 15 Nov 2008 14:00:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2008/11/15/Blog-Updates--new-blogcfc-version--back-on-off-track</guid>
				
			</item>
			
			<item>
				<title>Cartweaver Search mod: subcats as keywords / auto-submit select box</title>
				<link>http://www.miuaiga.com/index.cfm/2007/9/21/Cartweaver-Search-mod-subcats-as-keywords--autosubmit-select-box</link>
				<description>
				
				I just spent a few minutes tweaking the way the default Cartweaver categories search form works - it is fairly basic form javascript, but I think it might be useful to others...&lt;br /&gt;
&lt;br /&gt;
This site is in progress - client has added (and named, sometimes a bit off-spelling) his products, and the CW functions are all up and working.&lt;br /&gt;
&lt;a href=&quot;http://enchanted-light.com/Results.cfm?secondary=17&quot;&gt;http://enchanted-light.com/Results.cfm?secondary=17&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Rather than the standard secondary category functions, with this site we wanted a &apos;keyword&apos; search function, much like the tags commonly assigned to blog posts. Most of his photos have multiple secondary categories assigned, so a picture of a river by a mountain for example, would show up under both rivers and mountains. you get the idea.&lt;br /&gt;
&lt;br /&gt;
Cartweaver&apos;s search function allows for all sorts of configurations in the call for the search (see the default index.cfm page when you install CW... &lt;a href=&quot;http://www.mredesign.com/cfdev/%5Fcw3/wwwroot/cw3_allmods/&quot;&gt;here is a sample&lt;/a&gt; - this is all the default search types plus a few custom ones I keep around... in this case we&apos;re working from the one labeled &amp;quot;All form defaults used&amp;quot;). I have the call to the search tag in place in my &apos;results&apos; page, and have opted to turn off the text box search and the main category search, simply leaving the &apos;secondary&apos; category search and a submit button with a value of &amp;quot;Go&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
anyway... rather than requiring the viewer to select the option and click the submit button to run the search, I thought it would be slick if the select box auto-submitted the form when changed. So... in the cw tag that handles the search function, I simply added this to the &amp;lt;select&amp;gt; dropdown code&lt;br /&gt;
&lt;br /&gt;
onchange=&amp;quot;document.&amp;lt;cfoutput&amp;gt;#attributes.formid#&amp;lt;/cfoutput&amp;gt;.submit()&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so the whole line for the select now looks like this:&lt;br /&gt;
&amp;nbsp;&amp;lt;select name=&amp;quot;secondary&amp;quot; id=&amp;quot;&amp;lt;cfoutput&amp;gt;#attributes.formid#&amp;lt;/cfoutput&amp;gt;-secondary&amp;quot; onchange=&amp;quot;document.&amp;lt;cfoutput&amp;gt;#attributes.formid#&amp;lt;/cfoutput&amp;gt;.submit()&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(Note, I could have hand-coded the attributes.formID part since I am only using this once in the page, but this method is copying the ID given to the form by cartweaver through the FormID variable)&lt;br /&gt;
&lt;br /&gt;
However... this alone does not work... because... &lt;br /&gt;
the default name for the submit button is - can you guess? - &amp;quot;submit&amp;quot;, and , left to itself, my javascript code above makes the browser think its trying to do something with that button, rather than submit the form. So the easy fix - rename the submit button to &amp;quot;btnSubmit&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input name=&amp;quot;btnSubmit&amp;quot; type=&amp;quot;submit&amp;quot; class=&amp;quot;formButton&amp;quot; value=&amp;quot;&amp;lt;cfoutput&amp;gt;#attributes.buttonlabel#&amp;lt;/cfoutput&amp;gt;&amp;quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
I could also have just removed (commented out) the submit button, since the dropdown now submits the form when changed, but if javascript is disabled, you need the button, so renaming it is the easy fix.&lt;br /&gt;
&lt;br /&gt;
That&apos;s a long post for a short mod... hope it helps somebody some time. 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Fri, 21 Sep 2007 18:57:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2007/9/21/Cartweaver-Search-mod-subcats-as-keywords--autosubmit-select-box</guid>
				
			</item>
			
			<item>
				<title>Cartweaver Mod: multiple product images, auto photo resizing, mouseover js display</title>
				<link>http://www.miuaiga.com/index.cfm/2007/9/4/Cartweaver-Mod-multiple-product-images-auto-photo-resizing-mouseover-js-display</link>
				<description>
				
				A very nice &lt;a href=&quot;http://www.cartweaver.com&quot; target=&quot;_blank&quot;&gt;CartWeaver&lt;/a&gt; user contacted me for some help with her product images - basically, she wanted to add more images per product (easier than ever in CW3) and, most importantly, she wanted a way to let her clients upload a single image, and have the thumbnails and other sizes made automatically. &lt;br /&gt;
&lt;br /&gt;
I set up a &lt;a href=&quot;http://www.mredesign.com/cfdev/_cw3/wwwroot/cw3_allmods/Details.cfm?ProdID=37&amp;amp;category=0&quot;&gt;demo version&lt;/a&gt; of the add-on, saving a copy of the modified CW code so I can use it again for my own clients. ( That link shows a default product page with a very basic multiple image javascript display... in theory, the finished product would be much nicer. A demo of the admin is &lt;a href=&quot;http://tinyurl.com/2kak5q&quot;&gt;here&lt;/a&gt; ( use admin/admin to log in)&lt;br /&gt;
&lt;br /&gt;
I added an &lt;a href=&quot;http://www.mredesign.com/demos/tmtImg-Uploader/&quot;&gt;automatic uploader / image resizer&lt;/a&gt;, and set up her images table in the CartWeaver database to handle 5 images for each product, with 4 sizes for tiny preview, details thumbnail, large image, and zoom. &lt;br /&gt;
&lt;br /&gt;
In the &lt;a href=&quot;http://www.mredesign.com/cfdev/_cw3/wwwroot/cw3_allmods/cw3/Admin/ProductForm.cfm?product_ID=37&quot;&gt;CartWeaver admin&lt;/a&gt;, she simply uploads a single image file for each photo slot, and the thumbnails are made on the server (instead of a separate upload slot for each image size). Otherwise, it works and looks exactly like the regular CartWeaver admin.&lt;br /&gt;
&lt;br /&gt;
On the display side, the single &lt;a href=&quot;http://www.mredesign.com/cfdev/_cw3/wwwroot/cw3_allmods/Details.cfm?ProdID=37&amp;amp;category=0&quot;&gt;results page&lt;/a&gt; composes the mouseover image swap display for 1 to 5 mages, whatever is available. &lt;br /&gt;
&lt;br /&gt;
The way this code works, any number of images and any number of sizes for each can be used - and any type of gallery, lightbox, list or display of the images can be populated from the image query.&lt;br /&gt;
&lt;br /&gt;
Updated spring 2008: Now using CFimage for super fast, high quality resizing on the fly with more accurate height/width scaling. &lt;br /&gt;
&lt;br /&gt;
The resizer works with both tall and wide images, with a maximum width and height set in the database for each size of image. &lt;br /&gt;
&lt;br /&gt;
Each image upload slot can have its own set of sizes and max w/h dimensions, so the possibilities are almost endless.&lt;br /&gt;
&lt;br /&gt;
&lt;strike&gt;The CW site I was working on was on a CF7 server, so instead of using the onboard &lt;a href=&quot;http://www.mredesign.com/demos/cfimage-example/&quot;&gt;CFimage functions in CF8&lt;/a&gt;, I went with &lt;a href=&quot;http://www.mredesign.com/demos/tmtImg-Uploader/&quot;&gt;Massimo Foti&apos;s tmt_img.cfc&lt;/a&gt;&amp;nbsp; - so in theory it should work on any server, running any recent version of ColdFusion.&lt;/strike&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.mredesign.com/contact.cfm&quot;&gt;Contact me directly &lt;/a&gt;to log in and test the admin on that demo site, or if you are interested in using this code on your own CartWeaver (or other) sites. 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<category>Demos</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Tue, 04 Sep 2007 15:02:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2007/9/4/Cartweaver-Mod-multiple-product-images-auto-photo-resizing-mouseover-js-display</guid>
				
			</item>
			
			<item>
				<title>Cartweaver featured customer</title>
				<link>http://www.miuaiga.com/index.cfm/2007/8/6/Cartweaver-featured-customer</link>
				<description>
				
				What an honor from the Cartweaver crew! &lt;br /&gt;
I&apos;ve been involved with CW for a few years now, first as a &apos;total noob&apos;, then as an enthusiastic user for multiple sites, and most recently as part of the beta team for version 3, as well as producing some fun custom add-ons for the admin and trying to be helpful whenever possible in the support groups.&lt;br /&gt;
Now they&apos;ve more than reciprocated by giving me &lt;a href=&quot;http://www.cartweaver.com/customers/&quot; target=&quot;_blank&quot;&gt;my own page&lt;/a&gt; on the Cartweaver site.&lt;br /&gt;
&lt;br /&gt;
If you are looking for a great, customizable, affordable and well-supported eCommerce solution, check out &lt;a target=&quot;_blank&quot; href=&quot;http://www.cartweaver.com/&quot;&gt;Cartweaver&lt;/a&gt; - asp, php and of course ColdFusion versions are available. 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Cartweaver</category>				
				
				<category>WebDev</category>				
				
				<pubDate>Mon, 06 Aug 2007 12:37:00 -0600</pubDate>
				<guid>http://www.miuaiga.com/index.cfm/2007/8/6/Cartweaver-featured-customer</guid>
				
			</item>
			</channel></rss>