<?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>SpinOneSolutions &#187; Dev</title>
	<atom:link href="http://www.spinonesolutions.com/tag/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spinonesolutions.com</link>
	<description>I waste my time so that you don't have to...</description>
	<lastBuildDate>Mon, 16 May 2011 17:01:16 +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>CommonSpot Developer Tips and Tricks</title>
		<link>http://www.spinonesolutions.com/2009/04/commonspot-developer-tips-and-tricks/</link>
		<comments>http://www.spinonesolutions.com/2009/04/commonspot-developer-tips-and-tricks/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 21:00:30 +0000</pubDate>
		<dc:creator>Will Wright</dc:creator>
				<category><![CDATA[CommonSpot]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Paper Thin]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=242</guid>
		<description><![CDATA[Here are some Tips and Tricks that I learned during the CommonSpot developer training. I&#8217;ve found them useful while working in this CMS so maybe you will too! Debug Settings Add this to the end of your site&#8217;s URL to fire up the debug settings. /loader.cfm?csmodule=utilities/debug-settings Cacheing Don&#8217;t want your element to cache while you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some Tips and Tricks that I learned during the CommonSpot developer training. I&#8217;ve found them useful while working in this CMS so maybe you will too!</p>
<h3>Debug Settings</h3>
<p>Add this to the end of your site&#8217;s URL to fire up the debug settings.</p>
<p><code>/loader.cfm?csmodule=utilities/debug-settings</code></p>
<h3>Cacheing</h3>
<p>Don&#8217;t want your element to cache while you&#8217;re developing it?!  Add this single line to the top of your renderhandler.</p>
<p><code>request.element.isStatic = 0</code></p>
<p>Want to clear the cache?  Go for it; stick this querystring on your working URL.</p>
<p><code>?resetutils</code></p>
<h3>Site Administration</h3>
<p>Need access to the Site Administration?  Of course you do, you&#8217;re the developer!  Replace the current page with this and you&#8217;re there.</p>
<p><code>loader.cfm?csModule=admin/site-menu&amp;showSiteConfig=1</code></p>
<h3>Custom Element Details</h3>
<p>Get details about a custom element straight from the DB.  cfdump the results of this query.  I&#8217;m querying element 1342 in this instance, notice the WHERE clause.</p>
<p><code>&lt;cfquery name="myQuery" datasource="#request.site.datasource#"&gt;<br />
    SELECT d1.ID,<br />
        d1.FormName,<br />
        d1.Method,<br />
        d1.Action,<br />
        d1.DateCreated,<br />
        d1.DateLastModified,<br />
        d1.OwnerID,<br />
       <br />
        d2.ID as inputID,<br />
        d2.fieldName,<br />
        d2.shared,<br />
        d2.type as inputType,<br />
        d2.dateCreated as inputCreated,<br />
        d2.description,<br />
        d2.dateLastModified as inputLastModified,<br />
        d3.itemPos,<br />
        d3.TabID<br />
        FROM formControl d1, formInputControl d2, formInputControlMap d3<br />
        WHERE d3.fieldID = d2.ID<br />
        AND d1.ID = d3.formID<br />
        AND d1.ID in (1342)<br />
        order by d1.ID, d3.itemPos<br />
    &lt;/cfquery&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.spinonesolutions.com/2009/04/commonspot-developer-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

