<?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/"
	>

<channel>
	<title>HT_TEEPEE</title>
	<atom:link href="http://blog.htteepee.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.htteepee.com</link>
	<description>Where do you keep your hypertext transfer protocol notes?</description>
	<pubDate>Fri, 02 Oct 2009 12:28:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Howto - put Google maps on your eZ site</title>
		<link>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-put-google-maps-on-your-ez-site/</link>
		<comments>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-put-google-maps-on-your-ez-site/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 03:05:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[Avery]]></category>

		<category><![CDATA[blendinteractive]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[maps]]></category>

		<category><![CDATA[Truman Lake]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=117</guid>
		<description><![CDATA[1.  Download the gmapslocation extension
 
2.  Unpack it and follow the instructions in the readme.txt file.  You will need a google maps api key, which requires a google account and a domain name.
 
3.  In this instance, adding map info to fishing reports was the desired output.  A fishing report class was in place, based upon the [...]]]></description>
			<content:encoded><![CDATA[<p>1.  Download the <a href="http://ez.no/developer/contribs/datatypes/google_maps_location_datatype">gmapslocation</a> extension<br />
 </p>
<p>2.  Unpack it and follow the instructions in the readme.txt file.  You will need a <a href="http://maps.google.com">google maps</a> api key, which requires a google account and a domain name.</p>
<p> <br />
3.  In this instance, adding map info to fishing reports was the desired output.  A fishing report class was in place, based upon the article class.  So after installing the extension, in admin interface, Setup-&gt;Classes-&gt;Content-&gt;Fishing report-&gt;Edit button.  At the bottom of this class content is an &#8220;Add attribute&#8221; button with a drop down field to the left.  Click the drop down, select &#8220;Gmaps Location&#8221; from the list, Click the &#8220;Add attribute&#8221; button.  Give it a name &#8211;google mapping and an identifier &#8211;google_maps&#8211;.</p>
<p> </p>
<p>4.  Author a new Fishing Report, and notice there has been added a &#8220;google mapping&#8221; section with boxes to enter the Latitude and Longitude.  Entering values here will put a marker on the map for those coordinates.</p>
<p> </p>
<p>Thanks to google, eZ, and <a href="http://blendinteractive.com">blendinteractive</a>, it really is this easy.</p>
<p> </p>
<p>At least it was that easy on my localhost for testing.  It turned into a struggle when trying to get it up on my web hosting service.  </p>
<p> </p>
<p>When I moved the files up to the web, something happened to the api key text, and I kept getting an error message from google saying they key was already in use and I needed to sign up for a new key for this domain.  Final fix was to use Zend IDE to ftp upload and edit the files, to be sure they were staying clean (no line breaks) even when being edited.</p>
<p> </p>
<p><a href="http://fishingnn.com/index.php/eng/MO/Truman/Truman-Reservoir/Avery-on-Truman-Lake">http://fishingnn.com/index.php/eng/MO/Truman/Truman-Reservoir/Avery-on-Truman-Lake</a> is the first test.</p>
<p> <br />
Final note, google map does not load in firefox 3.0.4 on my test machine, it says no maps at that zoom level.  <br />
<a href="http://blog.htteepee.com/wp-content/uploads/2008/11/google-maps-ff304.jpg"><img class="alignnone size-medium wp-image-118" title="google-maps-ff304" src="http://blog.htteepee.com/wp-content/uploads/2008/11/google-maps-ff304.jpg" alt="" width="265" height="169" /></a></p>
<p>Not sure if this is caused by a preference setting or what.  The map displays fine, scrolls and zooms in Safari and Opera.</p>
<p> </p>
<p>Update, December 12, 2008.  The google map does not load in this wordpress post in any of the three browsers mentioned.  The map still works fine in the link.  Not sure if google, wp, temporary or permanent problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-put-google-maps-on-your-ez-site/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Howto - Create policies in eZ publish</title>
		<link>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-create-policies-in-ez-publish/</link>
		<comments>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-create-policies-in-ez-publish/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:51:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[eZ Publish]]></category>

		<category><![CDATA[limitations]]></category>

		<category><![CDATA[policies]]></category>

		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=104</guid>
		<description><![CDATA[The inspiration for this howto - the handy website toolbar with quick access to create and edit functions does not appear for a default editor login.  Why not?
 

 
Correcting this, and understanding policies, is primarily a case of understanding nomenclature, and knowing where to find the dialog boxes.
Accounts - every access to an eZ site requires [...]]]></description>
			<content:encoded><![CDATA[<p>The inspiration for this howto - the handy website toolbar with quick access to create and edit functions does not appear for a default editor login.  Why not?</p>
<p> </p>
<div><a href="http://blog.htteepee.com/wp-content/uploads/2008/11/editor-logged-in-no-toolbar.jpg"><img class="alignnone size-medium wp-image-107" title="editor-logged-in-no-toolbar" src="http://blog.htteepee.com/wp-content/uploads/2008/11/editor-logged-in-no-toolbar-300x126.jpg" alt="" width="300" height="126" /></a></div>
<p> </p>
<p>Correcting this, and understanding policies, is primarily a case of understanding nomenclature, and knowing where to find the dialog boxes.</p>
<p><strong>Accounts </strong>- every access to an eZ site requires an account.  </p>
<p>Four user accounts are provided out of the box (OOTB) in a default eZ install.</p>
<p>An Anonymous Users account is provided to allow casual viewers &#8220;read&#8221; level access to site content via the &#8220;Anonymous&#8221; role.  </p>
<p>Guest accounts are included, and provide access identical to Anonymous Users, by virtue of using the same role.  </p>
<p>Editors and Administrator users are two more user groups defined in a default install.  These use the Editor role and Administrator role giving progressively greater access to the site.  </p>
<p><strong>Roles - </strong>a policy or group of policies.</p>
<p><strong>Policy - </strong>a defined level of access to the site contents</p>
<p>Each policy is defined by three parameters &#8211;</p>
<p>  &#8211;module</p>
<p>  &#8211;function </p>
<p>  &#8211;limitation</p>
<p>The first two, module and function (of module) are tightly inter-related.</p>
<p>The third, limitation, can also be related to the first two, or have no relation to either of the first two.  In the case where it is related, the class (article, blog, event, etc), section(any top level section), owner(any/self) and group(any/self) allow further restrictions.  But limitations may also be totally unrelated to the first two, placing restrictions on complete section or subtrees.  Subtree and sections are important to a basic understanding of eZ Publish, and well documented. </p>
<p><strong>Module</strong></p>
<p>What is a module?  From the eZ documentation.. <span> </span></p>
<p>&#8220;A module offers an HTTP interface which can be used for web based interaction with eZ publish. For example, the content module provides an interface that makes it possible to use a web browser to manage actual content.&#8221; </p>
<p>To view a list of modules, login to the eZ admin interface.  From there, go to the &#8220;User accounts&#8221; tab, click the &#8220;Roles and policies&#8221; link, the &#8220;edit&#8221; icon for the Administrator role, then the &#8220;New Policy&#8221; button which will present a drop down selector for modules.  Whew, there must be an easier way somewhere.  Maybe giving it away to soon, but near the bottom of this list of modules, notice a &#8220;websitetoolbar&#8221; module.</p>
<p><strong>Function -</strong></p>
<p>Possible functions depend upon what the developer put into the module.  The &#8220;content&#8221; module has many functions available. The &#8220;RSS&#8221; module none.  The interface while  creating policies is self restricting.  Only functions that are available for a given module are listed, and only after the module is chosen.</p>
<p><strong>Limitation</strong> - means limitations on &#8220;<strong>Sections</strong>&#8220;, and &#8220;<strong>Subtrees</strong>&#8220;, site content in other words.</p>
<p>Limitations is where the site admin can get creative in restricting access to the site based upon login credentials.</p>
<p>  <strong>Sections</strong> - </p>
<p>  In the admin interface, go to &#8220;Setup-&gt;Sections&#8221; for a listing, note the similarities between this list and the tabs at the top of the page in the initial install.  </p>
<p>  &#8221;Setup-&gt;Sections-&gt;New section&#8221; to define new sections.  The &#8220;Navigation part&#8221; in the drop down provides a list of the top level page tabs from the admin interface.  The &#8220;Content Structure&#8221; listed in this drop down, is the site contents as displayed in the Content Structure tab.  A newly created section is of no use when first created.  All that has been accomplished is the definition of a starting point for browsing when the &#8220;Assign&#8221; button is clicked.  An admin must click the &#8220;Assign&#8221; icon to the right of a newly minted section in the Sections list, which will open a browser view into the site structure for the chosen &#8220;Navigation part&#8221;.  This allows selection and assignment of a specific sub-level of content as a limitation to be used in the creation of policies.</p>
<p>  <strong>subtree</strong> - defined by the node structure of the site, used to restrict access for the OOTB &#8220;Editor&#8221; role to only content (node id=2) and media (node id=43).  Verify node id&#8217;s by clicking the &#8220;Content structure&#8221;, then &#8220;Media Library&#8221; tabs, and locating the node id in the details pane of each.  These subtrees are above the level of access that is available from the sections interface, because they are top level &#8220;Navigation part&#8221;s.  Presumably that is the justification for working in subtree, versus the navigation part.</p>
<p>To summarize, User Accounts-&gt;Roles and policies is the location for creating new roles.  If the desire in creating a new &#8220;Role&#8221; is to create a &#8220;Limitation&#8221; on some portion of site content, this &#8220;limitation&#8221; is created first, using Setup-&gt;Sections-&gt;New Section Then after this new section is created and appears in the list, click the &#8220;Assign&#8221; button to select a specific portion of the site to be included in that limitation.</p>
<p>Oh, and to allow editors access to the websitetoolbar &#8211;</p>
<p>In the admin interface, User accounts-&gt;Roles and policies-&gt;Editor Role click &#8220;Edit&#8221; icon-&gt;New Policy-&gt;Module dropdown and select &#8220;websitetoolbar&#8221;.  Then click the button to &#8220;Grant access to all functions&#8221;</p>
<p>Now login as an editor, and you should see the toolbar appear.  Easy when you understand it.  But a bear to try to figure out when you don&#8217;t know if you should be looking in ini files, templates, db settings, or any of the myriad other locations that make up an eZ install.</p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/11/editor-gets-toolbar.jpg"><img class="alignnone size-medium wp-image-109" title="editor-gets-toolbar" src="http://blog.htteepee.com/wp-content/uploads/2008/11/editor-gets-toolbar-300x123.jpg" alt="" width="300" height="123" /></a></p>
<p><strong>Footnote&#8211;</strong></p>
<p>It would be less confusing if eZ would streamline the use of the words &#8220;accounts&#8221; and &#8220;users&#8221; in the default installed interface for managing users and accounts.  Using each word at most once, would convey more meaning.  </p>
<p>Accounts tab, presents a list of Users.  The listed users are Guests, Administrators, Editors, and Anonymous.  All simple one word descriptions, no repetition.</p>
<p>Compare this to the current wording.  A User Accounts tab which presents a list of Users.  The users listed are Guest accounts, Administrator users, Editors, and Anonymous Users. Overuse of the terms and varying capitalization of &#8220;accounts&#8221; and &#8220;users&#8221; in the interface makes it clunky.</p>
<p>&#8212;More info&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;  </p>
<p> </p>
<p><a href="http://ez.no/developer/articles/section_segmentation_and_user_permissions_part_1_of_2">Another take on the subject ..</a></p>
<p> </p>
<p>A listing of default Roles listed in OOTB install, per user type, module-function-limitation</p>
<p>  &#8211;Administrator</p>
<p>      Policies - sitewide</p>
<p>      &#8211;all modules-all functions-No limitations</p>
<p> </p>
<p>  &#8211;Editor </p>
<p>    Policies - these policies are assigned to the 1/2 and 1/43 tree nodes, which is all published content and all media, within those nodes, no limitations</p>
<p>    &#8211;content-all functions-no limitations </p>
<p>    &#8211;user-login-no limitations</p>
<p>    &#8211;ezdhtml-all functions - no limitations </p>
<p> </p>
<p>  &#8211;Anonymous</p>
<p>      Policies-Click Anonymous link to get a listing of the 5 policies</p>
<p>      &#8211;content-read-Section(Standard)</p>
<p>      &#8211;content-pdf-Section(Standard)</p>
<p>      &#8211;rss-feed-no limitations</p>
<p>      &#8211;user-login-SiteAccess(ezflow_site)</p>
<p>      &#8211;user-login-SiteAccess(eng)</p>
<p> </p>
<p><strong>******Administrator*Role*******************************</strong></p>
<p><strong>Module:</strong></p>
<p>*</p>
<p><strong>Function:</strong></p>
<p>*</p>
<p><strong>Function limitations</strong></p>
<p>The function limitations of this policy cannot be edited. This is either because the function does not support limitations or because the function was assigned without limitations when the policy was created.</p>
<p>********************************************</p>
<p> </p>
<p>Editor policies</p>
<p>There are two distinct &#8220;Editor&#8221; listings in the Assigned Roles panel for editor.  One Role is limited to 1/2, the other to 1/43.  The number 1 indicates site root, 2 is the Content node, 43 is the Media node.  Users, Setup, and Webshop are additional second level nodes that are not accessible from an editor login OOTB. </p>
<p> </p>
<p>The &#8220;Edit&#8221; button for 1/2, or 1/43 outputs..</p>
<p><strong>****Editor*Role********************************</strong></p>
<p><strong></strong></p>
<p><strong>Policies</strong></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top"> </td>
<td valign="top">Module</td>
<td valign="top">Function</td>
<td valign="top">Limitations</td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
<td valign="top">content</td>
<td valign="top"><em>all functions</em></td>
<td valign="top"><em>No limitations</em></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
<td valign="top">user</td>
<td valign="top">login</td>
<td valign="top"><em>No limitations</em></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
<td valign="top">ezdhtml</td>
<td valign="top"><em>all functions</em></td>
<td valign="top"><em>No limitations</em></td>
<td valign="top"><strong></strong></td>
</tr>
</tbody>
</table>
<p><strong></strong></p>
<p><strong>*************************************************</strong></p>
<p><strong></strong></p>
<p><strong>The very simple * -(all)- policy for modules and functions in the Administrator role, has been changed in the Editor role.  Editors are only allowed access to content, user, and ezdhtml modules.  The details of each policy are examined and refined by clicking the Edit links.  Drill down into the individual policies by clicking the edit links to the right of each policy.</strong></p>
<p><strong></strong></p>
<p><strong>Clicking the edit links reveals..</strong></p>
<p><strong>))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>content</p>
<p><strong>Function:</strong></p>
<p>*</p>
<p><strong>Function limitations</strong></p>
<p>The function limitations of this policy cannot be edited. This is either because the function does not support limitations or because the function was assigned without limitations when the policy was created.</p>
<p><strong>))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>user</p>
<p><strong>Function:</strong></p>
<p>login</p>
<p><strong>Function limitations</strong></p>
<p>SiteAccess:</p>
<p><strong>Any</strong>,ezflow_site,eng,ezflow_site_admin,iphone</p>
<p><strong>))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>ezdhtml</p>
<p><strong>Function:</strong></p>
<p>*</p>
<p><strong>Function limitations</strong></p>
<p>The function limitations of this policy cannot be edited. This is either because the function does not support limitations or because the function was assigned without limitations when the policy was created.</p>
<p><strong>))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p> </p>
<p>The &#8220;Edit&#8221; button output is identical for 1/2 and 1/43.  Setting these &#8220;subtree&#8221; limitations can only be performed after a Role is created, then assigned, to a User group.  In other words, create a role, create a group, only then may subtree or section limitations be applied.  This pattern is enforced in the user interface.  Subtree or Section limitations are assigned from the &#8220;User accounts-&gt;Roles and policies-&gt;Click Link for Role of interest&#8221; then look at the bottom of the page for &#8220;Assign with limitation button.</p>
<p> </p>
<p><strong>*****Anonymous*****************************</strong></p>
<p><strong>Name:</strong></p>
<p>Anonymous</p>
<p><strong>Policies [5]</strong></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">Module</td>
<td valign="top">Function</td>
<td valign="top">Limitation</td>
</tr>
<tr>
<td valign="top">content</td>
<td valign="top">read</td>
<td valign="top">Section( Standard )</td>
</tr>
<tr>
<td valign="top">content</td>
<td valign="top">pdf</td>
<td valign="top">Section( Standard )</td>
</tr>
<tr>
<td valign="top">rss</td>
<td valign="top">feed</td>
<td valign="top"><em>No limitations</em></td>
</tr>
<tr>
<td valign="top">user</td>
<td valign="top">login</td>
<td valign="top">SiteAccess( ezflow_site )</td>
</tr>
<tr>
<td valign="top">user</td>
<td valign="top">login</td>
<td valign="top">SiteAccess( eng )</td>
</tr>
</tbody>
</table>
<p><strong>*************************************************</strong></p>
<p><strong></strong></p>
<p><strong>Clicking the edit button, pulls up an identical listing to the above, with edit buttons for each.</strong></p>
<p><strong></strong></p>
<p><strong>Clicking the edit button for Content</strong></p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>content</p>
<p><strong>Function:</strong></p>
<p>read</p>
<p><strong>Function limitations - selected items in bold</strong></p>
<p>Class: &#8211;drop down selection&#8211;</p>
<p><strong>Any</strong>ArticleArticle (main-page)Article (sub-page)BannerBlogBlog postCommentCommon ini settingsDocumentation pageEventEvent calendarFeedback formFileFishing ReportFlashFlash recorderFolderForumForum replyForum topicForumsFrontpageGalleryGlobal layoutImageInfoboxLinkMulticalendarPollProductQuicktimeReal videoTemplate lookUserUser groupVideo/Flash PlayerWindows media</p>
<p>Section: &#8211;drop down&#8211;</p>
<p>AnyDesignMediaSetup<strong>Standard</strong>Users</p>
<p>Owner: &#8211;drop down&#8211;</p>
<p><strong>Any</strong>Self</p>
<p>Group:</p>
<p><strong>Any</strong>Self</p>
<p> </p>
<p><strong>Nodes [0]</strong></p>
<p>The node list is empty.</p>
<p><strong>Subtrees [0]</strong></p>
<p>The subtree list is empty.</p>
<p><strong></strong></p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>content</p>
<p><strong>Function</strong></p>
<p>pdf</p>
<p><strong>same as above</strong></p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>rss</p>
<p><strong>Function:</strong></p>
<p>feed</p>
<p><strong>Function limitations</strong></p>
<p>The function limitations of this policy cannot be edited. This is either because the function does not support limitations or because the function was assigned without limitations when the policy was created.</p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>user</p>
<p><strong>Function:</strong></p>
<p>login</p>
<p><strong>Function limitations</strong></p>
<p>SiteAccess: &#8211;all siteaccesses listing only one selected</p>
<p><strong>ezflow_site</strong></p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
<p><strong>Module:</strong></p>
<p>user</p>
<p><strong>Function:</strong></p>
<p>login</p>
<p><strong>Function limitations</strong></p>
<p>SiteAccess:&#8211;all siteaccesses listing, only one selected</p>
<p><strong>eng</strong></p>
<p><strong>)))))))))))))))))))))))))))))))))))))))))))))))))))))))</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/ez-flow-ezno/howto-create-policies-in-ez-publish/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Excercising the template override system in eZ Publish</title>
		<link>http://blog.htteepee.com/uncategorized/excercising-the-template-override-system-in-ez-publish/</link>
		<comments>http://blog.htteepee.com/uncategorized/excercising-the-template-override-system-in-ez-publish/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 19:59:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[ez]]></category>

		<category><![CDATA[eZ Publish]]></category>

		<category><![CDATA[override]]></category>

		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=94</guid>
		<description><![CDATA[The problem.
 
Much of the ez flow design and layouts is simple to comprehend by comparing the visual layout of pages, zones, and blocks accessed from the user interface, and referencing these views back to the layouts in the admin gui.
 
The &#8220;Global zone&#8221; in a default 4.0.1 install is different.  Accessed from the &#8220;site map&#8221; in [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem.</strong></p>
<p> </p>
<p>Much of the ez flow design and layouts is simple to comprehend by comparing the visual layout of pages, zones, and blocks accessed from the user interface, and referencing these views back to the layouts in the admin gui.</p>
<p> </p>
<p>The &#8220;Global zone&#8221; in a default 4.0.1 install is different.  Accessed from the &#8220;site map&#8221; in the user interface, then referenced from the admin interface in the content structure, it does not seem to follow the rules.  </p>
<p> </p>
<p>Viewed from the admin pages, Global zone appears to be a simple single page, single zone layout.  Yet when it is displayed to end users, they see a complex two zone page layout.  What gives?  An even bigger problem, trying to figure this out from the documentation.</p>
<p> </p>
<p><strong>A Theory.</strong></p>
<p> </p>
<p>Since templates are responsible for displaying the content in eZ Publish, the theory is that this functionality is part of the template system.  But how to test, where to start, or is it time to SToP (Study, Theorize, and/or Postulate) rather than keep digging into the available tools.  I tried SToP&#8217;ing, it didn&#8217;t work for me.</p>
<p> </p>
<p><strong>Keep digging.</strong></p>
<p> </p>
<p>Much more fun than studying.  Tried studying the docs, didn&#8217;t like it, didn&#8217;t make sense, not gonna do it if there is any other way.  A mere mortal may be able to understand templates, or ini files, or file structures, or templating language or css, but this mortal can&#8217;t grasp the sum from all the parts looking at documentation alone.  The eZ developers provide these pre-built examples, just have to learn enough to develop a system to take advantage of their examples. </p>
<p> </p>
<p>In the admin interface, turn on debugging from the setup tab.  In this case, turned on debugging for the  &#8220;eng&#8221; site.</p>
<p> </p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/1-template-debug.jpg"><img class="alignnone size-medium wp-image-96" title="1-template-debug" src="http://blog.htteepee.com/wp-content/uploads/2008/10/1-template-debug-159x300.jpg" alt="" width="159" height="300" /></a></p>
<p> </p>
<p>Clear all caches, reload the page, and find that pagelayout.tpl is the top level template responsible for displaying the &#8220;Global Zone&#8221; page.  Specifically, for &#8220;eng&#8221; the /design/ezflow/templates/pagelayout.tpl is in charge.  </p>
<p> </p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/ezflow-pagelayout.jpg"><img class="alignnone size-medium wp-image-97" title="ezflow-pagelayout" src="http://blog.htteepee.com/wp-content/uploads/2008/10/ezflow-pagelayout-300x173.jpg" alt="" width="300" height="173" /></a></p>
<p> </p>
<p>There are six other pagelayout.tpl files in the default installation, not including anything in /var.  Throw out iphone and admin, because both are specific siteaccesses, that leaves ezflow, ezwebin, standard, and base.</p>
<p> </p>
<p>Some how, pagelayout and other templates override each other or fall back to defaults, using a mechanism well understood by eZ developers and well documented, somewhere.  In this case, test the fallback mechanisms by successively removing the pagelayout.tpl files until the page no longer loads.  A concrete example in other words.</p>
<p> </p>
<p>Rename ezflow/templates/pagelayout.tpl to xpagelayout.tpl, clear the caches, clear the debug settings, and reload the page to see what displays.  </p>
<p> </p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/ez-webin-pagelayout-sml.jpg"><img class="alignnone size-medium wp-image-98" title="ez-webin-pagelayout-sml" src="http://blog.htteepee.com/wp-content/uploads/2008/10/ez-webin-pagelayout-sml-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p> </p>
<p>Something akin to a default 3.xx version install of eZ, which uses the ezwebin extension by default.  Verify the the pagelayout.tpl from the ezwebin extension is indeed the first fallback by setting up debug, clearing the caches, and reloading the page. </p>
<p> </p>
<p>Rename the pagelayout.tpl in the ezwebin extension directory to xpagelayout.tpl, take off debug, clear caches, and reload the page.</p>
<p> </p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/design-base-pagelayout-sml.jpg"><img class="alignnone size-medium wp-image-99" title="design-base-pagelayout-sml" src="http://blog.htteepee.com/wp-content/uploads/2008/10/design-base-pagelayout-sml-275x300.jpg" alt="" width="275" height="300" /></a></p>
<p> </p>
<p>The page is now being rendered using the /design/base/templates/pagelayout.tpl.  Rename this pagelayout file, clear the caches, reload the page.</p>
<p> </p>
<p><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/design-standard-pagelayout-sml.jpg"><img class="alignnone size-medium wp-image-100" title="design-standard-pagelayout-sml" src="http://blog.htteepee.com/wp-content/uploads/2008/10/design-standard-pagelayout-sml-300x212.jpg" alt="" width="300" height="212" /></a></p>
<p> </p>
<p>The page is now rendered using /design/standard/templates/pagelayout.tpl.  At the very top of that pagelayout file is the text {* DO NOT EDIT THIS FILE! Use an override template instead. *}.  And this file is the end of the line, rename it, the page fails to load.</p>
<p> </p>
<p>The line counts in the files, standard - 82 lines, base - 170 lines, ezwebin - 300 lines, ezflow - 320 lines.  Basically each overrides the previous and adds a little more to it.  The overrides do not have to keep adding more &#8220;stuff&#8221;.  They may just as easily simplify the layout.  The iphone pagelayout.tpl for instance, is 76 lines.</p>
<p> </p>
<p>Hopefully, this debugging experience explains a little more or a better how to begin using the power of eZ Publish.  EZ will never be perfect, or the cms for everyone, but it is a whole lot more suited to a whole lot more tasks  than most recognize.  It is way too high on overhead when it comes to trying to explain the system in writing.  Notice that .ini files were never mentioned in this post!  No template language dissertations.  Much easier to grasp one subject at a time, with real examples, before going on to the next.  By digging into the differences in the pagelayout.tpl files, the methods for adding what appears to be a second zone to a single page layout will be revealed - another day.</p>
<p> </p>
<p>Successively rename the files back to pagelayout.tpl, clear the caches, and reload the page to get back to the default view of the global zone page, with a better understanding of what is taking place, and how to discover what is taking place.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/uncategorized/excercising-the-template-override-system-in-ez-publish/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RSS Feeds into eZ</title>
		<link>http://blog.htteepee.com/ezno/rss-feeds-into-ez/</link>
		<comments>http://blog.htteepee.com/ezno/rss-feeds-into-ez/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 22:48:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[ez]]></category>

		<category><![CDATA[Paul Wilson]]></category>

		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=76</guid>
		<description><![CDATA[In this particular case I am making a feed using google, plug the search terms into the url.
http://news.google.com/news?hl=en&#38;ned=us&#38;q=fishing+%2B+walleye+%2B+MO&#38;ie=UTF-8&#38;output=rss
This above when entered as a single line in a feed reader, creates a google news feed based upon the search &#8220;fishing + walleye + MO&#8221;.  The three pieces of text surrounding the + signs in other [...]]]></description>
			<content:encoded><![CDATA[<p>In this particular case I am making a feed using google, plug the search terms into the url.</p>
<p>http://news.google.com/news?hl=en&amp;ned=us&amp;q=fishing+%2B+walleye+%2B+MO&amp;ie=UTF-8&amp;output=rss</p>
<p>This above when entered as a single line in a feed reader, creates a google news feed based upon the search &#8220;fishing + walleye + MO&#8221;.  The three pieces of text surrounding the + signs in other words.</p>
<p>Plugging that feed into this excellent  <a href="http://ez.no/developer/articles/how_to_import_and_export_rss_feeds" target="_blank">article by Paul Wilson</a> , eZ quickly provides something that looks like this:</p>
<div id="attachment_78" class="wp-caption alignnone" style="width: 222px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-2.jpg"><img class="size-medium wp-image-78" title="default rss feed" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-2-212x300.jpg" alt="rss feed" width="212" height="300" /></a><p class="wp-caption-text">rss feed</p></div>
<p>But clicking any of these links to read the full article, the raw html formatting is included as per below.  Ugleee.</p>
<div id="attachment_79" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-1.jpg"><img class="size-medium wp-image-79" title="rss description" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-1-300x257.jpg" alt="default rss description" width="300" height="257" /></a><p class="wp-caption-text">default rss description</p></div>
<p>In Admin interface, set debug to show templates, and find that the template that is responsible for outputting this content is design/standard/templates/content/datatype/view/eztext.tpl.</p>
<p>In other words, eztext.tpl is the template that must be overridden to change the displayed output.  Lots of documentation and discussion about overrides and ini files and all kinds of confusing stuff.  Instead of reading all that, while logged in to the user interface, with template debug turned on, notice at the very bottom of the page, a list of templates, and an icon to click that will start the override process.</p>
<div id="attachment_80" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-3.jpg"><img class="size-medium wp-image-80" title="templates" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-3-300x74.jpg" alt="templates with override button" width="300" height="74" /></a><p class="wp-caption-text">templates with override button</p></div>
<p>Easiest to make a copy of the current template to use as the basis for the override, call it ezrsstext.tpl.  Magically, this copy appears in an edit window.</p>
<div id="attachment_81" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-5.jpg"><img class="size-medium wp-image-81" title="edit ezrsstext.tpl" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-5-300x49.jpg" alt="edit ezrsstext.tpl" width="300" height="49" /></a><p class="wp-caption-text">edit ezrsstext.tpl</p></div>
<p>Somewhere the first time through the docs, I seem to remember that &#8220;wash&#8221; did to something to clean up the html formatting.  So I took &#8220;wash&#8221; out along with the (xhtml) which I assumed was a parameter being passed to wash.  If dealing with user input, bypassing wash likely would cause security considerations.  The entire contents of ezrsstext.tpl is {$attribute.content|nl2br}.  And it actually works.  Had it not, it was just an override used in this one new place on the site, the rest of the site is not affected.  Instead of pulling the full .content, it is possible to just pull the .link, or the .description <em>attributes</em> from the feed depending upon what looks best in the display.   Gotta love object oriented code.  The full .content displays like this&#8211;</p>
<div id="attachment_82" class="wp-caption alignnone" style="width: 254px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-8.jpg"><img class="size-medium wp-image-82" title="Rss-details" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-8-244x300.jpg" alt="Rss-details" width="244" height="300" /></a><p class="wp-caption-text">Rss-details</p></div>
<p>Reviewing the Content Structure, in admin, the feeds are dumped into folders, that feed frontpage items, like this &#8211;</p>
<div id="attachment_83" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-9.jpg"><img class="size-medium wp-image-83" title="Admin - Content Structure" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-9-300x139.jpg" alt="Admin - Content Structure" width="300" height="139" /></a><p class="wp-caption-text">Admin - Content Structure</p></div>
<p>Testing locally on my mac, I had to turn off the firewall for the feeds to download.  With the firewall on, I did not get any error messages or any feeds downloaded.  With the firewall temporarily off, switching into the folder where ezpublish is located and running runcronjobs.php from the command line gives a nice running report of feeds as they are downloaded.</p>
<p>sh-3.2# pwd</p>
<p>/Library/WebServer/Documents/pub401</p>
<p>sh-3.2# php runcronjobs.php</p>
<div id="attachment_84" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-11.jpg"><img class="size-medium wp-image-84" title="runcronjobs" src="http://blog.htteepee.com/wp-content/uploads/2008/10/picture-11-300x94.jpg" alt="runcronjobs" width="300" height="94" /></a><p class="wp-caption-text">runcronjobs</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/rss-feeds-into-ez/feed/</wfw:commentRss>
		</item>
		<item>
		<title>eZ API</title>
		<link>http://blog.htteepee.com/uncategorized/ez-api/</link>
		<comments>http://blog.htteepee.com/uncategorized/ez-api/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 14:40:04 +0000</pubDate>
		<dc:creator>dougbret</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[API]]></category>

		<category><![CDATA[ez]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=71</guid>
		<description><![CDATA[Last night I started reading thru kernel code trying to figure out how eZ is put together.  A very long term proposition given the extent of of the code base.  But how else to grasp the nature of eZ Publish?
This AM, mostly by chance (a recent forum post on ez site that I [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I started reading thru kernel code trying to figure out how eZ is put together.  A very long term proposition given the extent of of the code base.  But how else to grasp the nature of eZ Publish?</p>
<p>This AM, mostly by chance (a recent forum post on ez site that I happened to read), found the link to absolutely complete api documentation.  Apparently this is now much easier to find.  But just in case it gets lost again. <a href="http://pubsvn.ez.no/doxygen/trunk/html/index.html" target="_blank">eZ API via Doxygen</a>.  A high level run through or drill right down into the code of interest, in its latest incarnation. </p>
<p>When something is evolving this rapidly, it is nice to have someplace to go, besides outdated docs and besides having to read the whole code base.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/uncategorized/ez-api/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New content class in eZ</title>
		<link>http://blog.htteepee.com/ezno/ez-flow-ezno/new-content-class-in-ez/</link>
		<comments>http://blog.htteepee.com/ezno/ez-flow-ezno/new-content-class-in-ez/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 22:41:30 +0000</pubDate>
		<dc:creator>dougbret</dc:creator>
		
		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[ez]]></category>

		<category><![CDATA[fishing]]></category>

		<category><![CDATA[pomme]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=67</guid>
		<description><![CDATA[Remarkably simple, remarkably useful.
To create a new content class using eZ, it is simplest to start with a copy of an existing class.  In this case, creating a &#8220;Fishing Report&#8221; class from the &#8220;Article&#8221; class.
Go to Setup-&#62;Classes-&#62;Content-&#62; Make a copy of the &#8220;Article&#8221; content class by clicking the copy icon.  It saves as [...]]]></description>
			<content:encoded><![CDATA[<p>Remarkably simple, remarkably useful.</p>
<p>To create a new content class using eZ, it is simplest to start with a copy of an existing class.  In this case, creating a &#8220;Fishing Report&#8221; class from the &#8220;Article&#8221; class.</p>
<p>Go to Setup-&gt;Classes-&gt;Content-&gt; Make a copy of the &#8220;Article&#8221; content class by clicking the copy icon.  It saves as &#8220;Copy of Article&#8221;.</p>
<p>Select that new class, and make all edits on it.</p>
<p>Leave all existing in place - add:</p>
<ul>
<li> a textline attribute titled body of water, short description - bow</li>
<li>a date attrribute to store the date fished, called Date Fished</li>
<li>a time attribute to store start time, called start time</li>
<li>a time attribute to store quit time, called quit time</li>
</ul>
<p>The reporter goes to the folder for state and body of water, logs in, in the drop down selects &#8220;Fishing Report&#8221; fills in the information.</p>
<p>Editor goes to that new fishing report, puts it in desired location in the site structure and publishes it.</p>
<p>Voila.</p>
<div id="attachment_68" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/10/fishing-report.jpg" target="_blank"><img class="size-medium wp-image-68" title="fishing-report" src="http://blog.htteepee.com/wp-content/uploads/2008/10/fishing-report-300x262.jpg" alt="Fishing report" width="300" height="262" /></a><p class="wp-caption-text">Fishing report</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/ez-flow-ezno/new-content-class-in-ez/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drowning in information, searching for knowledge</title>
		<link>http://blog.htteepee.com/ezno/drowning-in-information-searching-for-knowledge/</link>
		<comments>http://blog.htteepee.com/ezno/drowning-in-information-searching-for-knowledge/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 15:40:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[knowledge]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[4D]]></category>

		<category><![CDATA[information]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=58</guid>
		<description><![CDATA[A historical perspective of eZ publish and thoughts on 3D information.
This week, I found some nice articles regarding eZ publish on sitepoint.com. And oh so much more interesting, matched up the look and url structure of sitepoint, to a default eZ publish 3.9 install.  Wonder which CMS provides the foundation for sitepoint?
Also noticed how [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A historical perspective of eZ publish and thoughts on 3D information.</strong></p>
<p>This week, I found some nice articles regarding eZ publish on <a href="http://sitepoint.com" target="_blank">sitepoint.com.</a> And oh so much more interesting, matched up the look and url structure of sitepoint, to a default eZ publish 3.9 install.  Wonder which CMS provides the foundation for sitepoint?</p>
<p>Also noticed how quickly and cleanly pertinent content jumps out at you on sitepoint.  It is simple to get around the sitepoint site, despite a tremendous range of topics and a huge amount of content.  Sitepoint is a very convincing argument for using eZ, and a good place to get some ideas for managing large amounts of data and streams.</p>
<p>From the first article found in a Google search, the Harry Fuecks 2002 article, it is easy to get into all the content regarding eZ publish on the entire sitepoint site.</p>
<p>But since I made a list for myself with a few comments, I may as well post it here for posterity.</p>
<ul>
<li> Harry Fuecks 2002<br />
<a href="http://www.sitepoint.com/article/phps-killer-app-parts-1-3/" target="_blank">http://www.sitepoint.com/article/phps-killer-app-parts-1-3/</a><br />
Nice historical reference, the entire framework has morphed substantially since that time.</li>
<li> Bård Farstad has three nice articles on sitepoint, circa late 2004 early 2005.  These are regarding version 3.x, and seem pertinent on 4.x, at least in the admin interface (the admin &#8220;siteaccess&#8221;).
<ul>
<hr />
<li> November 2004  Using the admin interface, particularly the design tab.<br />
<a href="http://www.sitepoint.com/article/build-intranet-ez-publish/" target="_blank">http://www.sitepoint.com/article/build-intranet-ez-publish/</a></li>
<li> January 2005 - Templating tips<br />
<a href="http://www.sitepoint.com/article/table-less-css-ez-publish/" target="_blank">http://www.sitepoint.com/article/table-less-css-ez-publish/</a></li>
<li>April 2005.  Setting up a catalog, does not actually get into payment processing as the header would lead one to expect.<br />
<a href="http://www.sitepoint.com/article/table-less-css-ez-publish/" target="_blank">http://www.sitepoint.com/article/ecommerce-website-ez-publish/</a></li>
</ul>
<hr /></li>
<li> May 2006.  Rebuilding an existing site using eZ.  David Lewis<br />
Covers planning, coding, moving to a new ez site, performance scaling.<br />
<a href="http://www.sitepoint.com/article/rebuilding-vogue-com-au/2/" target="_blank">http://www.sitepoint.com/article/rebuilding-vogue-com-au/2/</a></li>
<li> December 2004 Martin Bauer, more thoughts on re-building a site.  <em>Defining the information architecture is the most difficult part of an ez publish installation.</em><br />
<a href="http://www.sitepoint.com/article/rebuilding-gradlink-ezpublish/" target="_blank">http://www.sitepoint.com/article/rebuilding-gradlink-ezpublish/</a></li>
<li> August 2003, Rob Purser, another nice historical perspective. eZ 4.x makes it dead simple to make the simplified site he desires.  Enlightening is that building a new siteaccess with new set of templates is explained in it&#8217;s very simplest form.  So simple even I can understand it.<br />
<a href="http://www.sitepoint.com/article/ez-publish-3-1-take-spin/1/ " target="_blank">http://www.sitepoint.com/article/ez-publish-3-1-take-spin/1/ </a></li>
</ul>
<p>The Sitepoint site is an inspiration, and a revelation.  <a href="http://sitepoint.com" target="_blank">Sitepoint.com</a> almost effortlessly keeps the information you want out in front of you.  The material outlined above was practically thrust upon me from the moment I first arrived on sitepoint.</p>
<p>If single web pages are 1 dimensional and linked websites 2 dimensional sources of information.  The clever design and layout of sitepoint.com is approaching a 3D information architecture.  Sure you can make up your own individualized facebook, or your corporate QEDWiki to achieve practically the same thing.  But that 3D information is only for your personal or corporate use.  Sitepoint brings 3D information to a much broader group, developers in general.  That surely is the future of publishing, 3D information.  But as Martin Bauer points out, defining that information architecture for a given group is the artful part of an eZ installation.</p>
<p>Is 4D, the fourth dimension of information processing, the fourth degree of humans interfacing with data in the world around them, the ability to automatically include your real time location a la cell phone into an artfully laid out, sitepoint style, display?  If so, eZ publish is ready for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/drowning-in-information-searching-for-knowledge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress tag cloud</title>
		<link>http://blog.htteepee.com/usability/wordpress-tag-cloud/</link>
		<comments>http://blog.htteepee.com/usability/wordpress-tag-cloud/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 13:01:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[usability]]></category>

		<category><![CDATA[tag cloud]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=53</guid>
		<description><![CDATA[Tag clouds are a valuable user interface enhancement for information that does not fall in a nice treelike hierarchy.
Put the code below where you want the cloud to appear.
&#60;?php wp_tag_cloud(&#8217;smallest=8&#38;largest=36&#38;&#8217;); ?&#62;
Thanks to hackwordpress.com
]]></description>
			<content:encoded><![CDATA[<p>Tag clouds are a valuable user interface enhancement for information that does not fall in a nice treelike hierarchy.</p>
<p>Put the code below where you want the cloud to appear.</p>
<p>&lt;?php wp_tag_cloud(&#8217;smallest=8&amp;largest=36&amp;&#8217;); ?&gt;</p>
<p>Thanks to <a href="http://hackwordpress.com/how-to-display-wordpress-tag-cloud/" target="_blank">hackwordpress.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/usability/wordpress-tag-cloud/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Playing with layouts - ez.no</title>
		<link>http://blog.htteepee.com/ezno/playing-with-layouts-ezno/</link>
		<comments>http://blog.htteepee.com/ezno/playing-with-layouts-ezno/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 20:47:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[eZ Flow]]></category>

		<category><![CDATA[fishing]]></category>

		<category><![CDATA[layouts]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=38</guid>
		<description><![CDATA[ 
From a base 4.0.1 install using eZ Flow..
Remove the Live video top level menu item.
In the admin interface..
Click the Folder for &#8220;Live Video&#8221;-&#62;Advanced-&#62;hide/unhide, it is a toggle.
Refresh the user view and note that Live Video has vanished from the website.
 
Now add a new top level menu item.
**Important, when creating new objects, the type is always [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>From a base 4.0.1 install using eZ Flow..</p>
<p>Remove the Live video top level menu item.</p>
<p>In the admin interface..</p>
<p>Click the Folder for &#8220;Live Video&#8221;-&gt;Advanced-&gt;hide/unhide, it is a toggle.</p>
<p>Refresh the user view and note that Live Video has vanished from the website.</p>
<p> </p>
<p><strong>Now add a new top level menu item.</strong><br />
**Important, when creating new objects, the type is always important, know your types**</p>
<p>In the admin interface, click the highest level folder in the structure pane-&gt;Create here-&gt;Frontpage</p>
<p> </p>
<div id="attachment_39" class="wp-caption alignleft" style="width: 209px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/09/new-frontpage-item.jpg"><img class="size-medium wp-image-39" title="new-frontpage-item" src="http://blog.htteepee.com/wp-content/uploads/2008/09/new-frontpage-item-199x300.jpg" alt="new frontpage item" width="199" height="300" /></a><p class="wp-caption-text">new frontpage item</p></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>Fill in the details and send to publish.  This front page item got named &#8220;Fishing&#8221;.  Just for fun, use the 3 zones (layout 2).  This completely replaces any existing layout details.  It is up to admin to put something in these zones so visitors have something to view.</p>
<p>Left Zone, Add Block, then Add Item, select the existing Conference Blog, which is a Blog type.</p>
<p>Send for publishing and review the site.</p>
<p>You should see the &#8220;Conference Blog&#8221; appear in the upper left pane, but the right and bottom panes are still empty.</p>
<p><strong>Create a new content item, of type event, to have something to put in the Right zone</strong>.</p>
<p>Login to the user interface of eZ Flow.</p>
<p>Create new content of type &#8220;Event Calendar&#8221; by selecting it from the drop down menu and clicking the + icon.  This calendar page is created, and available from the Fishing top level menu or site map, but not yet on a pane anywhere.  </p>
<p><strong>Add this new content to the Front page Fishing object.</strong></p>
<p><strong><span style="font-weight: normal;">Flip back over to admin interface.  </span></strong></p>
<p>Click on Right Zone, notice no objects are currently in this zone.  </p>
<p>Add block, Add Item, notice a list of top level items.  The Event Calendar was created as a subitem of Fishing, so drill into it by clicking the Fishing text.  The name of the Event Calendar type appears, click the box next to it and click select.  Click Send for publishing.</p>
<p><strong>Put a tag cloud in the bottom zone.</strong></p>
<p>Still in the layout for the Fishing frontpage, go to bottom zone in the layouts view.  Name the block TC, for Block Type: select Tag Cloud.  A good reference to all the block types available is in block.ini.append for the siteaccess.  Send for publishing and go to the Fishing page on the site.</p>
<p>Visitor should see something in each of the panes.</p>
<p><strong>How to add more and better content to each view?</strong></p>
<p>First create the content paying attention to the type you choose and where you create it, then follow along with the examples in the demo combined with the short set of instructions above.</p>
<p><strong>EXAMPLE, create new content, add new content to the new Fishing front page layout.</strong></p>
<p>Create a new poll in the user interface, select &#8220;Poll&#8221; in the drop down and click the + icon.</p>
<p>Something similar to the below.</p>
<p> </p>
<div id="attachment_42" class="wp-caption alignnone" style="width: 257px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/09/fishing-poll.jpg"><img class="size-medium wp-image-42" title="fishing-poll" src="http://blog.htteepee.com/wp-content/uploads/2008/09/fishing-poll-247x300.jpg" alt="Fishing Poll" width="247" height="300" /></a><p class="wp-caption-text">Fishing Poll</p></div>
<p> </p>
<p><strong>To make this Poll content appear in the &#8220;Left zone&#8221; in a new block in the Fishing layout..</strong></p>
<p>Go to the Fishing front page layout, the left zone, add a block.</p>
<p>For block type select &#8220;Poll&#8221; from drop down, then &#8220;Choose source&#8221; and find the newly created poll in the content structure, select it, and send for publishing.</p>
<p> </p>
<div id="attachment_43" class="wp-caption alignnone" style="width: 291px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/09/add-poll-to-zone.jpg"><img class="size-medium wp-image-43" title="add-poll-to-zone" src="http://blog.htteepee.com/wp-content/uploads/2008/09/add-poll-to-zone-281x300.jpg" alt="Add Poll to Zone" width="281" height="300" /></a><p class="wp-caption-text">Add Poll to Zone</p></div>
<p><strong>Final should look something like this.  3 panes, with two blocks in the upper left pane.</strong></p>
<p> </p>
<div id="attachment_44" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/09/3_pane_view.jpg"><img class="size-medium wp-image-44" title="3_pane_view" src="http://blog.htteepee.com/wp-content/uploads/2008/09/3_pane_view-300x180.jpg" alt="Fishing Front Page" width="300" height="180" /></a><p class="wp-caption-text">Fishing Front Page</p></div>
<p> </p>
<p>Tag clouds are a great user interface enhancement for data that does not neatly fit in a tree structure.  Like for fishing reports regarding the Mississippi river for instance.</p>
<p>In a very likely scenario, for a fishing reports tree view, the user would most likely be forced to start at a particular state of interest, and jump state to state to state to glean all info for Mississippi river.  </p>
<p>In a tag cloud, users can see every Mississippi river report with one click on a tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/playing-with-layouts-ezno/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Baby steps with your new ez.no site and eZ flow extension</title>
		<link>http://blog.htteepee.com/ezno/baby-steps-with-your-new-ezno-site-and-ez-flow-extension/</link>
		<comments>http://blog.htteepee.com/ezno/baby-steps-with-your-new-ezno-site-and-ez-flow-extension/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 19:53:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ez.no]]></category>

		<category><![CDATA[cms]]></category>

		<category><![CDATA[eZ Flow]]></category>

		<guid isPermaLink="false">http://blog.htteepee.com/?p=22</guid>
		<description><![CDATA[1.  Change the logo
a.  login to the admin interface (../ezflow_site_admin/)
b.  Design tab.
i.  &#8221;Look and feel&#8221;, click that text
ii.  Click the &#8220;Edit&#8221; button for the ez-flow site
iii.  Edit &#60;eZ Flow&#62; [Template look], change the settings to suit, upload your logo. &#8220;Send for publishing&#8221; when finished.
2.  Change the background graphic.
../extension/ezflow/design/ezflow/images/page-bg.jpg
Notice that ezflow - the layout, is an [...]]]></description>
			<content:encoded><![CDATA[<p>1.  Change the logo</p>
<p>a.  login to the admin interface (../ezflow_site_admin/)</p>
<p>b.  Design tab.</p>
<p>i.  &#8221;Look and feel&#8221;, click that text</p>
<p>ii.  Click the &#8220;Edit&#8221; button for the ez-flow site</p>
<p>iii.  Edit &lt;eZ Flow&gt; [Template look], change the settings to suit, upload your logo. &#8220;Send for publishing&#8221; when finished.</p>
<p>2.  Change the background graphic.</p>
<p>../extension/ezflow/design/ezflow/images/page-bg.jpg</p>
<p>Notice that ezflow - the layout, is an extension to ezpublish.  From there go into the design folder which has layouts for &#8220;standard&#8221;, &#8220;admin&#8221;, &#8220;iphone&#8221; and &#8220;ezflow&#8221;. The ezflow folder holds most of the layout info for the standard ezflow view.  Including the page-bg.jpg.  Overwrite this file, with a file of the same name, to get the background you want.  Be sure to check your file size!  Try to keep it at or below the original, unless you are designing for fat pipes only.</p>
<p>3.  Change the site icon.</p>
<p>../design/standard/images/favicon.ico</p>
<p>upload your own favicon.ico file overwriting the existing file.</p>
<p>The change may not be immediately apparent due to caching.  Give it some time, or clear all your caches.</p>
<p>That will do it for now in the admin interface.  Log out, and go back to your site.  This time login as admin, but do not check the box to go the admin interface.  That allows edits in place on the site content.</p>
<p>1.  Change the front page news article.  Note that in the toolbar, you can download the entire article (open document format with open office, sweet), edit it, then replace, or you can edit in place.  Edit in place works better for me on my mac.</p>
<p>2.  Still editing direct on the site, change the movie using an .flv file from your local machine.  Load the movie screen, but do not start it running.  You will notice an edit icon in the top bar.  click, edit description, content, etc, note that a large flv file may exceed your max upload file size or execution time in php.ini.  Send for publishing when you like it.</p>
<p><strong>Next question, what is the origin of the top menu items, and how to change them?</strong></p>
<p>Jump back into the admin gui (../ezflow_site_admin/) by checking the box when prompted.</p>
<p>On the very first screen that loads, you see &#8220;Home&#8221; in the content structure on the left pane, then scroll down and notice that the &#8220;Sub items&#8221; of  this Home content correspond to the top level menu items.  Also notice that they are of certain &#8220;Types&#8221; Like Frontpage, Forum and Blog.  And finally note the edit icon to the far right.</p>
<p>1.  Edit &#8220;Conference&#8221; by clicking on the edit icon. You will likely be prompted to choose a language, just continue on thru and be greeted with a complete layout and structure of the &#8220;Conference&#8221; content.</p>
<p>2.  The content of the &#8220;Conference&#8221; sub-item/menu-item is laid out in detail.  Leave this admin gui window open and size it to fit the right half of your screen if you can.  Open another browser window on to the same site, ordinary user view, click on the &#8220;Conference&#8221; menu item, size this new browser window to fit on the left half of your screen.</p>
<div id="attachment_24" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.htteepee.com/wp-content/uploads/2008/09/ez-understanding.jpg" target="_blank"><img class="size-medium wp-image-24" title="side by side, user and admin eZ" src="http://blog.htteepee.com/wp-content/uploads/2008/09/ez-understanding-300x161.jpg" alt="eZ user and admin side by side" width="300" height="161" /></a><p class="wp-caption-text">eZ user and admin side by side</p></div>
<p>Examine generated content on the left, how it was generated on the right. There are lots of templates and blocks and sections and tweaking going on behind the scenes, but this gives you the high level overview of what it happening on your site.  Study this until you get it, because this is key to understanding the methodology.</p>
<p>3.  Try to always remember to &#8220;Discard draft&#8221; when you are just viewing, it saves you from dealing with a nasty little reminder that you are already editing the next time you come back to edit this page.  Or Send for Publishing if you like what you&#8217;ve done.</p>
<p>4.  Just for fun, create a new Sub item of Home, called New Gallery, make it of type Gallery, and Send this for publishing.  Reload the user version of the site, and notice a new main menu item called New Gallery.  Login as admin to edit content (don&#8217;t check the admin box). Drop down the type selector, select &#8220;Image&#8221; then click the + icon.  **Important** You need to tell ez.no what type of object you are creating, before you click to add an object.  Every object is of a certain pre-defined type.  You can define new types, but you can&#8217;t create an object without a type.  Get in the habit of noticing the type you are creating, before you click the plus sign!  Fill out the details and upload your image, respecting the size and execution time limits of your web hosting service if so restricted.</p>
<p>5.  Now when you click on this &#8220;New Gallery&#8221; menu item, your newly created image object pops in at the top.  Repeat for a couple more new image objects and voila, you&#8217;ve created a slideshow.</p>
<p>Probably the next thing you will want to do is plan the layout of your actual working site, and test how folder, subfolder, and objects within them can be made to interact.</p>
<p>A closing tip that can help you rapidly adjust the site and content.  From the admin gui (../ezflow_site_admin/) go to the &#8220;setup&#8221; tab.  Then sections-&gt;Standard and at the bottom will be a complete listing of all the objects that make up your site.  These can all be pulled up for editing from here.</p>
<p>Stay tuned for more as I get into banners, roles, time based publishing and archiving, and products.</p>
<p>MORE INFO..<br />
<a href="http://ez.no/developer/articles/how_to_configure_an_ez_publish_site" target="_blank">Configuration settings, much more complete instructions.</a></p>
<p><a href="http://cmbasics.demo.ezpublish.no/" target="_blank">ezpublish demo</a> login is &#8220;editor&#8221; and &#8220;1234&#8243; without the quotes.<br />
<a href="http://cmbasics.demo.ezpublish.no/ezwebin_site_admin/" target="_blank">ezpublish admin demo for same site</a> login as &#8220;admin&#8221; and &#8220;1234&#8243;</p>
<p>This demo does not include the ez Flow extension with the fancy multimedia, and is based upon a slightly older version of ezPublish, but it gives a good idea of how the developers layout a complete site in the admin interface.</p>
<p><a href="http://www.ezsystems.ca/blog/a_dozen_handy_built_in_ez_publish_features_that_you_might_not_know_about_yet" target="_blank">ez.no latest developments article</a>, from July 2008, Peter Keung</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.htteepee.com/ezno/baby-steps-with-your-new-ezno-site-and-ez-flow-extension/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
