<?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>SkyBlueCanvas&#187; Extensions Archives  &#8211; SkyBlueCanvas</title>
	<atom:link href="http://blog.skybluecanvas.com/topics/skybluecanvas-lightweight-cms/extensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.skybluecanvas.com</link>
	<description>The Lightweight Blog</description>
	<lastBuildDate>Tue, 20 Jul 2010 15:47:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Fragmentor Plugin for SkyBlueCanvas</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/fragmentor-plugin-skybluecanvas/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/fragmentor-plugin-skybluecanvas/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 01:19:46 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Fragments]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[fragment]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[s]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[variable]]></category>
		<category><![CDATA[views]]></category>
<category>extensions</category><category>fragments</category><category>plugins</category><category>skins</category><category>templates</category><category>themes</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=59</guid>
		<description><![CDATA[Fragmentor is a plugin to be used instead of or alongside the default Fragment Plugin in SkyBlueCanvas. Fragmentor provides template and fragment developers an alternative and much more flexible syntax for loading dynamic content views (fragments) into SkyBlueCanvas web pages. Since the plugin uses a different syntax from the default fragment plugin, it will not conflict with it. With Fragmentor, you can pass an arbitrary number of key=&#60; value pairs of data from your article text or template file.]]></description>
			<content:encoded><![CDATA[<p>For a really cool Fragmentor usage example, check out my blog post on the <a href="http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/editable-sidebar-content-hack/" title="Editable Sidebar Hack">Editable Sidebar Content Hack</a></p>
<h2>System Requirements</h2>
<ul>
<li>SkyBlueCanvas v1.1</li>
<li>PHP 5 (Not tested with PHP 4)</li>
<li>Apache Web Server</li>
</ul>
<div class="msg-info">
<h2>Important</h2>
<p>Unlike most SkyBlueCanvas Plugins, the Fragmentor Plugin <strong><em>must</em></strong> be installed manually via FTP. If you install this Plugin through the admin console, it will not function properly.</p>
</div>
<h2>Installation Instructions</h2>
<ol>
<li>Connect to your SkyBlueCanvas web site using the FTP Client of your choice.</li>
<li>Locate the Fragmentor Plugin file in <span style="text-decoration: underline;">source/plugin_fragmentor/plugin.fragmentor.php</span> in this download.</li>
<li>Upload the Fragmentor Plugin file to <span style="text-decoration: underline;">/skyblue_root/data/plugins/</span>.</li>
</ol>
<h2>Usage</h2>
<p>The Fragmentor Plugin allows you to pass a standard query string, similar to a URL query string, to your custom SkyBlueCanvas fragments. A query string is simply a string of key=&gt;value pairs in the format:</p>
<pre class="html">key1=value1&amp;key2=value2</pre>
<h2>Reserved Keywords</h2>
<p>The Fragmentor Plugin has 2 reserved keywords:</p>
<ol>
<li> name<em> &#8211; name</em> tells Fragmentor which Fragment to laod.</li>
<li> view<em> &#8211; view</em> tells Fragmentor which Fragment View to load.</li>
</ol>
<h2>Syntax</h2>
<p>You can use one of or a mix of two call syntaxes to call the Fragmentor Plugin:</p>
<h3>HTML Comment Syntax:</h3>
<pre class="html">&lt;!--fragment(name=fragment_name&amp;view=view_name&amp;key1=value1)--&gt;</pre>
<p>Use this syntax to add Fragmentor calls to your HTML skin templates.</p>
<h3>In-line Text Syntax:</h3>
<pre class="html">{fragment(name=fragment_name&amp;view=view_name&amp;key1=value1)}</pre>
<p>Use this syntax to add Fragmentor calls in-line in your page article text.</p>
<p>If you are familiar with SkyBlueCanvas Fragments, you know that the default Fragment Plugin attempts to load any data objects associated with the fragment automatically. The plugin determines the data to load based on the name of the fragment. For instance, if you have the Links Manager installed on your SkyBlueCanvas site, and you create a fragment named <em>links</em>, the Fragment Plugin will automatically load the <em>links</em> data objects. The data objects are passed to your fragment in a variable named $data;</p>
<p>Fragmentor maintains this automatic data loading and your data is still passed in the $data variable. Fragmentor, however, adds a new variabled named $params which is a keyed (associative) array corresponding to the key=&gt;value pairs of your query string.</p>
<p>Your query string can contain as many key=&gt;value pairs as you like and your key names can be anything you like. The only limitations are:</p>
<ol>
<li>The <em>name</em> and <em>view</em> keywords are reserved by the plugin</li>
<li>Your query string must be a well-formed query string meaning it must follow the rules or a standard URL query string (no spaces, no special characters, etc.)</li>
</ol>
<div class="msg-info">
<h2>Important</h2>
<p>Existing SkyBlueCanvas fragments are not currently configured to work with the Fragmentor Plugin. Fragmentor is intended to give you more flexibility in creating<strong><em> your custom plugins</em></strong>. We may eventually merge Fragmentor with the core SkyBlueCanvas code but at the present time it should be considered and treated like any other third-party add-on.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/fragmentor-plugin-skybluecanvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editable Sidebar Content Hack</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/editable-sidebar-content-hack/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/editable-sidebar-content-hack/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 00:27:48 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Fragments]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[fragment]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[region]]></category>
<category>content</category><category>fragments</category><category>hack</category><category>hacks</category><category>plugins</category><category>region</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=58</guid>
		<description><![CDATA[A few nights ago, Steve Fister, one of the SkyblueCanvas Development Team Members posed the question again and offered a few ideas on how to pull it off. After thinking about Steve's suggetions, I realized that this is actually quite easy to do. In fact, with Steve's idea, you can add an editable text block anywhere on a web page. What's more, with a little SkyBlueCanvas Skin Magic, you can build page-specific text blocks, so if you want a different block of text to appear on different pages, you can do it with this trick.]]></description>
			<content:encoded><![CDATA[<p>
Several users of the <a href="http://forum.skybluecanvas.com/" rel="nofollow"  title="SkyBlueCanvas Forum">SkyBlueCanvas Forum</a> have asked how to add an editable text block to the sidebar of their site. I puzzled over this question and to date had informed folks that unfortunately it cannot be done.
</p>
<p>
A few nights ago, Steve Fister, one of the SkyblueCanvas Development Team Members posed the question again and offered a few ideas on how to pull it off. After thinking about Steve&#8217;s suggetions, I realized that this is actually quite easy to do. In fact, with Steve&#8217;s idea, you can add an editable text block anywhere on a web page. What&#8217;s more, with a little SkyBlueCanvas Skin Magic, you can build page-specific text blocks, so if you want a different block of text to appear on different pages, you can do it with this trick.
</p>
<p>
Out-of-the-box, this is still not possible with SkyBlueCanvas, but I have been working on a new Plugin that &#8211; unbeknownst to me when I built it &#8211; is the missing piece. The plugin is called <strong>Fragmentor</strong> and is a super-charged version of the <strong>Fragment Plugin</strong> that comes pre-installed with SkyBlueCanvas.
</p>
<h2>About Fragmentor</h2>
<p>
The existing <strong>Fragment Plugin</strong> has one design limitation: it uses pre-defined parameters whose meaning is determined by both position and name. I built the super-charged <strong>Fragmentor Plugin</strong> to correct this design mistake and to make the plugin much more flexible.
</p>
<p>
Whereas one would load a Fragment with the old <strong>Fragment Plugin</strong> with a call like this:
</p>
<pre class="html" style="font-size: 10px">
&lt;!--#plugin:fragment(fragment_name,view_name,
    match_param[id1,id2,...],
    page=[id1,id2,...]})--&gt;
</pre>
<p>
The new plugin uses a query string of key=&gt;value pairs much like a URL query string that looks like this:
</p>
<pre class="html" style="font-size: 10px">
{fragment(name=fragment_name&#038;view=view_name
    &#038;param1=value1&#038;param2=value2)}
</pre>
<div class="msg-info">
<h2>Note:</h2>
<p>
You cannot break fragment call tokens onto more than one line. They are broken onto multiple lines in this example to fit the format of this page.
</p>
</div>
<p></p>
<p>
There are 3 benefits of this approach:
</p>
<ol>
<li>The position of parameters is irrelevant</li>
<li>The query string can contain an arbitrary number of key=&gt;value pairs</li>
<li>Only your fragment needs to understand the optional parameters*</li>
</ol>
<p>
* There are two exceptions to this rule: the <em>name</em> and <em>view</em> keywords are reserved. Some might call this a shortcoming but I tend to disagree. Every language, whether for markup or code execution, uses reserved keywords so we are not introducing a new concept by reserving these two keywords.
</p>
<h2>The <strong>Editable Text Anywhere</strong> Trick.</h2>
<h3>What You Will Need</h3>
<ul>
<li>The <a href="http://www.skybluecanvas.com/exts/82" rel="nofollow"  title="Editable Region Hack Download">Editable Region Hack Package Download</a></li>
<li>Basic PHP and HTML know-how</li>
<li>A SkyBlueCanvas web site</li>
<li>FTP access to your site</li>
<li>A text editor</li>
</ul>
<p>
First, <a href="http://www.skybluecanvas.com/exts/82" rel="nofollow"  title="Download Fragmentor Plugin">download the Editable Region Hack Package</a>. Follow the installation instructions included with the download.
</p>
<p>
Next, open one of your <strong>SkyBlueCanvas Skins</strong> in a text editor. We are going to use the sidebar for this demonstration, so in the sidebar of your template, add the following code:
</p>
<pre class="html">
{fragment(name=region&#038;view=view
    &#038;content_id=
    &lt;?php $this->get_page_name(); ?&gt;-sidebar)}
</pre>
<p>
For the time being, don&#8217;t worry about what this code means. After we have created our content item to display in the region, I will explain how this code works.
</p>
<h2>Now for the Trick</h2>
<p>
We are actually going to use a SkyBlueCanvas Page for our editable content that goes in this region. However, we will only be using the <strong>Page Menu Text</strong> and the <strong>Page Article Text</strong> in the region. The reason we created an empty Skin File was so our page does not get rendered as a full HTML document.
</p>
<p>
The <strong>Page Menu Text</strong> is what SkyBlueCanvas&#8217;s <strong>Router Class</strong> uses as it&#8217;s unique identifier, so we will need to use this as well. The Fragment code I told you not to worry about earlier comes into play now. If you look at the code, you will see a PHP call embedded in the Fragment call. When this page is loaded, the template PHP will be parsed before the Plugins are fired, so when the <strong>Fragmentor Plugin</strong> sees this page, the PHP code will be replaced by the <strong>Menu Text</strong> or unique identifier of the current page. So if we are currently viewing the &#8220;Home Page&#8221;, the final key=&gt;value pair in our query string will actually read:
</p>
<pre class="html">
content_id=home-page-sidebar
</pre>
<p>
This is critical in order for the trick to work.
</p>
<h2>The Finale</h2>
<p>
With all of our pieces in place, log into the admin section of your site and navigate to <strong>Admin &gt; Pages</strong> and click the <em>Add Page</em> button. Once in the <em>Page Form View</em>, click the <em>Meta Tab</em> and name your content item <strong>Home Page Sidebar</strong>.
</p>
<p>
In the selector labeled <em>Layout</em>, select <em>Region</em>. This tells SkyBlueCanvas to use our empty Region Skin to build this page. Since the Region Skin is empty, the only output of the page will be the article cotnent.
</p>
<p>
In the selector labeled <em>Menu</em>, select <em>No Menu</em> (this is important).
</p>
<p>
Set <em>Published</em> to <em>No</em>.
</p>
<p>
You can choose to syndicate this content item.
</p>
<p>
Finally, click the <em>Article Text</em> tab and enter text and images the same as you would on a SkyBlueCanvas page. Once you have finished entering your text, click the <em>Save button</em>, then view your home page. You should see your newly created content in the side bar.
</p>
<h3>Important</h3>
<p>
We are exploiting SkyBlueCanvas&#8217;s Unique Identifier format to match content items with the including page so it is critical that your editable region content Menu Text match the Menu Text of the including page exactly, except for the additional &#8217;sidebar&#8217; bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/editable-sidebar-content-hack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>MyVars String Replacement Extension</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/myvars-string-replacement/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/myvars-string-replacement/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 07:28:25 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[myvar]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sitevars]]></category>
		<category><![CDATA[variable]]></category>
<category>extensions</category><category>managers</category><category>myvars</category><category>plugins</category><category>sitevars</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=57</guid>
		<description><![CDATA[The new MyVars extension allows you to create custom search variables/tokens that will be replaced with the values you specify
when your web page is rendered in the browser. This feature can be helpful when you want to be able to easily change
bits of informatin such as phone numbers, emails, web page URLs or image paths. You set the value once, and it is displayed
anywhere in your site you choose. If the value changes, you only make the change in one place.]]></description>
			<content:encoded><![CDATA[<p>The new MyVars extension allows you to create custom search variables/tokens that will be replaced with the values you specify when your web page is rendered in the browser. This feature can be helpful when you want to be able to easily change bits of informatin such as phone numbers, emails, web page URLs or image paths. You set the value once, and it is displayed anywhere in your site you choose. If the value changes, you only make the change in one place.</p>
<h2><a href="http://www.skybluecanvas.com/exts/78" rel="nofollow" >Download It Now</a></h2>
<h3>How It Works</h3>
<p>Let&#8217;s say you have your phone number littered throughout your web site. If your phone number ever changes, you would normally have to find and change every instance of the phone number on your site. With the MyVars extension and plugin, you can set your phone number in one place, and use a simple string replacement token to have the phone number automatically update immediately throughout your site.</p>
<p>MyVars has three possible variable types:</p>
<h4>Variables</h4>
<p>Variables are single word tokens that you can use anywhere in your page text, template HTML or even field inputs such as page titles, menu text or link text. The tokens are formatted as <strong>[[search_value]]</strong>. For instance, if you create a <strong>phone_number</strong> variable, you simply insert the <strong>[[phone_number]]</strong> token anywhere on your site, and the <strong>MyVars Plugin</strong> will automatically replace the token with the value you enter in the<strong> MyVars Manager</strong>.</p>
<h4>Example:</h4>
<p>Let&#8217;s say you create a variable with the search value <strong>phone_number</strong> and give it the replacement value <strong>(555) 555-1234</strong>.</p>
<p>In your page text, you enter:</p>
<p><em>For more information, please contact us at <strong>[[phone_number]]</strong></em>.</p>
<p>Your page will appear as:</p>
<p><em>For more information, please contact us at <strong>(555) 555-1234</strong></em>.</p>
<h4>Strings</h4>
<p>Strings are any string of text, of any length that you want to replace throughout your site. For instance, let&#8217;s say the name of your company changes from Acme Industries, LLC to Acme Global Industries, Inc. Rather than search throughout your entire site for every instance of the old name, you can create a string search value in <strong>MyVars Managers</strong> where the old name is the<strong> search value</strong> of the variable, and the new name is the <strong>replacement value</strong>. When your pages are rendered, the old name will be automatically replaced with the new value.</p>
<h4>Example:</h4>
<p>Let&#8217;s say you create a string search value <strong>Acme Industries, LLC</strong> and specify the replacement value <strong>Acme Global Industries, Inc.</strong>.</p>
<p>Your original page text contains:</p>
<p><em>Welcome to <strong>Acme Industries, LLC</strong>&#8230;</em>.</p>
<p>Your page will appear as:</p>
<p><em>Welcome to <strong>Acme Global Industries, Inc.</strong>&#8230;</em>.</p>
<h4>Regular Expressions (Advanced Users)</h4>
<p>Regular Expressions is a pattern matching language to allow you to match patterns or letters and/or numbers. MyVars allows you to specify a Regular Expression as a variable name to be replaced with the value you choose. For instance, if you want to add an area code to all instances of your phone number on your web site, you can specify<strong> /[0-9]{3}-[0-9]{4}/</strong> as the search value, enter <strong>(555) $0</strong> as the replacement value, and MyVars will automatically add the area code to each matching phone number.</p>
<h4>Example:</h4>
<p>Let&#8217;s say you create a Regular Expression search value <strong>/[0-9]{3}-[0-9]{4}/</strong> and give it the<br />
replacement value <strong>+1 (555) $0</strong>.</p>
<p>Your original page text contains:</p>
<p><em>Please contact us today at <strong>555-1234</strong>&#8230;</em>.</p>
<p>Your page will appear as:</p>
<p><em>Please contact us today at <strong>+1 (555) 555-1234</strong>&#8230;</em>.</p>
<h2>MyVars Extension Installation</h2>
<h3>System Requirements</h3>
<ul>
<li>SkyBlueCanvas v1.1</li>
<li>PHP 4 or above</li>
<li>Apache Web Server</li>
</ul>
<h3>Installation Instructions</h3>
<ol>
<li>Log into the <strong>Admin</strong> section of your SkyBlueCanvas site at <span style="text-decoration: underline;">www.yoursite.com/admin.php</span>.</li>
<li>Navigate to <strong>Admin &gt; Collections &gt; Installer</strong>.</li>
<li>
<ul>
<li>Click on the <strong>Managers</strong> tab.</li>
<li>Click the button labeled <strong>New</strong> in the upper-right corner of the admin page.</li>
<li>Click the button labeled <strong>Browse</strong>.</li>
<li>Using the file browser that appears, locate the MyVars Manager ZIP file in <span style="text-decoration: underline;">ext_myvars/packages/manager/myvars.zip</span>.</li>
<li>Click the button labeled <strong>Install</strong>.</li>
</ul>
</li>
<li>
<ul>
<li>Locate the MyVars Plugin file in <span style="text-decoration: underline;">ext_myvars/source/plugin/plugin.variables.php</span>.</li>
<li>Open the MyVars Plugin file in a text editor and copy the code.</li>
<li>Go to <strong>Admin &gt; Collections &gt; Plugins</strong></li>
<li>Click the button labeled <strong>Add</strong> in the upper-right corner of the admin page.</li>
<li>Paste the plugin code you copied into the textarea on the form.</li>
<li>Name the plugin <strong>plugin.variables.php</strong>.</li>
<li>Click the button labeled <strong>Save</strong>.</li>
</ul>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/plugins/myvars-string-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Menus in SkyBlueCanvas v1.1</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/creating-menus-skybluecanvas-v11/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/creating-menus-skybluecanvas-v11/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 17:58:40 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Fragments]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[fragment]]></category>
		<category><![CDATA[fragments]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[skybluecanvas]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[views]]></category>
<category>fragments</category><category>menus</category><category>skins</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=53</guid>
		<description><![CDATA[When you create a new page in SkyBlueCanvas, a menu item is already created for you. In fact, there is not really a menu item to create because the system assumes, by default, that if you have created a page, there should be a menu link for. I mean, how else would anyone find your page if there is not link, right?]]></description>
			<content:encoded><![CDATA[<p>When you create a new page in SkyBlueCanvas, a menu item is already created for you. In fact, there is not really a menu item to create because the system assumes, by default, that if you have created a page, there should be a menu link to it. I mean, how else would anyone find your page if there is no link, right?</p>
<p>The only trouble is, which menu should the new page go in? This is where you will have to give SkyBlueCanvas a little help. On the Meta Data tab in the Page Manager (<span class="admin-path">Admin &gt; Pages &gt; Edit</span>), you will see a selector field labeled Menu. You simply select the menu in which you want the page to appear.</p>
<p>There are two logical next questions that you may have. (1) How do I create a new menu? (2) How does the menu get placed on a page? In this article I will answer these two questions.</p>
<p>The answer to question (1), &#8220;How do I create a new menu?&#8221; is very simple. You simply navigate to <span class="admin-path">Admin &gt; Collections &gt; Menus</span>. From the list view, click the &#8220;Add&#8221; button. In the form that appears:</p>
<p><img class="diagram" src="http://blog.skybluecanvas.com/images/menu.form.jpg" alt="Menu Manager form image" width="464" height="184" /></p>
<p>provide the requested information.</p>
<div class="msg-info">
<h2>Note</h2>
<p>The Menu Type property has been deprecated so you do not need to complete this field.</p>
</div>
<div class="msg-info">
<h2>Tip</h2>
<p>You will need to know the numeric ID of the new menu so make note of it and hold onto it.</p>
</div>
<p>Then click Save.</p>
<p>No you can go back to <span class="admin-path">Admin &gt; Pages &gt; Edit</span> (your page) and on the Meta Data tab, select your new menu from the options list and save your page.</p>
<p>You have now successfully created a new menu and added a page (menu item) to the new menu.</p>
<h2>Displaying a Menu</h2>
<p>Displaying your menu involves two other concepts in SkyBlueCanvas: <a href="http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-v11-rc1-skins-explained/">templates</a> and <a href="http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-fragments-explained/">fragments</a>.</p>
<p>Templates and fragments make up the presentation or &#8220;view&#8221; portion of your web page. They are where you define the HTML structure of pages (templates) and collections or content types (fragments). They may be a little tricky to grasp at first, but once you understand them, they are very powerful and flexible.</p>
<p>Your SkyBlueCanvas installation, provided you are using v1.1 RC1 or later, should already have a Menu Fragment included. We are going to modify this fragment, or add to it rather, first.</p>
<p>Using your FTP client, navigate to <span class="file-path">/skyblue_root/data/skins/techjunie/fragments/menu/</span> and make a copy of <span class="file-name">view.php</span>. Name the new file <span class="file-name">mymenu.php</span>. Then open the file with the text editor of your choice.</p>
<div class="msg-info">
<h2>Tip</h2>
<p>If you have installed your own skin, you can simply copy <span class="file-path">/skyblue_root/data/skins/techjunkie/fragments/</span> to your new skin.</p>
</div>
<p>In the file <span class="file-name">mymenu.php</span> you will see the following code:</p>
<pre class="php">&lt;?php
  global $Router;
  global $Filter;
?&gt;
&lt;div class="horizontal-menu"&gt;
  &lt;?php if (count($data)) : ?&gt;
  &lt;ul&gt;
    &lt;?php foreach ($data as $item) : ?&gt;
    &lt;?php if (not_valid_menu($item)) continue; ?&gt;
    &lt;li&lt;?php the_class($item); ?&gt;&gt;
      &lt;a href="&lt;?php the_link($item); ?&gt;"&gt;
          &lt;?php the_text($item); ?&gt;&lt;/a&gt;
    &lt;/li&gt;
    &lt;?php endforeach; ?&gt;
  &lt;/ul&gt;
  &lt;?php endif; ?&gt;
&lt;/div&gt;</pre>
<p>That looks pretty simple, huh?</p>
<p>We are going to need to modify the code a little bit but I promise it will be painless- and I will give you the full code when we are finished.</p>
<p>SkyBlueCanvas will know that this is a menu fragment (more on this later) so the menu items (actually the pages) will already be available to your code in the <span class="variable">$data</span> variable. We will only need to manually retrieve our new menu.</p>
<p>Now you can refer back to the Menu ID I asked you to hold onto.</p>
<pre class="php">&lt;?php

  /*
  * Set this to the ID of the menu you created
  */

  $my_menu_id = 3;

  /*
  * Get the new menu from storage
  */

  $menu = $Core-&gt;SelectObj(
    $Core-&gt;xmlHandler-&gt;ParserMain(SB_XML_DIR . "menus.xml"),
    $my_menu_id
  );
?&gt;</pre>
<p>Now we have our menu items and our new menu. We can start building the menu HTML.</p>
<p>We will start with a basic HTML structure:</p>
<pre class="php">&lt;div class="mymenu"&gt;
  &lt;?php if ($menu-&gt;showtitle) : ?&gt;
  &lt;h2&gt;&lt;?php echo $menu-&gt;title; ?&gt;&lt;/h2&gt;
  &lt;?php endif; ?&gt;
  &lt;ul class="verticalmenu"&gt;

  &lt;/ul&gt;
&lt;/div&gt;</pre>
<p>That&#8217;s not too bad. We are almost finished building our menu HTML. Now all we need to do is loop through the <span class="variable">$data</span> list, and display each of the items in our menu. Here is how the looping is done:</p>
<pre class="php">  &lt;?php foreach ($data as $item) : &gt;

  &lt;?php endforeach; ?&gt;</pre>
<p>We only want to show links to pages that are published, so we will add a single line to make sure the menu item can be displayed:</p>
<pre class="php">  &lt;?php foreach ($data as $item) : &gt;
  &lt;?php if (not_valid_menu($item)) continue; ?&gt;

  &lt;?php endforeach; ?&gt;</pre>
<p>Now we want to filter the <span>$data</span> items to only show items in our new menu. We do this with a single line of code:</p>
<pre class="php">  &lt;?php foreach ($data as $item) : &gt;
  &lt;?php if (not_valid_menu($item)) continue; ?&gt;
  &lt;?php if ($item-&gt;menu != $menu-&gt;id) continue ; ?&gt;

  &lt;?php endforeach; ?&gt;</pre>
<p>Wow! That was pretty easy and we are moving right along &#8230;</p>
<p>The only thing we have left to do is display the menu item:</p>
<pre class="php">  &lt;?php foreach ($data as $item) : &gt;
  &lt;?php if (not_valid_menu($item)) continue; ?&gt;
  &lt;?php if (!$item-&gt;menu == $my_menu_id) continue ; ?&gt;
  &lt;li&lt;?php the_class($item); ?&gt;&gt;
    &lt;a href="&lt;?php the_link($item); ?&gt;"&gt;
        &lt;?php the_text($item); ?&gt;&lt;/a&gt;
  &lt;/li&gt;
  &lt;?php endforeach; ?&gt;</pre>
<p>And believe it or not, you have  just built a new menu, as well as your first SkyBlueCanvas Fragment. There is only one last step, and this one is the simplest of all.</p>
<p>Up to this point, we have created a new Menu object in the SkyBlueCanvas admin and written a new menu Fragment. The only thing that remains is to tell SkyBlueCanvas where to display the fragment. To do this, go to <span class="file-path">/skyblue_root/data/skins/techjunkie/</span> (or your skin) and open <span class="file-name">skin.text.html</span> in your text editor. You will see the following code:</p>
<pre class="html">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" {doc:lang}&gt;
  &lt;head&gt;
    &lt;title&gt;[[page.title]]&lt;/title&gt;
    &lt;meta http-equiv="Content-Type"
      content="text/html;charset=UTF-8" /&gt;
    &lt;?php echo $this-&gt;get_meta_data(); ?&gt;
    &lt;link rel="stylesheet"
    type="text/css"
    href="&lt;?php echo $this-&gt;get_path(); ?&gt;css/TechJunkie.css" /&gt;
    &lt;!--#plugin.preloader--&gt;
  &lt;/head&gt;
  &lt;body id="homepage"&gt;
    &lt;div id="wrap"&gt;
      &lt;!--#plugin:fragment(header)--&gt;
      &lt;div id="menu"&gt;
        &lt;!--#plugin:fragment(menu,view,menu=1)--&gt;
      &lt;/div&gt;
      &lt;div id="content-wrap"&gt;
        &lt;div id="main"&gt;
          &lt;!--#plugin:fragment(page,view)--&gt;
        &lt;/div&gt;
        &lt;div id="sidebar"&gt;
          &lt;!--#plugin:fragment(sidebar)--&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="footer-wrap"&gt;
        &lt;!--#plugin:fragment(footer)--&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
<p>Notice the lines that look like this:</p>
<pre class="html">&lt;!--#plugin:fragment(page,view)--&gt;&gt;</pre>
<p>These tokens are the code that tell SkyBlueCanvas where to load a fragment, which fragment to load, and which view (PHP file) to load. So the only thing you need to do is add a token for your new menu in the location in the HTML where you want the menu to appear. Let&#8217;s assume you want your new menu to appear at the top of the sidebar. You will change the code to look like this:</p>
<pre class="html">
<div id="sidebar">
 &lt;!--#plugin:fragment(menu,mymenu)--&gt;</div>
</pre>
<p>Now test your new menu by pointing your browser to your web site. Your new menu should appear at the top of the sidebar.</p>
<div class="msg-info">
<h2>Note</h2>
<p>You will need to make this change for all of the skins HTML files, <span class="file-name">skin.contacts.html</span> and <span class="file-name">skin.standard.html</span>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/creating-menus-skybluecanvas-v11/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing Portfolio Extension for SkyBlueCanvas v1.1 RC1</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/installing-portfolio-extension-skybluecanvas-v11-rc1/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/installing-portfolio-extension-skybluecanvas-v11-rc1/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 01:30:03 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[galleria]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[smoothgallery]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[tutorials]]></category>
<category>extension</category><category>gallery</category><category>install</category><category>portfolio</category><category>setup</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=48</guid>
		<description><![CDATA[It was brought to my attention today by a SkyBlueCanvas user that I neglected to include good instructions for installing the Portfolio and Galleria extensions. I apologize for the inconvenience. Here are some detailed instructions on how to install the Galleria Extension. The same instructions, with some very minor differences, also apply for the Portfolio Fragment (frag_portfolio).]]></description>
			<content:encoded><![CDATA[<p>It was brought to my attention today by a SkyBlueCanvas user that I neglected to include good instructions for installing the Portfolio and Galleria extensions. I apologize for the inconvenience. My excuse is that developing and delivering an open source project is a lot of work and all too often, the documentation is the last thing to get attention. We are working on correcting this problem.</p>
<p>In the mean time, here are some detailed instructions on how to install the Galleria Extension. The same instructions, with some very minor differences, also apply for the Portfolio Fragment (frag_portfolio).</p>
<p>This will look a bit daunting at first glance, but it is really not difficult. I have full confidence in anyone&#8217;s ability to install the extension. If you do as I ask you to, step-by-step, you will have the extension installed in no time.</p>
<p>Let&#8217;s get started</p>
<h3>Here is how to set up the Portfolio extension, step-by-step:</h3>
<ol>
<li> First, download <span class="file-name">ext_galleria.zip</span> from the Downloads page: <a href="http://www.skybluecanvas.com/exts/58" rel="nofollow" >Download</a></li>
<li>Un-zip the <span class="file-name">frag_portfolio.zip</span> file to your computer</li>
<li>Copy <span class="file-path">/ext_galleria/manager/portfolio/</span> to <span class="file-path">/your_skyblue_root/managers/</span>
<p class="note">If you already have the Portfolio Manager installed, you can skip this step.</p>
</li>
<li> Go to <span class="file-path">/your_skyblue_root/data/skins/techjunkie/</span> and copy <span class="file-name">skin.text.html</span> to your skin directory. Name the new file <span class="file-name">skin.portfolio.html</span>.
<div class="msg-info">
<h2>Note</h2>
<p>If you are using the techjunkie skin, just copy the skin.text.html file to the same directory.</p>
</div>
</li>
<li> Leave this page as-is for now (we will come back to it)</li>
<li> Go to <span class="admin-path">Admin &gt; Pages</span> and create a new page and do the following:
<ul>
<li>Click the Meta Data tab</li>
<li>Give your page a name</li>
<li>Set the Page Type to &#8216;portfolio&#8217;</li>
<li>Fill in the other fields on the form as appropriate for your site</li>
<li>Click Save</li>
</ul>
</li>
</ol>
<h3>Ok, this part is a bit tricky:</h3>
<ol>
<li> Go to <span class="file-path">/your_skyblue_root/data/skins/your_skin/</span> and create a new directory named <span class="file-path">fragments</span></li>
<li> Go to the ext_gallery package you downloaded, and copy the Portfolio fragment (smoothgallery, lightbox or thickbox) you want to use to <span class="file-path">/your_skyblue_root/data/skins/your_skin/fragments/</span>
<div class="msg-info">
<h2>Note</h2>
<p>Be sure to read the instructions included with each fragment carefully</p>
</div>
</li>
<li> Go back to <span class="file-name">skin.portfolio.html</span> and look for the line that reads:
<pre class="html">&lt;!--#plugin:fragment(page,view)--&gt;
</pre>
<p>and change it to match the portfolio fragment you installed.</p>
<pre class="html">For SmoothGallery:

&lt;!--#plugin:fragment(portfolio,smoothgallery)--&gt;

For LightBox:

&lt;!--#plugin:fragment(portfolio,lightbox)--&gt;

For ThickBox:

&lt;!--#plugin:fragment(portfolio,thickbox)--&gt;
</pre>
</li>
<li> Go to <span class="admin-path">Admin &gt; Collections &gt; Plugins</span> and make sure the following plugins are enabled:
<ul>
<li><span class="file-name">plugin.parser.php</span></li>
<li><span class="file-name">plugin.fragments.php</span></li>
</ul>
</li>
</ol>
<p>Now all you need to do is add items to your portfolio in Admin &gt; Collections &gt; Gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/installing-portfolio-extension-skybluecanvas-v11-rc1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Skin Installer</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skin-installer/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skin-installer/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 00:33:52 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[skybluecanvas]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[views]]></category>
<category>extensions</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=27</guid>
		<description><![CDATA[The ability to re-skin a web site - or change the appearance without affecting the content - is one of the more useful features of any content management system. SkyBlueCanvas makes this task extremely simple. In this article I explain how to install new skins on your SkyBlueCanvas site.]]></description>
			<content:encoded><![CDATA[<p>SkyBlueCanvas allows you to install an unlimited number of templates.<br />
Requirments</p>
<p>SkyBlueCanvas templates must be saved as a ZIP archive before installing.<br />
How To Install a Template</p>
<h3>Diagram 12</h3>
<p><img src="/images/skins.dash.jpg" alt="SkyBlueCanvas Skins Dashboard" class="diagram" /></p>
<p>Click the Templates icon on the main dashboard. You will be redirected to the Templates Dashboard shown in Diagram 12. From there, click the Install Skins button shown in Diagram 12-C. You will be redirected to the Skin Installer manager show in Diagram 15.</p>
<h3>Diagram 15</h3>
<p><img src="/images/skins.install.list.jpg" alt="SkyBlueCanvas Skins Installer List" class="diagram" /></p>
<h4>Diagram 15-A</h4>
<p>Digram 15-A indicates the template name and a camera icon. If the skin includes a thumb.gif file in its images directory, you can view a thumbnail of the template by positioning your cursor over the camera icon.</p>
<h4>Diagram 15-B</h4>
<p>Digram 15-B indicates the delete control. You can delete a template by clicking this control. If only one skin is installed, however, SkyBlueCanvas will not show this control.</p>
<h4>Diagram 15-C</h4>
<p>Digram 15-C indicates the Add button you use to open the Installer Control. To install a new template, click this button and you will be re-directed to the Installer Control shown in Diagram 16.</p>
<h3>Diagram 16</h3>
<p><img src="/images/skins.install.upload.jpg" alt="SkyBlueCanvas Skins Installer Upload" class="diagram" /></p>
<h4>Diagram 16-A</h4>
<p>Diagram 16-A indicates the text field where you enter a name for your skin. This name will be used as the name of a directory, so it is suggested that you use a name that only includes lower-case letters and numbers.</p>
<h4>Diagram 16-B</h4>
<p>Diagram 16-A indicates the File Selector. Click the browse button. A file browser will open in a dialog. Use the file browser to navigate to and select the ZIP archive containing the skin you wish to install.</p>
<h4>Diagram 16-C</h4>
<p>To upload the new skin, click the Install button indicated in Diagram 16-C. SkyBlueCanvas will upload your new template to a temporary directory, un-archive it and move it to the templates directory.<br />
Activating Your New Template</p>
<p>To activate your new template, navigate back to the Templates Dashboard using the button in the gray menu bar just below the blue sky header. From there, click the Active Skin button on the Templates Dashboard. You will be re-directed to the Active Skin editor shown in Diagram 17.</p>
<h3>Diagram 17</h3>
<p><img src="/images/skins.active.jpg" alt="SkyBlueCanvas Skins Installer Active Skine" class="diagram" /></p>
<p>To activate the template (or another template), simply select the template name from the selector shown in Diagram 17-A, then click the Save button shown in Diagram 17-B. Now, you can visit your public site and view your new site template.<br />
Caution</p>
<p>The names of content regions are not pre-defined in SkyBlueCanvas. You will want to double-check that the names of the regions have not changed before installing a new template. If the names of the regions have changed, you will need to go through the steps outlined in Collections_Publishing to update where your collections appear.</p>
<p>Additionally, to make sure the names of the layout files have not changed. If they have changed, you will need to update the page layouts in the Page Manager as shown in Diagram 2-D in the Pages instructions. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skin-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skins Manager</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skins-manager/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skins-manager/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 00:28:34 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[skybluecanvas]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[views]]></category>
<category>extensions</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=26</guid>
		<description><![CDATA[Templates &#8211; or skins &#8211; are the presentation layer of a web site and allow you to change the appearance of your site without making any changes to the content (text and pictures). The SkyBlueCanvas template system is very simple and very flexible. What your site looks like is limited only by your imagination.
Skins are [...]]]></description>
			<content:encoded><![CDATA[<p>Templates &#8211; or skins &#8211; are the presentation layer of a web site and allow you to change the appearance of your site without making any changes to the content (text and pictures). The SkyBlueCanvas template system is very simple and very flexible. What your site looks like is limited only by your imagination.</p>
<p>Skins are comprised of XHTML, CSS, JavaScript? and image files. SkyBlueCanvas templates contain absolutely no PHP or other executable code and incorporates a simple token replacement concept. You build your XHTML files as you would for any web page and indicate a content region using simple tokens like {region:header}, {region:left} and {region:main}.</p>
<p>When you create a template for a SkyBlueCanvas site, you do not need, however, to build the entire page. Every web page includes the HTML, HEAD and BODY regions, so SkyBlueCanvas includes a page skeleton that defines these major elements. Your template only needs to define what appears between the BODY tags.</p>
<h3>Diagram 12</h3>
<p><img src="/images/skins.dash.jpg" alt="SkyBlueCanvas Skins Dashboard" class="diagram" /></p>
<p>When you click the Templates icon shown in Diagram 1-A, you will be re-directed to the Templates Dashboard shown in Diagram 12. This dashboard shows 4 controls:</p>
<ul>
<li>Active Skin (Diagram 12-A)</li>
<li>CSS Editor (Diagram 12-B)</li>
<li>HTML Editor (Diagram 12-B)</li>
<li>Skin_Installer (Diagram 12-C)</li>
</ul>
<p>Caution: Unless you know what you are doing, you should not attempt to edit the CSS or HTML for your site skins.</p>
<p>SkyBlueCanvas allows you to install an unlimited number of templates. You use the Active Skin manager to select the currently active skin. I will not cover this manager here because it is very simple and self-explanatory.</p>
<p>We will use the HTML Editor as our example for explaining how the editor works. It is actually quite simple because it is only a simple text editor.</p>
<h3>Diagram 13</h3>
<p><img src="/images/skins.html.list.jpg" alt="SkyBlueCanvas Skins HTML List" class="diagram" /></p>
<p>To edit the HTML (and similarly the CSS) for your template, click the HTML Editor button on the Templates Dashboard as indicated in Diagram 12-B. You will be re-directed to the familiar List View shown in Diagram 13.</p>
<h4>Diagram 13-A</h4>
<p>You can create a new HTML Layout File by clicking the Add button shown in Diagram 13-A.</p>
<h4>Diagram 13-B</h4>
<p>To edit an existing layout file, click the Edit control to the right of the HTML file you wish to edit (Diagram 13-B). You will be re-directed to the HTML Editor shown in Diagram 14.</p>
<h3>Diagram 14</h3>
<p><img src="/images/skins.html.edit.jpg" alt="SkyBlueCanvas Skins HTML Edit" class="diagram" /></p>
<h4>Diagram 14-A</h4>
<p>In the field indicated in Diagram 14-A, you can enter a name for the skin. However, changing the name of the HTML file does not rename the file. Instead, it makes a copy of the file with the new name. This is a precautionary measure to prevent you from accidentally breaking the appearance of your site. If you have pages that already use the original name of the layout, you would have to go change these pages individually.</p>
<h4>Diagram 14-B</h4>
<p>Diagram 14-B indicates the text area where you edit the HTML for the layout file. Make the desired changes to the HTML and click the Save button indicated in Diagram 14-C. That&#8217;s it. The next time someone visits your site, the new HTML will be displayed. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skins-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collections Manager</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-collections-manager/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-collections-manager/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 00:16:15 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>

		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=24</guid>
		<description><![CDATA[Collections are perhaps the trickiest concept to grasp in SkyBlueCanvas. A collection is a type of container made up of a variable number of items. Examples of collections include link lists, photo galleries, FAQs and Menus. They are literally collections of things or smaller units that appear within a page. The concept of a collection, allows you, the user to add, edit and delete individual items within a container without having to worry about building the container itself.]]></description>
			<content:encoded><![CDATA[<p>Collections are perhaps the trickiest concept to grasp in SkyBlueCanvas. A collection is a type of container made up of a variable number of items. Examples of collections include link lists, photo galleries, FAQs and Menus. They are literally collections of things or smaller units that appear within a page. The concept of a collection, allows you, the user to add, edit and delete individual items within a container without having to worry about building the container itself.</p>
<h3>Diagram 7</h3>
<p><img src="/images/collections.dash.jpg" alt="SkyBlueCanvas Collections Dashboard" class="diagram" /></p>
<p>The Collections Dashboard, shown in Diagram 7 shows you a group of buttons. The top and wider button is the Collection Publishing editor. Publishing Collections is explained on the Collections_Publishing page.</p>
<p>The two columns of buttons below the Collection Publishing button give you access to the different types of collections available on your site. SkyBlueCanvas calls these editor Managers because they allow you to Manage your collections. SkyBlueCanvas is extensible so you can add new collection managers through the Manger API.</p>
<p>For our example here, we are going to be using the Links Manager. When you click the Links button, you will be re-directed to the Links List View as shown in Diagram 8.</p>
<h3>Diagram 8</h3>
<p><img src="/images/collections.links.list.jpg" alt="SkyBlueCanvas Links Manager List" class="diagram" /></p>
<p>SkyBlueCanvas managers come in 1-Dimensional and Multi-Dimensional types. A 1-Dimensional Manager is one that only manages a single item &#8211; this means items that appear as a single collection without Groups. A Multi-Dimensional Manger manages items that are arranged into more complex structures likes items and groups. The Links Manager is an example of a Multi-Dimensional Manager because it works with Links and Groups of Links.</p>
<h4>Diagram 8-A and 8-B</h4>
<p>Diagram 8-A indicates the Add button you use to add a new link item. Diagram 8-B indicates the View Groups button. If you click the View Groups button, your view will be switched to a list of the Links Groups. While you can add Links Items without defining any groups, you will not be able to display the links until you have added at least one group and place the Links Items in that group.</p>
<p>I will only cover adding Links Items here, but the Groups feature works exactly the same. In fact, all Managers in SkyBlueCanvas work essentially the same. The individual form inputs will vary but the concept is exactly the same with all Managers.</p>
<p>So, to add a new link, click the Add button indicated in Digram 8-A. You will be re-directed to the Links Item editor. Shown in Diagram 9.</p>
<p>Before we turn our attention to Diagram 9 and adding links, I will briefly explain Diagram 8-C and 8-D. By now, these features should be familiar to you. These controls allow you to edit an existing Links Item or delete the item.</p>
<h3>Diagram 9</h3>
<p><img src="/images/collections.links.edit.jpg" alt="SkyBlueCanvas Links Manager Editor" class="diagram" /></p>
<h4>Diagram 9-A and 9-B</h4>
<p>Diagram 9-A and 9-B indicate the fields where you enter the click-able text that will appear in the list of links on your public site and the URL (page address) to which to link respectively. So if I enter Google in the field marked Diagram 9-A and http://www.google.com* in the field marked Diagram 9-B, on my public site, the link will display Google to the site visitor and take them to www.google.com when they click the link.</p>
<h4>Diagram 9-C</h4>
<p>In the field labeled Diagram 9-C you can enter a caption for the link. If you enter a caption, the link will appear as something like this:</p>
<ul>
<li>SkyBlueCanvas
<p>The most flexible lightweight CMS in the world.</p>
</li>
</ul>
<h4>Diagram 9-D</h4>
<p>Diagram 9-D indicates the selector you use to assign the link being edited/created to a Group. Remember that we are not going to cover creating groups because the steps are exactly the same. But once you create a group it will appear, along with all other groups in this selector.</p>
<h4>Diagram 9-E</h4>
<p>Diagram 9-E indicates the selector you use to arrange the order of your items (links in this case). The options you will see are:</p>
<ul>
<li>First</li>
<li>Link 1 Name</li>
<li>Link 2 Name</li>
<li>Last</li>
</ul>
<p>First and Last are self-explanatory. If you select another link from the list, the current link will appear after the link you select when the page is displayed.</p>
<h4>Diagram 9-F</h4>
<p>To save your new link, click the Save button indicated by Diagram 9-F.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-collections-manager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Media Manager</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-media-manager/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-media-manager/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 00:07:02 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[skybluecanvas]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[views]]></category>
<category>extensions</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=23</guid>
		<description><![CDATA[SkyBlueCanvas allows you to include additional, non-html media with a page in your site. These media include images and PDF, TAR, ZIP and DOC files. This article explains how to upload and manage media for use on your SkyBlueCanvas site.]]></description>
			<content:encoded><![CDATA[<p>SkyBlueCanvas currently supports two types of media &#8211; pictures and files. </p>
<p>Pictures are images that can be inserted into the body of a page, displayed in a _Photo Gallery_ and/or used as part of your [Templates].</p>
<p>Files are downloadable assets such as PDFs, Microsoft Office documents and ZIP or TAR files. The system allows you to upload files, move them between directories and rename them. Additionally, in the list view, pictures can be previewed by simply holding the cursor over the camera icon beside the image name. </p>
<h3>Diagram 3</h3>
<p><img src="/images/media.list.jpg" alt="SkyBlueCanvas list media" class="diagram" /></p>
<p>When you click the <em>Media</em> icon on the [Dashboard], you will be re-directed to a list view of the media currently available on your site.</p>
<h4>Diagram 3-A</h4>
<p>Diagram 3-A indicates the selector that allows you to narrow the list of media shown to only those files contained within a specific media sub-directory (Gallery, Skins, Downloads, etc.).</p>
<h4>Diagram 3-B and 3-C</h4>
<p>Diagram 3-B indciates the path to the file. If the file is an image, you will see a camera icon (Diagram 3-C) to the left of the image path/name. If you hold your cursor over the camera icon, you can view a thumbnail of the image.</p>
<h4>Diagram 3-D</h4>
<p>If you want to upload (Add) a new file, simply click the <strong>Add</strong> button indicated in Diagram 3-D. You will then be re-directed to the <strong>Media Upload</strong> editor. See below (Diagram 4) for more details on uploading files to your site.</p>
<h4>Diagram 3-E thru 3-G</h4>
<p>Once you have uploaded media files to your site, you can <strong>Move</strong>, <strong>Rename</strong> or <strong>Delete</strong> the files. See Diagram 5 for more information on Moving files. See Diagram 6 for detail on renaming files.</p>
<h3>Diagram 4</h3>
<p><img src="/images/media.move.jpg" alt="SkyBlueCanvas move media" class="diagram" /></p>
<h4>Diagram 4-A thru 4-C</h4>
<p>To move a file from one media sub-directory to another, click the <strong>Move</strong> link next to the file in the <em>Media List View</em> (Diagram 3-E). You will be re-directed to the <em>Media File Move</em> editor. Diagram 4-A indicates the current name and location of the file.</p>
<p>Diagram 4-B indicates the selector you use to select the new location to which the file will be moved. Once you have selected the desired location, simply click the <strong>Move File</strong> button indicated in Diagram 4-C.</p>
<h3>Diagram 5</h3>
<p><img src="/images/media.rename.jpg" alt="SkyBlueCanvas Rename Image" class="diagram" /></p>
<h4>Diagram 5-A thru 5-C</h4>
<p>To rename a media file, click the <strong>Rename</strong> link next to the file in the <em>Media List View</em> (Diagram 3-F). You will be re-directed to the <em>Media File Rename</em> editor. Diagram 5-A indicates the current name of the file.</p>
<p>Enter the new name of the file in the field indicated by Diagram 5-B and click the <strong>Rename File</strong> button indicated in Diagram 5-C.</p>
<h3>Diagram 6</h3>
<p><img src="/images/media.upload.jpg" alt="SkyBlueCanvas upload media" class="diagram" /></p>
<h4>Diagram 6-A thru 6-C</h4>
<p>To upload a new media file, click the *Add* button shown in the <em>Media List View</em> (Diagram 3-D). You will be re-directed to the <em>Media File Upload</em> editor. </p>
<p>Click the <strong>Browse</strong> button shown in Diagram 5-A. A file browser will open in a new window. Use the file browser to navigate to and select the file you wish to upload. Currently, SkyBlueCanvas only supports PNG, GIF, JPG image formats and PDF, ZIP and TAR.GZ file types.</p>
<p>Next, select the desired location where you wish to upload the new file in the selector indicated in Diagram 6-B.</p>
<p>Next, click the <strong>Upload</strong> button indicated in Diagram 6-C.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-media-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Manager</title>
		<link>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-pages/</link>
		<comments>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-pages/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 23:52:02 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[SkyBlueCanvas CMS]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[skybluecanvas]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[views]]></category>
<category>extensions</category><category>tutorials</category>
		<guid isPermaLink="false">http://blog.skybluecanvas.com/?p=22</guid>
		<description><![CDATA[SkyBlueCanvas is built first-and-foremost around the concept of pages as the base container. A page can contain text, pictures and other containers (also called collections). This article explains how to add, edit and organize pages in your SkyBlueCanvas site.]]></description>
			<content:encoded><![CDATA[<h3>Pages</h3>
<p>SkyBlueCanvas is built first-and-foremost around the concept of pages as the base container. A page can contain text, pictures and other containers (also called collections).</p>
<p>When a new page is created in SkyBlueCanvas, it is automatically associated with a menu item. You create a page, add text and pictures, then indicate in which menu the page should appear (or no menu at all).</p>
<h4>View Page List</h4>
<h5>Diagram 1</h5>
<p><img src="/images/pages.list.jpg" alt="SkyBlueCanvas Page List" class="diagram" /></p>
<p>Click the <strong>Pages</strong> icon on the main dashboard and you will be re-directed to a list view of the existing pages in your site. All managers in SkyBlueCanvas follow the same structure:</p>
<ul>
<li>List View</li>
<li>Item Editor</li>
<li>Groups Editor (optional)</li>
</ul>
<p>The controls on each <strong>List View</strong> page will vary but typically will include:</p>
<ul>
<li>Add (Diagram 1-A)</li>
<li>Edit (Diagarm 1-B)</li>
<li>Delete (Diagram 1-C)</li>
</ul>
<h4>Adding A New Page</h4>
<h5>Diagram 2</h5>
<p><img src="/images/pages.edit.jpg" alt="SkyBlueCanvas Add Page" class="diagram" /></p>
<p>Click the <strong>Add</strong> button (Diagram 1-A) to add a new page. This will open the <strong>Page Editor</strong> (Diagram 2).</p>
<p>At first glance Diagram 2 may look a bit overwhelming but it is fairly straightforward and easy to explain.</p>
<h6>Diagram 2-A</h6>
<p>Item A in Diagram 2 highlights the <strong>Title Bar Text</strong> field. Whatever you enter in this field will appear in the <strong>Title Bar</strong> of the browser window when someone visits your web site.</p>
<h6>Diagram 2-B</h6>
<p>As mentioned previously, when you add a new page, it is automatically associated with a <em>menu item</em>. Items B highlights the text that will appear in the <strong>Menu Link</strong> for this page. So, if you enter <strong>Home Page</strong> in this field, the menu item will read <strong>Home Page</strong>.</p>
<h6>Diagram 2-C</h6>
<p>Diagram 2-C highlights the selector with which you indicate _which_ menu the menu item for this page should appear. SkyBlueCanvas allows you have create different navigation menus for your site. We will cover creating <em>Menus</em> in the <strong>[Menus]</strong> section.</p>
<h6>Diagram 2-D</h6>
<p>Diagram 2-D highlights the selector for choosing which HTML template to use for this page. SkyBlueCanvas allows you to create an unlimited number of page layouts with your <strong>Templates</strong> which can be assigned to individual pages using the selector in Diagram 2-D.</p>
<h6>Diagram 2-E</h6>
<p>Diagram 2-E highlights the <em>Parent Selector</em>. The Parent Selector allows you to assign a page as a <em>child</em> of another page to create structure to your site. The Parent-Child relationship between pages is closely tied to the way SkyBlueCanvas builds menus. When a page is assigned as a child of another page, the child page will appear as a sub-menu of the menu item for the parent page. You can create as many sub-levels of pages as you want in SkyBlueCanvas so you can a Parent-Child-Grandchild-greatgrandchild setup if your site calls for it.</p>
<h6>Diagram 2-F and 2-G</h6>
<p>Diagram 2-F and 2-G highlight the HTML editor. SkyBlueCanvas uses the Wymeditor WYSIWYM (what you see is what you mean) Semantic HTML Editor. The editor is intended to create semantically correct, structured XHTML.</p>
<p>Diagram 2-F indicates the Tool Bar. If you are familiar with Rich Text editing and Word Processors like Microsoft Word, you should recognize these controls.</p>
<p>Diagram 2-G indicates the body of the editor where you edit the text and pictures for the page. Simply click your cursor in the grey area if this is a new page, or anywhere in the body of the text if this page already has text, and start typing.</p>
<h6>Diagram 2-H</h6>
<p>SkyBlueCanvas allows you to apply <em>Meta Data</em> to pages globally or page-by-page. Meta Tags are created in the <strong>Collections</strong> control panel. Once created, the <em>Meta Groups</em> can will appear in the area highlighted by Diagram 2-H as check boxes. To apply the desired meta group to this page, simply check the box next to the group name.</p>
<p>You can also enter keywords associated with this page in the text area indicated in Diagram 2-H.</p>
<h6>Diagram 2-I</h6>
<p>Diagram 2-I indicates the selector that allows you to publish-up or publish-down a page. This feature allows you to create a draft of a page without actually displaying it as a menu item or on the site as viewed by the public.</p>
<h6>Diagram 2-J</h6>
<p>Diagram 2-J indicates the selector that allows you to specify a page as the <strong>Home Page</strong> or <strong>Default Page</strong>. Only one page can be set as the default. The default page is the first page that is viewed when a visitor comes to you site.</p>
<h6>Diagram 2-K</h6>
<p>This is pretty self-explanatory but once you have finished editing your page, click <strong>Save</strong> and the page is saved.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skybluecanvas.com/skybluecanvas-lightweight-cms/skybluecanvas-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
