<?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>Dootch &#187; Technical</title>
	<atom:link href="http://www.dootch.com/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dootch.com</link>
	<description>Perspectives of a freelancer and entrepreneur</description>
	<lastBuildDate>Sun, 05 Feb 2012 01:32:23 +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>Calendar template and css for CGCalendar</title>
		<link>http://www.dootch.com/2010/08/calendar-template-and-css-for-cgcalendar/</link>
		<comments>http://www.dootch.com/2010/08/calendar-template-and-css-for-cgcalendar/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 04:21:30 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=695</guid>
		<description><![CDATA[Someone asked me for the calendar template that we used for Sun Country on the Murray so I thought I would post it here. Download the CGCalendar template here CGCalendar is a calendar module for CMSMS. To get it to work, copy the contents of &#8220;Calendar Display Template.txt&#8221; into the &#8220;Calendar Templates&#8221; template. And add [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Someone asked me for the calendar template that we used for <a href="http://www.suncountryonthemurray.com.au">Sun Country on the Murray</a> so I thought I would post it here.</p>
<p><a href='http://www.dootch.com/wp-content/uploads/2010/08/CG-Calendar.zip'>Download the CGCalendar template here</a></p>
<p><a href="http://dev.cmsmadesimple.org/projects/cgcalendar/">CGCalendar</a> is a calendar module for CMSMS.</p>
<p>To get it to work, copy the contents of &#8220;Calendar Display Template.txt&#8221; into the &#8220;Calendar Templates&#8221; template. And add a stylesheet with the contents of &#8220;Calendar CSS.txt&#8221;, and attach it to your template.</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/08/calendar-template-and-css-for-cgcalendar/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to setup a template in CMSMS</title>
		<link>http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/</link>
		<comments>http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 10:25:19 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=690</guid>
		<description><![CDATA[A quick checklist on how to convert a static site to a CMS Made Simple powered site: Install CMSMS (instructions here) Add in the template and enter all the tags Add in the stylesheets Link the stylesheet to the template Add the pages Create the menu template Done! Related posts:Creating &#8216;Back to top&#8217; links in [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/calendar-template-and-css-for-cgcalendar/' rel='bookmark' title='Permanent Link: Calendar template and css for CGCalendar'>Calendar template and css for CGCalendar</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/Ld4wsEeFnws?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Ld4wsEeFnws?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object></p>
<p>A quick checklist on how to convert a static site to a <a href="http://www.cmsmadesimple.org">CMS Made Simple</a> powered site:</p>
<ol>
<li>Install CMSMS (<a href="http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Quick_Install">instructions here</a>)</li>
<li>Add in the template and enter all the tags</li>
<li>Add in the stylesheets</li>
<li>Link the stylesheet to the template</li>
<li>Add the pages</li>
<li>Create the menu template</li>
<li>Done!</li>
</ol>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/calendar-template-and-css-for-cgcalendar/' rel='bookmark' title='Permanent Link: Calendar template and css for CGCalendar'>Calendar template and css for CGCalendar</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;This category is empty&#8221; message in CMSMS Products module</title>
		<link>http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/</link>
		<comments>http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 01:46:06 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=688</guid>
		<description><![CDATA[I have a site where I&#8217;m using the products module. The company I&#8217;m doing it for runs specials every now and then, and wants them to show up as a page on the site. So what I did was create a category &#8220;specials&#8221;, and when a product is in that, it shows up on the [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/' rel='bookmark' title='Permanent Link: Serving a different image for each page in CMSMS'>Serving a different image for each page in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have a site where I&#8217;m using the products module. The company I&#8217;m doing it for runs specials every now and then, and wants them to show up as a page on the site. So what I did was create a category &#8220;specials&#8221;, and when a product is in that, it shows up on the products page.</p>
<p>However, as far as I know, there&#8217;s no default functionality to give a &#8220;This category is empty&#8221; message if there are no products in a category. And also, if a category is empty, the products module doesn&#8217;t render the template, so you can&#8217;t put some logic in there to display a &#8220;this category is empty&#8221; message.</p>
<p>So with a little bit of Smarty, this is how it&#8217;s done.</p>
<p><code>{capture assign="is_empty"}{Products category="Specials" summarytemplate="specials"}{/capture}<br />
{if $is_empty != ''}{Products category="Specials" summarytemplate="specials"}{else}There are no specials on right now.{/if}</code></p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/' rel='bookmark' title='Permanent Link: Serving a different image for each page in CMSMS'>Serving a different image for each page in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TinyMCE config for when non-technical people will be using it</title>
		<link>http://www.dootch.com/2010/08/tinymce-config-for-when-non-technical-people-will-be-using-it/</link>
		<comments>http://www.dootch.com/2010/08/tinymce-config-for-when-non-technical-people-will-be-using-it/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 09:33:14 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=684</guid>
		<description><![CDATA[So I&#8217;m working on a project where people that are completely computer illiterate will be using a WYSIWYG box. I didn&#8217;t want them pasting from word and it keeping all the messy html from word. I found this config to work very well. tinyMCE.init({ mode : "textareas", theme : "advanced", plugins : "paste", editor_selector : [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/02/freelance-preaching-choir/' rel='bookmark' title='Permanent Link: Don&#8217;t sell to the wrong people and preach to the choir'>Don&#8217;t sell to the wrong people and preach to the choir</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m working on a project where people that are completely computer illiterate will be using a WYSIWYG box. I didn&#8217;t want them pasting from word and it keeping all the messy html from word. I found this config to work very well.</p>
<p><code>tinyMCE.init({<br />
			mode : "textareas",<br />
			theme : "advanced",<br />
			plugins : "paste",<br />
			editor_selector : "mceEditor",<br />
			forced_root_block : false,<br />
			force_br_newlines : true,<br />
			force_p_newlines : false,<br />
			theme_advanced_buttons1 : "bold,italic,underline,separator,bullist,numlist,separator,link,unlink,separator,code,pastetext",<br />
			theme_advanced_buttons2 : false,<br />
			theme_advanced_buttons3 : false,<br />
			apply_source_formatting : false,<br />
			paste_auto_cleanup_on_paste : true,<br />
        	paste_remove_styles : true,<br />
			paste_remove_spans : true,<br />
			paste_text_sticky : true,</p>
<p>			setup : function(ed)<br />
	        {    ed.onInit.add(function(ed)<br />
	            {    ed.pasteAsPlainText = true;<br />
	                ed.controlManager.setActive("pastetext", true);<br />
	            });<br />
	           }</p>
<p>		});</code></p>
<p><a href="http://tinymce.moxiecode.com/punbb/viewtopic.php?id=21088">More info about the paste as plain text stuff</a>.</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/02/freelance-preaching-choir/' rel='bookmark' title='Permanent Link: Don&#8217;t sell to the wrong people and preach to the choir'>Don&#8217;t sell to the wrong people and preach to the choir</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/08/tinymce-config-for-when-non-technical-people-will-be-using-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serving a different image for each page in CMSMS</title>
		<link>http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/</link>
		<comments>http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 01:41:09 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>
		<category><![CDATA[page_image]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=673</guid>
		<description><![CDATA[In one of the sites I&#8217;m working on, there is a large featured image that is different for each product page, but is the same for the rest of the pages on the site. Heres how I did it. 1. In each page where you need a different featured image, go to the options tab, [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In one of the sites I&#8217;m working on, there is a large featured image that is different for each product page, but is the same for the rest of the pages on the site.</p>
<p>Heres how I did it.</p>
<p>1. In each page where you need a different featured image, go to the options tab, and set the Image variable</p>
<p>2. This variables is accessible in the menu manager as $node-&gt;image. To use them in a template, you can use the tag {page_image}. However, I needed to be able to check if there was an image because if there is no image set, I wanted to be able to have a default image. Since {page_image} is a tag and not a variable, you can&#8217;t just do isset(page_image). Instead, you first need to assign it&#8217;s output to an image.</p>
<p>You can do that like this:</p>
<p><code>{capture name="is_page" assign='is_page_image'}{page_image}{/capture}</code></p>
<p>3. Now that we have a variable, we can check if the page we&#8217;re on has an image, and then display the image. If it doesn&#8217;t, we can display our default image.</p>
<p><code>{if ($is_page_image ne '')}<br />
&lt;a href="#"&gt;&lt;img src="uploads/images/{page_image}" alt="{title}" width="870" height="382" /&gt;&lt;/a&gt;<br />
{else}<br />
&lt;a href="#"&gt;&lt;img src="images/img-ad.jpg" alt="default image description" width="870" height="382" /&gt;&lt;/a&gt;<br />
{/if}</code></p>
<p>4. Done! Now on each page, the page image is displayed, and if there isn&#8217;t one, a default image is displayed.</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Best modules for CMSMS</title>
		<link>http://www.dootch.com/2010/05/best-modules-for-cmsms/</link>
		<comments>http://www.dootch.com/2010/05/best-modules-for-cmsms/#comments</comments>
		<pubDate>Sat, 01 May 2010 05:08:43 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=624</guid>
		<description><![CDATA[One of the problems of CMSMS is that there are a hell of a lot of modules, but it&#8217;s hard to know which ones are the best without trying them out first. Here are my recommendations on the best modules. Photo Gallery &#8211; Gallery Album Product catalog &#8211; Products &#8211; Great module. One of the [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
<li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the problems of CMSMS is that there are a hell of a lot of modules, but it&#8217;s hard to know which ones are the best without trying them out first. Here are my recommendations on the best modules.</p>
<p><strong>Photo Gallery</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/gallery">Gallery</a> <a href="http://dev.cmsmadesimple.org/projects/album">Album</a></p>
<p><strong>Product catalog</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/products">Products</a> &#8211; Great module. One of the great things about it is it has hierarchy (vertical) and category (horizontal) navigation. For anything where I need vertical and horizontal navigation I&#8217;ll use this module and change over the titles in the language file. Recently I&#8217;ve done just that for a links directory.</p>
<p><strong>Directory</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/companydir">Company Directory</a> &#8211; This has only horizontal navigation</p>
<p><strong>Forms</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/formbuilder">FormBuilder</a></p>
<p><strong>E-commerce</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/products">Products</a>, <a href="http://dev.cmsmadesimple.org/projects/cart">Cart</a>, <a href="http://dev.cmsmadesimple.org/projects/orders">Orders</a>. I wouldn&#8217;t really recommend using CMSMS for any decent size ecommerce operation, but if you need some ecommerce features, these modules are the best. There&#8217;s a tutorial on setting up CMSMS to do ecommerce by Calguy <a href="http://calguy1000.com/Blogs/8/60/cmsms-quick-e-commerce-how-to.html">here</a>.</p>
<p><strong>Blog</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/cgblog">CGBlog</a></p>
<p><strong>Calendar</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/cgcalendar">CGCalendar</a></p>
<p><strong>Importing feeds</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/simplepie">CMSSimplePie</a></p>
<p><strong>Comments/ratings</strong> &#8211; <a href="http://dev.cmsmadesimple.org/projects/cgfeedback">CGFeedback</a></p>
<p><strong>Users </strong>- <a href="http://dev.cmsmadesimple.org/projects/frontendusers">FrontEndUsers</a> (Allows for front end users), <a href="http://dev.cmsmadesimple.org/projects/selfreg">SelfRegistration</a> (Allows users to register on your site), <a href="http://dev.cmsmadesimple.org/projects/customcontent">CustomContent</a> (allows you to change content based on whether a user is logged in or other user properties)</p>
<p>Post your own favourites in the comments</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
<li><a href='http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/' rel='bookmark' title='Permanent Link: Creating &#8216;Back to top&#8217; links in CMSMS'>Creating &#8216;Back to top&#8217; links in CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/05/best-modules-for-cmsms/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Creating &#8216;Back to top&#8217; links in CMSMS</title>
		<link>http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/</link>
		<comments>http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 22:49:38 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=604</guid>
		<description><![CDATA[If you don&#8217;t use CMSMS, skip this post. In html, if you want to do a back to top link, you can just do &#60;a href=&#8221;#top&#8221;&#62;Back to top&#60;/a&#62;, and it will take you to the top of the page no problems. Pretty simple. But in CMSMS, if you do that, for one reason or another [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><em>If you don&#8217;t use CMSMS, skip this post.</em></p>
<p>In html, if you want to do a back to top link, you can just do &lt;a href=&#8221;#top&#8221;&gt;Back to top&lt;/a&gt;, and it will take you to the top of the page no problems. Pretty simple.</p>
<p>But in CMSMS, if you do that, for one reason or another you&#8217;re taken back to the home page. Luckily, there&#8217;s a very simple solution.</p>
<p>At the top of your page, put &lt;a name=&#8221;top&#8221;&gt;&lt;/a&gt; as you normally would.</p>
<p>For your back to top link, use:</p>
<p><code>{anchor anchor='top' text='Top' class='whatever'}</code></p>
<p>That correctly keeps you on the same page.</p>
<p>There&#8217;s more info on the {anchor} tag by going to Extensions -&gt; Tags in your CMSMS installation.</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/08/how-to-setup-a-template-in-cmsms/' rel='bookmark' title='Permanent Link: How to setup a template in CMSMS'>How to setup a template in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/' rel='bookmark' title='Permanent Link: SEO Friendly titles for modules in CMSMS'>SEO Friendly titles for modules in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/04/creating-back-to-top-links-in-cmsms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SEO Friendly titles for modules in CMSMS</title>
		<link>http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/</link>
		<comments>http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 23:56:33 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cmsms]]></category>

		<guid isPermaLink="false">http://www.dootch.com/?p=525</guid>
		<description><![CDATA[Quick note about this post &#8211; if you don&#8217;t use CMSMS, skip it =) CMSMS is pretty good for SEO, but one of the things that does bug me is that by default, it doesn&#8217;t set titles for pages generated by modules. For example, on a news page, you want the title of the page [...]


Related posts:<ol><li><a href='http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/' rel='bookmark' title='Permanent Link: Serving a different image for each page in CMSMS'>Serving a different image for each page in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><em>Quick note about this post &#8211; if you don&#8217;t use CMSMS, skip it =)</em></p>
<p>CMSMS is pretty good for SEO, but one of the things that does bug me is that by default, it doesn&#8217;t set titles for pages generated by modules.</p>
<p>For example, on a news page, you want the title of the page to be the name of the news post instead of &#8216;News&#8217;. Here&#8217;s how to do just that.</p>
<p>I&#8217;ve used the news module as an example, but it works with any module.</p>
<h3>1. Disable &#8216;process_whole_template&#8217;</h3>
<p>In config.php, change this line:<br />
<br /><code>$config['process_whole_template'] = true;</code><br /><Br /><br />
to<br />
<br /><code>$config['process_whole_template'] = false;</code><br /><Br /><br />
Also make sure that you don&#8217;t have the {process_pagedata} tag in your template.</p>
<p>The process_whole_template setting makes the template be processed before processing any of the calls it makes. We want to turn it off because otherwise we have no way of getting the title from the News module .</p>
<h3>2. Assign the title variable</h3>
<ul>
<li>Go to Content → News</li>
<li>Click on “Detail Template” tab</li>
<li>Edit your template (in most cases the default is named ‘Sample’, do it for every news detail template you have)</li>
</ul>
<p>In the top of your template put this code:<br />
<br /><code>{assign var='pagetitle' value=$entry-&gt;title}</code><br /><Br /><br />
This assigns the title of the news post to a variable we can use later</p>
<h3>3. Update your site template to use the new variable</h3>
<p>Open up your site template, and in the first line put:<br />
<br /><code>{content assign="capturedcontent"}</code><br /><Br /><br />
Then replace your {content} tag with {$capturedcontent}.</p>
<p>Now we just need to actually use the title we&#8217;ve got set in the pagetitle variable.</p>
<p>The title of your page will look something like this:<br />
<br /><code>&lt;title&gt;{title} | {sitename}&lt;/title&gt;</code><br /><Br /><br />
Change it to :<br />
<br /><code>&lt;title&gt;{if isset($pagetitle)}{$pagetitle} | {sitename}{else}{title} | {sitename}{/if}&lt;/title&gt;</code><br /><Br /><br />
The line checks to see if pagetitle is set, and if it is, we set the title to be {$pagetitle} instead of {title}</p>
<p>All done!</p>


<p>Related posts:<ol><li><a href='http://www.dootch.com/2010/07/serving-a-different-image-for-each-page-in-cmsms/' rel='bookmark' title='Permanent Link: Serving a different image for each page in CMSMS'>Serving a different image for each page in CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/05/best-modules-for-cmsms/' rel='bookmark' title='Permanent Link: Best modules for CMSMS'>Best modules for CMSMS</a></li>
<li><a href='http://www.dootch.com/2010/08/this-category-is-empty-message-in-cmsms-products-module/' rel='bookmark' title='Permanent Link: &#8220;This category is empty&#8221; message in CMSMS Products module'>&#8220;This category is empty&#8221; message in CMSMS Products module</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dootch.com/2010/04/seo-friendly-titles-for-modules-in-cmsms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

