<?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>littled.net &#187; web development</title>
	<atom:link href="http://www.littled.net/new/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littled.net/new</link>
	<description>David Little&#039;s home on the Web</description>
	<lastBuildDate>Mon, 15 Mar 2010 16:34:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to close a jQuery dialog box by clicking outside of it</title>
		<link>http://www.littled.net/new/2009/11/30/how-to-close-a-jquery-dialog-box-by-clicking-outside-of-it/</link>
		<comments>http://www.littled.net/new/2009/11/30/how-to-close-a-jquery-dialog-box-by-clicking-outside-of-it/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 15:34:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[UI]]></category>
		<category><![CDATA[blog-post]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=392</guid>
		<description><![CDATA[JQuery gives you a very simple way to create dialog overlays with the dialog() event. So, by clicking an HTML element you can activate a &#8220;stay-on-the-page&#8221; overlay dialog box.
Traditionally one might use dialog boxes to ask the user a question to which she must respond (e.g. with an &#8220;Ok&#8221; or &#8220;Cancel&#8221;) but their use can [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />JQuery gives you a very simple way to <a href="http://docs.jquery.com/UI/Dialog">create dialog overlays</a> with the dialog() event. So, by clicking an HTML element you can activate a &#8220;stay-on-the-page&#8221; overlay dialog box.</p>
<p>Traditionally one might use dialog boxes to ask the user a question to which she must respond (e.g. with an &#8220;Ok&#8221; or &#8220;Cancel&#8221;) but their use can extend beyond this. For instance I&#8217;ve used a dialog to show a <a href="http://www.useit.com/alertbox/mega-dropdown-menus.html">mega drop-down menu</a>; i.e. clicking a link opens a dialog box with a list of categorised links.</p>
<p>JQuery&#8217;s default behaviour for closing dialog boxes is not unreasonable: the user must click on the &#8220;Close&#8221; button (e.g. in the form of text or an &#8220;x&#8221;) or hit the escape key. However it&#8217;s possible you may want to provide more options for your users to close a box by simply clicking outside it.</p>
<p>I puzzled over this and didn&#8217;t get very far with Googling but came up with the following solution which seems to work.</p>
<p>When your dialog is created, a div with the class &#8220;ui-widget-overlay&#8221; is also created which &#8220;greys out&#8221; the background allowing the user to fully focus on the dialog. You can use this as a hook to add your dialog closing code, e.g.</p>
<p><code><br />
$(".ui-widget-overlay").live("click", function() {  $("#quick-links-modal").dialog("close"); } );<br />
</code></p>
<p>In this case my dialog has the ID &#8220;quick-links-modal&#8221;. NB you need to use the &#8220;live&#8221; event (rather than &#8220;click&#8221; etc.)  in order to bind the event to your dialog before the dialog has been initiated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/11/30/how-to-close-a-jquery-dialog-box-by-clicking-outside-of-it/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Review of Plone 3 Theming by Veda Williams</title>
		<link>http://www.littled.net/new/2009/09/27/review-of-plone-3-theming-by-veda-williams/</link>
		<comments>http://www.littled.net/new/2009/09/27/review-of-plone-3-theming-by-veda-williams/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 17:13:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[blog-post]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[plone-themes]]></category>
		<category><![CDATA[plone3]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=367</guid>
		<description><![CDATA[
Veda Williams&#8216; Plone 3 Theming (Packt, 2009) [Amazon UK &#124; Amazon US &#124; Packt] is a useful reference for anyone involved in customising the look and feel of their Plone-based website. Used alongside the various online resources on the plone.org website, particularly the Plone Theme Reference,  it should ease  most of the pain that Plone [...]]]></description>
			<content:encoded><![CDATA[<p id="top" /><a href="http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/mid/190809x2p4v1?utm_source=littled.net/new&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_000310"><img class="alignright" style="border: 0px initial initial;" title="Plone 3 theming" src="http://www.littled.net/new/wp-content/uploads/2009/09/Plone-3-theming.jpg" alt="Plone 3 theming" width="203" height="250" /></a></p>
<p><a href="http://www.404-notfound.com">Veda Williams</a>&#8216; Plone 3 Theming (Packt, 2009) [<a href="http://www.amazon.co.uk/Plone-3-Theming-Veda-Williams/dp/1847193870/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1254067008&amp;sr=8-1">Amazon UK</a> | <a href="http://www.amazon.com/Plone-3-Theming-Veda-Williams/dp/1847193870/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1254067090&amp;sr=8-1">Amazon US</a> | <a href="http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/mid/190809x2p4v1?utm_source=littled.net%2Fnew&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_000310">Packt</a>] is a useful reference for anyone involved in customising the look and feel of their Plone-based website. Used alongside the various online resources on the plone.org website, particularly the <a href="http://plone.org/documentation/manual/theme-reference">Plone Theme Reference</a>,  it should ease  most of the pain that Plone themers experience. Unfortunately (and this is not a criticism of the author), the book is let down by some poor copy-editing. It also contains a <a href="http://plone.org/documentation/faq/plone-3-theming-errata">number of errata</a>, which the author is gathering on the plone.org website.</p>
<p>The book is broken down into fifteen chapters, the most useful of which I found were chapters seven to twelve which deal with the day-to-day business of Plone theming.  These chapters cover customising viewlets and portlets, an overview of the Zope templating language ( ZPT), the creation and installation of a Plone theme, template changes, custom page views and theming tips. Although I&#8217;ve done a fair amount of Plone theming, I still find it quite esoteric and complex so it&#8217;s certainly very useful to have these chapters to refer back to.</p>
<p>Chapter fifteen, written by <a href="http://limi.net">Alex Limi</a>, gives an overview of the future of Plone theming using products such as <a href="http://pypi.python.org/pypi/collective.xdv">collective.xdv</a> and Deliverance. These seem an ultimately saner way to proceed and should allow non-Plone specialists to theme a site without getting too bogged down in Plone specifics. <a href="http://plone.org/documentation/manual/theming/referencemanual-all-pages">This article is also freely available on the Plone website</a> where it will be updated as the project develops.</p>
<p>I did wonder if the second chapter was really necessary &#8212; this provides an overview of the main graphic design, browser and text editing tools. I imagine that most web designers and developers already know about these and the complete beginner would be encouraged to to stay away from Plone until they are a little more experienced.</p>
<p>That aside, the only real complaint I have about the book is the quality of the copy-editing. I think the text would in places benefit from a little slimming down or rephrasing. I occasionally struggled with some of the explanations , although it must be borne in mind that Plone 3 theming is complex so is by its very nature difficult to explain in simple terms. Some other examples: it&#8217;s probably not necessary to have sentences like, &#8220;now what, you ask?&#8221; in a tutorial book and I&#8217;m not sure why there is a lengthy code sample from Plone 2 on pages 129-30 which is really only produced to show how things were done the &#8220;old way&#8221;.</p>
<p>Anyone who has been involved in Plone theming will know how hard Veda Williams has worked on it: in addition to this book, she coordinated the <a href="http://www.coactivate.org/projects/ootb-plone-themes/project-home">Out of the Box Plone Themes</a> project. For her work I&#8217;m sure she has the gratitude of every Plone themer. Hopefully subsequent editions of the book will address the editorial issues and errata.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/09/27/review-of-plone-3-theming-by-veda-williams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review of Designing Web Interfaces on DRB</title>
		<link>http://www.littled.net/new/2009/07/21/review-of-designing-web-interfaces-on-designers-review-of-book/</link>
		<comments>http://www.littled.net/new/2009/07/21/review-of-designing-web-interfaces-on-designers-review-of-book/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:53:13 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[UI]]></category>
		<category><![CDATA[User experience]]></category>
		<category><![CDATA[blog-post]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[interaction design]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/2009/07/21/review-of-designing-web-interfaces-on-designers-review-of-book/</guid>
		<description><![CDATA[My review of Designing Web Interfaces by Bill Scott and Theresa Neil (O&#8217;Reilly, 2009) is now up on the Designers&#8217; Review of Books website.
Posted via email from What&#8217;s this for?
]]></description>
			<content:encoded><![CDATA[<p id="top" /><a href="http://www.designersreviewofbooks.com/2009/07/designing-web-interfaces/">My review of Designing Web Interfaces</a> by Bill Scott and Theresa Neil (O&#8217;Reilly, 2009) is now up on the Designers&#8217; Review of Books website.</p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://littled.posterous.com/review-of-designing-web-interfaces-on-designe">What&#8217;s this for?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/07/21/review-of-designing-web-interfaces-on-designers-review-of-book/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What I write about on my blog apparently</title>
		<link>http://www.littled.net/new/2009/05/11/what-i-write-about-on-my-blog-apparently/</link>
		<comments>http://www.littled.net/new/2009/05/11/what-i-write-about-on-my-blog-apparently/#comments</comments>
		<pubDate>Mon, 11 May 2009 16:08:43 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[blog-post]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/2009/05/11/what-i-write-about-on-my-blog-apparently/</guid>
		<description><![CDATA[
 
What I write about on my blog apparently, originally uploaded by reynard.

I generated this from Wordle.net &#8212; a tag cloud of what I write about on my blog apparently. As you can see, my vocabulary is impressive and varied, with words such as &#8220;things&#8221; and &#8220;good&#8221; appearing prominently.
Look out though, because &#8220;possibly, Norman&#8217;s took mobile&#8221;.
]]></description>
			<content:encoded><![CDATA[<p id="top" />
<div style="text-align: left; padding: 3px;"><a title="photo sharing" href="http://www.flickr.com/photos/littled/3522674086/"><img style="border: solid 2px #000000;" src="http://farm4.static.flickr.com/3615/3522674086_56bab11ca2.jpg" alt="" /></a> </p>
<p><span style="font-size: 0.8em; margin-top: 0px;"><a href="http://www.flickr.com/photos/littled/3522674086/">What I write about on my blog apparently</a>, originally uploaded by <a href="http://www.flickr.com/people/littled/">reynard</a>.</span></p>
</div>
<p>I generated this from Wordle.net &#8212; a tag cloud of what I write about on my blog apparently. As you can see, my vocabulary is impressive and varied, with words such as &#8220;things&#8221; and &#8220;good&#8221; appearing prominently.</p>
<p>Look out though, because &#8220;possibly, Norman&#8217;s took mobile&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/05/11/what-i-write-about-on-my-blog-apparently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links round-up 16-22 March</title>
		<link>http://www.littled.net/new/2009/03/22/links-round-up-16-22-march/</link>
		<comments>http://www.littled.net/new/2009/03/22/links-round-up-16-22-march/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 16:28:55 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[UI]]></category>
		<category><![CDATA[User experience]]></category>
		<category><![CDATA[blog-post]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[online life]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=164</guid>
		<description><![CDATA[Not a huge amount going on links-wise this week, but nevertheless a few interesting ones in there.
Last week I got hold of Designing Web Interfaces by Bill Scott and Theresa Neil. They&#8217;ve published all their examples on Flickr which is a handy reference.
On Tuesday I checked out some of the buzz from the SXSW interactive [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />Not a huge amount going on links-wise this week, but nevertheless a few interesting ones in there.</p>
<p>Last week I got hold of <a href="http://designingwebinterfaces.com/">Designing Web Interfaces</a> by Bill Scott and Theresa Neil. They&#8217;ve published all their <a href="http://www.flickr.com/photos/designingwebinterfaces/">examples on Flickr</a> which is a handy reference.</p>
<p>On <a href="http://www.littled.net/new/2009/03/17/links-for-2009-03-17/">Tuesday</a> I checked out some of the buzz from the <a href="http://mashable.com/2009/03/15/best-of-show-sxsw-2009/">SXSW interactive awards</a>. <a href="http://www.lostzombies.com/">Lost Zombies</a> was terrific fun &#8212; a project to build a Zombie documentary / drama via a community (what&#8217;s with Zombies at the moment? People love them &#8212; check out <a href="http://www.survivetheoutbreak.com/">Survive the Outbreak</a> too). Anyway, this is a really interesting idea, although one I imagine which might end up looking a bit like the film in <a href="http://www.imdb.com/title/tt0845046/">Son of Rambow</a> when the entire school starts to get involved if the producers aren&#8217;t too careful.</p>
<p><a href="http://www.wetellstories.co.uk/">We Tell Stories</a>, another winner from SXSW is a digital fiction site produced by Penguin. I love the idea of things like this, although there is a tendency for any kind of hypertext fiction to go down the &#8220;Fighting Fantasy&#8221; books route. If you&#8217;re too young to know what I&#8217;m talking about or were too busy talking to girls in the mid-Eighties, these books were adventures in which you got to make a choice of what you wanted to do at key points in the story (if you decide the kill the evil witch of Swqkssx then go to page 100 etc.).</p>
<p>On <a href="http://www.littled.net/new/2009/03/18/links-for-2009-03-18/">Wednesday</a> I learned why the Japanese don&#8217;t like the iPhone (too basic for very sophisticated mobile users apparently, well, amongst other reasons). Moving forward to <a href="http://www.littled.net/new/2009/03/20/links-for-2009-03-20/">Friday</a> I got back into serious Web Development land and started enjoying the wonders of CSS border radius (Firefox and Webkit only, naturally). You might notice a couple of rounded borders on this site, although I tried not to go too mad, difficult though it was. Also, I checked out a couple more typography and grid layouts site. Because you can never have too much of that kind of thing can you?</p>
<p><a href="http://www.littled.net/new/2009/03/22/links-for-2009-03-22/">Saturday&#8217;s link</a> was a only child and came courtesy of Twitter in response to me pimping my post about <a href="http://www.littled.net/new/2009/03/21/8-interaction-design-and-usability-sites/">useful usability sites</a> I&#8217;ve been looking at recently: <a href="http://johnnyholland.org/">Johnny Holland: it&#8217;s all about usability</a>. A site &#8220;exploring the interactions of experience design&#8221; no less. All articles are written in the voice of the eponymous Johnny, so there you go. One I will be dipping into I should imagine.</p>
<p>So that&#8217;s it for this week. As always, these links are brought to you via the Internet and my <a href="http://delicious.com/reynard71/">Delicious bookmarks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/03/22/links-round-up-16-22-march/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plone theming: some minor annoyances and victories</title>
		<link>http://www.littled.net/new/2009/01/17/plone-theming-some-minor-annoyances-and-victories/</link>
		<comments>http://www.littled.net/new/2009/01/17/plone-theming-some-minor-annoyances-and-victories/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 09:34:33 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[blog-post]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[plone-themes]]></category>
		<category><![CDATA[plone3]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=112</guid>
		<description><![CDATA[I&#8217;ve started work in earnest on theming a Plone 3 site this week and have come up against some minor annoyances. But, this was balanced out by some of the cool things I learned too.
Portlets.xml
One of the great things about generic setup is that you can configure your site through the web and then export [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />I&#8217;ve started work in earnest on theming a Plone 3 site this week and have come up against some minor annoyances. But, this was balanced out by some of the cool things I learned too.</p>
<p><strong>Portlets.xml</strong></p>
<p>One of the great things about generic setup is that you can configure your site through the web and then export your settings as a series of xml files to your filesystem theme product. However, configuring my portlets and then exporting the resulting portlets.xml file caused some problems when re-installing the product.</p>
<p>I&#8217;d customised my navigation following the steps outlined in the article <a href="http://transcyberia.info/archives/39-customizing-navigation-in-Plone3.html">Customising navigation in Plone 3</a>. This was fine. But when I re-installed my theme product containing an exported portlets.xml file I got a &#8220;ConstraintNotSatisfied&#8221; error. I didn&#8217;t get very far with finding a solution to this on Google, but by trial and error found out that this disappeared if I removed the following from the &lt;assignment name=&#8221;navigation&#8221; &#8230;/&gt; directive:</p>
<div>&lt;property name=&#8221;name&#8221; /&gt;</div>
<div>&lt;property name=&#8221;bottomlevel&#8221;/&gt;</div>
<div>&lt;property name=&#8221;root&#8221; /&gt;</div>
<p>Secondly, default portlets (login, news, recent etc.) I&#8217;d removed via &#8220;manage portlets&#8221; weren&#8217;t reflected in my portlets.xml file so I had to enter this manually into my portlets.xml file:</p>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;login&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.leftcolumn&#8221; type=&#8221;portlets.Login&#8221; /&gt;</div>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;calendar&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.rightcolumn&#8221; type=&#8221;portlets.Calendar&#8221; /&gt;</div>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;events&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.rightcolumn&#8221; type=&#8221;portlets.Events&#8221; /&gt;</div>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;news&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.rightcolumn&#8221; type=&#8221;portlets.News&#8221; /&gt;</div>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;recent-items&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.rightcolumn&#8221; type=&#8221;portlets.recent&#8221; /&gt;</div>
<div>&lt;assignment remove=&#8221;true&#8221; name=&#8221;review-list&#8221; category=&#8221;context&#8221; key=&#8221;/&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.rightcolumn&#8221; type=&#8221;portlets.review&#8221; /&gt;</div>
<p><strong>CSS Registry</strong></p>
<p>To ensure that the order of CSS files in the CSS Registry was honoured I had to enable the auto grouping property (which didn&#8217;t exist in Plone 2.5.3). In the cssregistry.xml you can set this via:</p>
<p><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-family: arial; color: #000000;">&lt;object name=&#8221;portal_css&#8221; meta_type=&#8221;Stylesheets Registry&#8221; autogroup=&#8221;True&#8221;&gt; &#8230; &lt;/object&gt;</span></p>
<p>The order seemed to go a bit haywire again if I enabled debug mode in the CSS Registry.</p>
<p><strong>More positive things</strong></p>
<p>It&#8217;s pretty straightforward to override viewlets for different content types. For instance, I didn&#8217;t want the breadcrumb trail to appear on my home page. In my browser/configure.zcml I simply added this directive:</p>
<div><span style="white-space: pre;"> </span>&lt;browser:viewlet</div>
<div><span style="white-space: pre;"> </span>name=&#8221;bbkschool.path_bar&#8221;</div>
<div><span style="white-space: pre;"> </span>manager=&#8221;plone.app.layout.viewlets.interfaces.IContentViews&#8221;</div>
<div><span style="white-space: pre;"> </span>for=&#8221;Products.BBKHomePage.interfaces.IBBKHomePage&#8221;</div>
<div><span style="white-space: pre;"> </span>layer=&#8221;.interfaces.IThemeSpecific&#8221;</div>
<div><span style="white-space: pre;"> </span>template=&#8221;nopath_bar.pt&#8221;</div>
<div><span style="white-space: pre;"> </span>permission=&#8221;zope2.View&#8221; /&gt;</div>
<p>In the &#8220;for&#8221; attribute I specify the interface of the content type I want this to apply to. The template, &#8220;nopath_bar.pt&#8221; is simply an empty template in my browser directory.</p>
<p>Lastly, <a href="http://plone.org/products/gloworm">Gloworm</a> came in really handy as did <a href="http://pypi.python.org/pypi/plone.reload">plone.reload</a> (although I found this a little unpredictable at times).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2009/01/17/plone-theming-some-minor-annoyances-and-victories/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>2009</title>
		<link>http://www.littled.net/new/2008/12/31/2009/</link>
		<comments>http://www.littled.net/new/2008/12/31/2009/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 17:22:56 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[non-plone]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=103</guid>
		<description><![CDATA[Now that 2009 is very nearly upon us, I thought I&#8217;d scribble down some things I&#8217;m hoping to do in the coming year:
Work and related stuff

Get a few more Plone 3 sites under my belt
Finish off my User Interface Design and Evaluation course (well, I&#8217;ve got to do this, I&#8217;ve not got a huge amount [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />Now that 2009 is very nearly upon us, I thought I&#8217;d scribble down some things I&#8217;m hoping to do in the coming year:</p>
<p><strong>Work and related stuff</strong></p>
<ul>
<li>Get a few more Plone 3 sites under my belt</li>
<li>Finish off my User Interface Design and Evaluation course (well, I&#8217;ve <em>got</em> to do this, I&#8217;ve not got a huge amount of choice in the matter) and really get to grips with all those HCI concepts</li>
<li>Roll up my sleeves with Flash again</li>
<li>Get another theme or two out for the Out of the Box Plone themes project</li>
<li>Go to the Plone conference in Budapest this year</li>
</ul>
<p><strong>Non-work stuff</strong></p>
<ul>
<li>Do my &#8216;52 photos&#8217; project &#8212; a photo a week for 2009</li>
<li>Maybe release Hamnavoe or any other Plone theme I design for Wordpress</li>
<li>Get better at Photoshop</li>
<li>Get through my German course</li>
<li>Do some more writing in some form or other</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2008/12/31/2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plone and Flash Player 10</title>
		<link>http://www.littled.net/new/2008/10/17/plone-and-flash-player-10/</link>
		<comments>http://www.littled.net/new/2008/10/17/plone-and-flash-player-10/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 16:10:07 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[UI]]></category>
		<category><![CDATA[blog-post]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[non-plone]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=94</guid>
		<description><![CDATA[Another pyrrhic victory maybe, but something that has made me exceptionally happy this afternoon. Basically, yesterday I upgraded my version of Flash Player to version 10 only to find that the Flash files on our Plone-powered site no longer worked.
The lovely folks at SWFObject helped to identify why this was happening &#8212; nothing to do [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />Another pyrrhic victory maybe, but something that has made me exceptionally happy this afternoon. Basically, yesterday I upgraded my version of Flash Player to version 10 only to find that the Flash files on our Plone-powered site no longer worked.</p>
<p>The lovely folks at <a href="http://code.google.com/p/swfobject/">SWFObject</a> helped to identify why this was happening &#8212; nothing to do with SWFObject at all but the fact that <a href="http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes.html">Flash Player 10 implements some new security &#8220;features&#8221;</a>. I managed to isolate it to the fact that Plone serves up ATFiles with the header, &#8220;Content-Disposition: attachment&#8221;. Flash Player 10 ignores files served up with this header, so you need to override this and set it to &#8220;Content-Disposition: inline;&#8221;.</p>
<p>I came up with this solution which may not be overly elegant but at least it works. I created a skin-level Python script that sets response headers before returning the file:</p>
<p>showflash.py</p>
<pre>request = container.REQUEST
RESPONSE =  request.RESPONSE
flashvid = request['flashvid']
cd = 'inline; filename=%s' %(context.id)
RESPONSE.setHeader('Content-Disposition', cd)
return context[flashvid]</pre>
<p>Then, when I embed the video with SWFObject I call it thus,</p>
<pre>&lt;script type="text/javascript"&gt;
   swfobject.embedSWF("&amp;dtml-portal_url;/path/to/flash/showflash?flashvid=myflash.swf", "my-dom-id", "435", "290", "9.0.115");
&lt;/script&gt;</pre>
<p>This may be better handled by a product like Plone4Artists Video but it certainly works as a fix for us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2008/10/17/plone-and-flash-player-10/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Chrome even makes it to the Today Programme</title>
		<link>http://www.littled.net/new/2008/09/03/chrome-even-makes-it-to-the-today-programme/</link>
		<comments>http://www.littled.net/new/2008/09/03/chrome-even-makes-it-to-the-today-programme/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 11:46:33 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[non-plone]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=80</guid>
		<description><![CDATA[Wow, there was even an article on Google Chrome on the Today Programme this morning.
I&#8217;ve downloaded Chrome and am playing around with it at the moment (all in the name of work obviously).  I&#8217;m pretty impressed so far, and am particularly enjoying the &#8220;Application shortcuts&#8221; which allow you to create shortcuts to websites on your [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />Wow, there was even an article on <a href="http://news.bbc.co.uk/today/hi/today/newsid_7595000/7595301.stm">Google Chrome on the Today Programme</a> this morning.</p>
<p>I&#8217;ve downloaded Chrome and am playing around with it at the moment (all in the name of work obviously).  I&#8217;m pretty impressed so far, and am particularly enjoying the &#8220;Application shortcuts&#8221; which allow you to create shortcuts to websites on your desktop. OK, nothing new in that, but they open in self-contained minimal windows which make them seem more like desktop applications. I&#8217;ve set one up for Gmail, which I have to say is also running very fast. Nice work.</p>
<p>Let&#8217;s hope we get a Mac version soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2008/09/03/chrome-even-makes-it-to-the-today-programme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surely you are joking?</title>
		<link>http://www.littled.net/new/2008/09/02/surely-you-are-joking/</link>
		<comments>http://www.littled.net/new/2008/09/02/surely-you-are-joking/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 10:11:43 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[non-plone]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.littled.net/new/?p=78</guid>
		<description><![CDATA[Google launches its own browser.
]]></description>
			<content:encoded><![CDATA[<p id="top" /><a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html">Google launches its own browser</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.littled.net/new/2008/09/02/surely-you-are-joking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
