<?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>Don Tai (Canada) Blog &#187; Drupal 6</title>
	<atom:link href="http://dontai.com/wp/tag/drupal-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://dontai.com/wp</link>
	<description>Have Lemons, Make Lemonade</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:10:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Drupal 6 Workflow Module: Documentation</title>
		<link>http://dontai.com/wp/2009/04/01/drupal-6-workflow-documentation/</link>
		<comments>http://dontai.com/wp/2009/04/01/drupal-6-workflow-documentation/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 19:33:31 +0000</pubDate>
		<dc:creator>dontai</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[Drupal 6]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://dontai.com/wp/?p=906</guid>
		<description><![CDATA[I have been doing workflow applications going on a decade now using Domino Notes. It is very sophisticated and secure but administratively very heavy. I was intrigued with Drupal&#8217;s Workflow module. I am using Drupal 6.9 and Workflow version 6.x-1.1. Though the module is at first confusing, it seems to work quite well. ___Workflow allows [...]]]></description>
			<content:encoded><![CDATA[<p><!-- the drop cap --><br />
<span style="margin-right:6px;margin-top:5px;float:left;color:white;background:khaki;border:1px solid darkkhaki;font-size:80px;line-height:60px;padding-top:2px;padding-right:5px;font-family:times;">I</span> have been doing workflow applications going on a decade now using Domino Notes. It is very sophisticated and secure but administratively very heavy. I was intrigued with Drupal&#8217;s <a href="http://drupal.org/project/workflow">Workflow</a> module. I am using Drupal 6.9 and Workflow version 6.x-1.1. Though the module is at first confusing, it seems to work quite well.
<p><font color="white">___</font>Workflow allows you to define a process or series of steps necessary to get to your final destination. Each step requires some action and approval before moving to the next step. For a simple example, in order to eat an apple the workflow steps required could include: purchase, wash, eat. Each of these steps needs to be defined, and each step requires someone to do the step and to approve it.</p>
<p><font size="4" color="brown">Workflow Module: First Glance</font></p>
<p>There is little documentation on the Workflow module. Interestingly <a href="http://drupalmodules.com/module/workflow">DrupalModules</a> rated Workflow&#8217;s documentation a 4/5, but do not list any. This 2006 <a href="http://www.lullabot.com/videocast/drupal_actions_and_workflow_video">video</a> of Drupal Actions and Workflow uses Drupal 4.6, but still gives you the gist of how the workflow is configured. It&#8217;s worth taking a look.</p>
<p><font color="white">___</font>Installation is simple and standard. Download the module from <a href="<a href="http://drupal.org/project/workflow">&#8220;>Drupal.org</a> and extract to your sites/all/modules directory. Enable both the Workflow and Workflow_access modules from your administration panel. There are no necessary prerequisite modules. You&#8217;ll need to set permissions for the workflow module as well as configure your workflow.</p>
<p><font color="white">___</font>The Workflow module allows you to do workflow on a specific document type. For example, I wanted to add a workflow process to a story document. My story document can be submitted by an authenticated user, then someone with editor access can approve it. Until approval, the document should not be available to others for viewing. It&#8217;s as simple a workflow as possible.</p>
<p><font size="4" color="brown">My Example</font></p>
<p>My workflow should be as follows:<br />
<br />1.  An authenticated user adds a story document, which starts the workflow. It is not visible to the public. From its origin the document moves to a workflow state I call &#8220;story approve&#8221;.<br />
<br />2. Someone else with a role of editor can then approve the document, changing its state to &#8220;submit&#8221;. The document is now available to the public.
</p>
<div id="attachment_940" class="wp-caption alignnone" style="width: 690px"><img src="http://dontai.com/wp/wp-content/uploads/2009/04/drupalworkflow1-f.jpg" alt="Drupal 6 Workflow screencap: Workflow for Stories" title="Drupal 6 Workflow screencap: Workflow for Stories" width="680" class="size-full wp-image-940" /><p class="wp-caption-text">Drupal 6 Workflow screencap: Workflow for Stories. Right click View Image for larger image</p></div>
<p><font size="4" color="brown">Define Drupal Roles and Permissions</font></p>
<p>You need to configure different roles for your workflow and define them in Drupal. These can be different from editor and administrator.</p>
<p><font color="white">___</font>All roles need proper permissions for the workflow module. From the Permissions screen, allow all authenticated users to &#8220;access workflow summary views&#8221;, and allow editors and administrators to &#8220;administer workflow&#8221; and &#8220;schedule workflow transitions&#8221;. Do not allow authenticated users to administer workflow.</p>
<p><font size="4" color="brown">Defining Workflow Steps</font><br />
From the Administer tab, go to Site Building and then to Workflow. To create a new type of workflow, click &#8220;Add workflow&#8221;. Here you can select which document types will apply to your new workflow.</p>
<p><font color="white">___</font>You can also define your workflow steps here as well. Add a workflow step by clicking &#8220;Add state&#8221;. The workflow module allows you to create as many workflow steps (or states) as you need. Workflow steps can be edited and weighted from 10 to -10, the heavier the number, the later the workflow step. This allows you to put workflow steps in the proper order. I put my last step, &#8220;submit&#8221; as 10, because after this step the document is published and is public. The workflow step &#8220;story approve&#8221; was weighted at 0, and therefore a step above or prior to workflow step &#8220;submit&#8221;. </p>
<p><font color="white">___</font>Once you have created your new workflow, added which document types use this workflow, and added all your workflow steps, click the &#8220;Save workflow mapping&#8221; button to save your work. The next step is to &#8220;edit&#8221; your workflow.</p>
<p><font size="4" color="brown">Defining Roles to move from Workflow Step to Step</font></p>
<p>For each workflow step you add, you need to define which roles can move your document from one step to the next. In my case I allowed the author to move the document from &#8220;creation&#8221; to the &#8220;Story approve&#8221; workflow step, but only an editor role can move the document to the &#8220;submit&#8221; step, where it is published. The editor can also move the document from &#8220;submit&#8221; back to &#8220;Story approve&#8221; if necessary. Without clear rules about workflow steps and approvers, workflow can get pretty complicated.</p>
<p><font color="white">___</font>The original document submitter must have the authority to move his document to at least the first workflow step. This is a set rule of the module and it makes sense. Without this rule the document cannot start the workflow process. Not allowing the author to move the document from &#8220;creation&#8221; to the first workflow step will cause an error.</p>
<p><font color="white">___</font>The &#8220;Workflow tab permissions&#8221; section determines who can see a summary of documents undergoing the workflow process. A &#8220;Workflow Summary&#8221; item will be added to the navigation menu, near the administration section. This item will allow users to see their documents and state of workflow of specific documents, though they may not have permission to approve documents in the workflow process. The &#8220;Permissions Summary&#8221; section restates your workflow process in another way and it is not editable. This is here for further clarity of the workflow process.</p>
<p><font size="4" color="brown">Defining Who can see the Document during the Workflow</font></p>
<p>For each workflow step you add, the Workflow module allows you to configure who can view, edit or delete the document. This is where you can hide the document from the public. Of course after approval of the last workflow step, which by default is called &#8220;submit&#8221;, you should allow users to see the document. This is the final step of the workflow process.</p>
<p><font size="4" color="brown">Wrapup</font></p>
<p>The Workflow module is compact and very usable. I would have appreciated having better documentation, but did figure everything out in the end. There is more to the Workflow module than I know, so more learning is required, but this documentation should get you on your way to workflowing.</p>
<p>May the Flow be with you.</p>
<div id="attachment_942" class="wp-caption alignnone" style="width: 690px"><img src="http://dontai.com/wp/wp-content/uploads/2009/04/drupalworkflow2-f1.jpg" alt="Drupal 6 Workflow: Defining Story Workflow" title="Drupal 6 Workflow: Defining Story Workflow" width="680" class="size-full wp-image-942" /><p class="wp-caption-text">Drupal 6 Workflow: Defining Story Workflow. Right click View Image for larger image</p></div>
]]></content:encoded>
			<wfw:commentRss>http://dontai.com/wp/2009/04/01/drupal-6-workflow-documentation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Drupal 6 AboutPeople Theme and FCKeditor Goes Black on Black</title>
		<link>http://dontai.com/wp/2009/01/29/drupal-6-aboutpeople-theme-and-fckeditor/</link>
		<comments>http://dontai.com/wp/2009/01/29/drupal-6-aboutpeople-theme-and-fckeditor/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 18:04:29 +0000</pubDate>
		<dc:creator>dontai</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[black]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Drupal 6]]></category>
		<category><![CDATA[FCKeditor]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://dontai.wordpress.com/?p=215</guid>
		<description><![CDATA[Problem: After installing the AboutPeople theme and FCKeditor on Drupal 6.9, when the editor is invoked its editor window background is black and the text colour is black, not allowing you to see what you&#8217;re writing. Solution: This is not a problem of the theme or the module, but an unfortunate consequence of their interaction. [...]]]></description>
			<content:encoded><![CDATA[<p><!-- the drop cap --><br />
<span style="margin-right:6px;margin-top:5px;float:left;color:white;background:khaki;border:1px solid darkkhaki;font-size:80px;line-height:60px;padding-top:2px;padding-right:5px;font-family:times;">P</span>roblem: After installing the AboutPeople theme and FCKeditor on Drupal 6.9, when the editor is invoked its editor window background is black and the text colour is black, not allowing you to see what you&#8217;re writing.</p>
<p><!-- the drop cap --><br />
<span style="margin-right:6px;margin-top:5px;float:left;color:white;background:khaki;border:1px solid darkkhaki;font-size:80px;line-height:60px;padding-top:2px;padding-right:5px;font-family:times;">S</span>olution: This is not a problem of the theme or the module, but an unfortunate consequence of their interaction.</p>
<p>Here the fix.<br />
<strong>Summary</strong>: Go into FCK Editor, change the default style sheet, which is &#8220;use theme CSS&#8221;, to the &#8220;FCKeditor default&#8221; style sheet, and the background will turn white, allowing you to see what you&#8217;re typing.</p>
<p><strong>How to do it</strong>: Admin &gt; Modules &gt; Admin by Modules &gt; FCKeditor &gt; global settings &gt; profiles &gt; edit &gt; CSS. You still with me? Change the dropdown from &#8220;use theme CSS&#8221; to &#8220;FCKeditor default&#8221;.</p>
<p><strong>What Happened</strong>: FCKeditor defaults to the background colour of the theme, which happens to be black. Your font colour is also black. As you&#8217;ve found out, it&#8217;s not always cool to be in all black. The change of style sheet to the FCKeditor default put the background to white, so much easier to read if you don&#8217;t have ninja skills. You could also try adding your own CSS but that&#8217;s too much work and too messy for me. If you could change the font colour to white, the editor would work, but I could not see any such option in FCKeditor. Anyway the web usability of black background with white text would be suboptimal, and would hurt your eyes and tire you out. If you&#8217;re over 50 you&#8217;d really hate it. It sure does look cool though.</p>
<p>Link to the official Drupal 6 <a href="http://drupal.org/node/337334">AboutPeople Fix log</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dontai.com/wp/2009/01/29/drupal-6-aboutpeople-theme-and-fckeditor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

