<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>404-notfound.com :: Veda Williams</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/" />
    <link rel="self" type="application/atom+xml" href="http://www.404-notfound.com/blog/atom.xml" />
   <id>tag:www.404-notfound.com,2009:/blog//1</id>
    <link rel="service.post" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1" title="404-notfound.com :: Veda Williams" />
    <updated>2009-07-22T00:43:51Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.2</generator>
 
<entry>
    <title>And yes, even more errata on the Plone 3 Theming Book</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/07/and_yes_even_more_errata_on_th.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=18" title="And yes, even more errata on the Plone 3 Theming Book" />
    <id>tag:www.404-notfound.com,2009:/blog//1.18</id>
    
    <published>2009-07-22T00:32:43Z</published>
    <updated>2009-07-22T00:43:51Z</updated>
    
    <summary>Since there will be ongoing errors falling out of the Plone 3 Theming Book, I&apos;m listing them here: http://plone.org/documentation/faq/plone-3-theming-errata These will all be sent off to Packt to be incorporated in future versions of the book. (They are printed on...</summary>
    <author>
        <name>notfound</name>
        
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Since there will be ongoing errors falling out of the Plone 3 Theming Book, I'm listing them here:</p>

<p>http://plone.org/documentation/faq/plone-3-theming-errata</p>

<p>These will all be sent off to Packt to be incorporated in future versions of the book. (They are printed on demand, so hopefully the errors will be resolved quickly for those of you who are slower to place your orders.)</p>

<p>Please refer people to this list of errata, soon to be available prominently in the documentation section of plone.org, and if you've got errata of your own to submit, please send them on to veda@onenw.org.</p>

<p>Thanks!</p>]]>
        
    </content>
</entry>
<entry>
    <title>Let the errata begin!</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/07/let_the_errata_begin.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=17" title="Let the errata begin!" />
    <id>tag:www.404-notfound.com,2009:/blog//1.17</id>
    
    <published>2009-07-21T23:03:43Z</published>
    <updated>2009-07-21T23:07:00Z</updated>
    
    <summary>Not surprisingly, people are starting to find errors in the new Theming for Plone book. I&apos;m going to start keeping a log here on my blog and also forward the issues back to Packt as soon as I get them....</summary>
    <author>
        <name>notfound</name>
        
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Not surprisingly, people are starting to find errors in the new Theming for Plone book. I'm going to start keeping a log here on my blog and also forward the issues back to Packt as soon as I get them. In the meantime, there's an important errata in Chapter 4 where you create the Plone theme. It reads:</p>

<p>$ paster create -t plone3_theme</p>

<p>It should read:</p>

<p>$ paster create -t plone3_theme plonetheme.mytheme. </p>

<p>Also, where it says:</p>

<p>Enter project name: My Theme</p>

<p>It should read:</p>

<p>Enter project name: plonetheme.mytheme</p>

<p>Package names shouldn't have spaces or hyphens in them, as buildout can't read them correctly. Fun with Plone!</p>]]>
        
    </content>
</entry>
<entry>
    <title>New Plone theming book, on shelves now!</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/07/new_plone_theming_book_on_shel.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=16" title="New Plone theming book, on shelves now!" />
    <id>tag:www.404-notfound.com,2009:/blog//1.16</id>
    
    <published>2009-07-21T18:38:21Z</published>
    <updated>2009-07-21T18:51:32Z</updated>
    
    <summary>I&apos;d like to formally announce the release of my new book, Plone 3 Theming, which went to the presses at Packt on July 14th. Some of you have already started to receive your e-books, and I expect dead tree versions...</summary>
    <author>
        <name>notfound</name>
        
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>I'd like to formally announce the release of my new book, Plone 3 Theming, which went to the presses at Packt on July 14th. Some of you have already started to receive your e-books, and I expect dead tree versions to start making their way to people soon. If you haven't yet ordered it, you can do so here: </p>

<p>http://tr.im/p3theming or http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book. </p>

<p>It's worth noting that the webpage on Packt has some incorrect information, but will hopefully be updated soon. There are actually 15 chapters, not 11. The content of the book is mostly as stated on Packt's website, but what is not listed is the last chapter, which is the much-anticipated sneak peek into the world of rules-based theming, written by Alexander Limi. </p>

<p>I'd like specifically to thank Steve McMahon and Denys Mishunov for their efforts as my editors, and of course, Alexander, for contributing a chapter. I hope you all enjoy it, and if you have any errata to submit to me, please do! Happy reading!</p>]]>
        
    </content>
</entry>
<entry>
    <title>Listing on Amazon.com</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/05/listing_on_amazoncom.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=15" title="Listing on Amazon.com" />
    <id>tag:www.404-notfound.com,2009:/blog//1.15</id>
    
    <published>2009-05-16T20:23:09Z</published>
    <updated>2009-05-16T20:26:29Z</updated>
    
    <summary>One other thing regarding the theming book for Plone -- I&apos;m not sure when it will be available on Amazon, but it will likely be a couple of weeks after it&apos;s actually published. In the meantime, you can place pre-orders...</summary>
    <author>
        <name>notfound</name>
        
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>One other thing regarding the theming book for Plone -- I'm not sure when it will be available on Amazon, but it will likely be a couple of weeks after it's actually published. In the meantime, you can place pre-orders here: http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book. </p>

<p>Thanks,</p>

<p>- Veda</p>]]>
        
    </content>
</entry>
<entry>
    <title>Theming book for Plone, out at the end of the month</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/05/theming_book_for_plone_out_at.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=14" title="Theming book for Plone, out at the end of the month" />
    <id>tag:www.404-notfound.com,2009:/blog//1.14</id>
    
    <published>2009-05-16T20:19:33Z</published>
    <updated>2009-05-16T20:21:58Z</updated>
    
    <summary>For those who are wondering, the theming book for Plone will be go to print on May 28th. There are still some adjustments happening to the chapter listing, but for the most part, the content will be as follows: http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book...</summary>
    <author>
        <name>notfound</name>
        
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>For those who are wondering, the theming book for Plone will be go to print on May 28th. There are still some adjustments happening to the chapter listing, but for the most part, the content will be as follows:</p>

<p>http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book</p>

<p>I know that I've promised a chapter on Deliverance, and if Alexander Limi is able to get it to me in time, it will be included. If not, there will be information posted on plone.org soon. Thanks everybody for your patience and support!</p>

<p>Cheers,</p>

<p>- Veda</p>]]>
        
    </content>
</entry>
<entry>
    <title>Theming for Plone -- discount on preorders</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/04/theming_for_plone_discount_on.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=13" title="Theming for Plone -- discount on preorders" />
    <id>tag:www.404-notfound.com,2009:/blog//1.13</id>
    
    <published>2009-04-15T18:38:35Z</published>
    <updated>2009-04-15T18:43:43Z</updated>
    
    <summary>Hello, As many of you know the new theming for Plone book is coming out in May of this year. Packt is offering special discounts for ebooks and preorders, detailed here: http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book This book summarizes three years of knowledge-gathering that...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Hello,</p>

<p>As many of you know the new theming for Plone book is coming out in May of this year. Packt is offering special discounts for ebooks and preorders, detailed here:</p>

<p>http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book</p>

<p>This book summarizes three years of knowledge-gathering that will hopefully save new themers some pain. For those who are wondering, yes, Deliverance will be covered by Alexander Limi, in addition to all of the other bits and pieces new themers need to know. The table of contents is somewhat in flux at the moment, but that should be formalized shortly. </p>

<p> Enjoy, and thanks!</p>

<p>- Veda</p>]]>
        
    </content>
</entry>
<entry>
    <title>Theming for Plone 3 - Coming Soon!</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2009/04/theming_for_plone_3_coming_soo.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=12" title="Theming for Plone 3 - Coming Soon!" />
    <id>tag:www.404-notfound.com,2009:/blog//1.12</id>
    
    <published>2009-04-08T21:57:25Z</published>
    <updated>2009-04-08T22:03:26Z</updated>
    
    <summary>Packt Publishing announced today the impending (drum roll please) publication of my new book, Theming for Plone 3. The book is geared toward new themers, and covers everything from the tools you need, the overall concepts, a real-world example, and...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Packt Publishing announced today the impending (drum roll please) publication of my new book, Theming for Plone 3. The book is geared toward new themers, and covers everything from the tools you need, the overall concepts, a real-world example, and a chapter by Alexander Limi that details the future of Plone theming (Deliverance).</p>

<p>http://www.packtpub.com/plone-3-theming-create-flexible-powerful-professional-templates/book</p>

<p>Be forewarned that Packt does not have the final list of chapters here, and there are some other minor errors that need to be corrected. It's available for pre-order now, due to ship in May 2009. Enjoy!</p>]]>
        
    </content>
</entry>
<entry>
    <title>Announcing Practical Plone Book for Beginners!</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2008/11/announcing_practical_plone_boo.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=11" title="Announcing Practical Plone Book for Beginners!" />
    <id>tag:www.404-notfound.com,2008:/blog//1.11</id>
    
    <published>2008-11-04T23:50:29Z</published>
    <updated>2008-11-07T21:35:20Z</updated>
    
    <summary>Over the last year, a great deal of energy has gone into the writing of Practical Plone, the community&apos;s newest book geared for newcomers to Plone. In the last few weeks, I&apos;ve had the pleasure of helping to shepherd the...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Over the last year, a great deal of energy has gone into the writing of Practical Plone, the community's newest book geared for newcomers to Plone. In the last few weeks, I've had the pleasure of helping to shepherd the book out the door. With the assistance of our editors and authors, I'm happy to announce that we are one approximately one week away from going to print.</p>

<p>You can now pre-order your copy of the book here:</p>

<p>http://www.packtpub.com/building-plone-websites-through-the-graphical-interface/</p>

<p>Please note that although Packt has listed the book as Plone 3 TTW, it's final title is Practical Plone, a Beginner's Guide to Building Powerful Websites. The chapters featured in the book will include:</p>

<p>1. Introduction - Jon Stahl<br />
What is a CMS? What is Plone, and where did it come from?</p>

<p>2. Installing Plone - Steve McMahon <br />
Learn how to get Plone up and running on Windows, Mac OS X, and Linux.</p>

<p>3. A brief tour of Plone - Tom Conklin<br />
Get an overview of Plone's user interface and key features. </p>

<p>Part 2 - I want to...</p>

<p>4. Create Web Pages - Sam Knox <br />
Learn how to create and publish web pages with Plone's built-in visual editor.</p>

<p>5. Add News Items, Events and Other Content - Tom Conklin <br />
Learn about the other standard content types, such as news items, events, and files.</p>

<p>6. Structure the Content in My Site - Tom Conklin<br />
Learn how to use folders and Collections to structure your content.</p>

<p>7. Safely Manage Different Versions of Content - Darci Hanning <br />
Understand Plone's built-in versioning features.</p>

<p>8. Delegate Content Management to Multiple Users - Tom Conklin <br />
Learn how to create users and groups and give them permissions over various parts of your site.</p>

<p>9. Manage Approvals and Other Workflow for My Content - Matt Bowen <br />
Customize your security model by creating workflow.</p>

<p>10. Show Additional Information to Users and Site Visitors - Jon Stahl<br />
Learn about Plone's Portlet features.</p>

<p>11. React to Changes in the Site Automatically - Alex Clark <br />
Build intelligence into your content management with Content Rules.</p>

<p>12. Control My Site's Configuration in Detail - Alex Clark <br />
Detailed explanations of the various Plone control panels.</p>

<p>Part 3 - Now that I've got the basics, I'd like to learn how to...</p>

<p>13. Preliminary Steps: Setting Up an Environment - Clayton Parker<br />
Set up a development environment with various debugging tools.</p>

<p>14. Find and Install Add-ons That Expand Plone's Functionality - Steve McMahon <br />
Learn how to find and install add-on components that are freely available online.</p>

<p>15. Build Forms - Jon Stahl (with Steve McMahon) <br />
Create web forms quickly and easily.</p>

<p>16. Create New Content Types - Matt Bowen <br />
Create custom content types to capture and manage specific information.</p>

<p>17. Customize Aspects of Plone - Veda Williams <br />
Learn how to customize Plone's various UI components. </p>

<p>18. Change the Look-and-Feel - David Convent and Veda Williams<br />
Create a custom theme for your site.</p>

<p>Part 4 - My boss wants me to...</p>

<p>19. Put My Site Live - Steve McMahon <br />
Learn how to configure a live Plone server.</p>

<p>20. Make It Go Faster - Ricardo Newbery <br />
Configure a web cache to make Plone faster.</p>

<p>21. Connect to our LDAP/Active Directory Repository - John DeStefano<br />
Let your users log in with their existing usernames and passwords by connecting to an existing LDAP/Active Directory server. </p>

<p>Huge thanks to everyone who has participated, including the authors above and our last-minute editors:</p>

<p>Jon Baldivieso<br />
Andrew Burkhalter<br />
John DeStefano<br />
David Glick<br />
Calvin Hendryx-Parker<br />
Sam Knox<br />
Erik Rose</p>

<p>and of course, many thanks to the fantastic Martin Aspeli, who started this project.</p>

<p>I'm personally thrilled to have been part of this process, and hope this book fills an important niche. Please show your support to the Plone Foundation (which will get the royalties associated with the book) by picking up a copy, and please help us promote it over the coming weeks and months.</p>

<p>Thanks!</p>

<p>- Veda </p>]]>
        
    </content>
</entry>
<entry>
    <title>Reordering / Hiding Viewlets - Argh!</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2008/09/reordering_hiding_viewlets_arg.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=10" title="Reordering / Hiding Viewlets - Argh!" />
    <id>tag:www.404-notfound.com,2008:/blog//1.10</id>
    
    <published>2008-09-03T19:24:16Z</published>
    <updated>2008-09-03T20:42:19Z</updated>
    
    <summary>I&apos;ve had more than my fair share of pain trying to get my viewlets to go where they&apos;re supposed to go, and to hide or show them as needed. This tutorial by David Convent is great, but there are a...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>I've had more than my fair share of pain trying to get my viewlets to go where they're supposed to go, and to hide or show them as needed. This tutorial by David Convent is great, but there are a few additional points that might help some folks: http://plone.org/documentation/tutorial/customizing-main-template-viewlets/overriding-a-viewlet.</p>

<p>Let's look at this code for a second:</p>

<p>&lsaquo;?xml version="1.0"?&rsaquo;<br />
&lsaquo;object&rsaquo;<br />
  &lsaquo;order manager="plone.portaltop" skinname="Dogwood Theme" based-on="Plone Default"&rsaquo;<br />
  &lsaquo;viewlet name="plone.path_bar"/&rsaquo;<br />
  &lsaquo;/order&rsaquo;	<br />
  &lsaquo;hidden manager="plone.portaltop" skinname="Plone Default"&rsaquo;<br />
    &lsaquo;viewlet name="plone.path_bar" /&rsaquo;<br />
  &lsaquo;/hidden&rsaquo;<br />
&lsaquo;/object&rsaquo;</p>

<p>My goal is to hide the default Plone breadcrumbs and replace them with my own viewlet, which is customized to have >> instead of an arrow dividing the crumbs.</p>

<p>WHAT CODE GOES HERE?<br />
--------------------<br />
First, in your viewlets.xml, you only want to include the pieces of information that is changing. You don't want to grab the entire CMFPlone/Profiles/viewlets.xml file. That's because we are basing our skin off of Plone Default (or you should be), and it knows that the CMFPlone profile is the base profile. The next section explains how you correctly specify this.</p>

<p>FINER POINTS ABOUT SYNTAX:<br />
--------------------------<br />
Notice that the items I'm showing (order manager) says the name of my skinname, based on Plone Default. Unless you have a good reason not to, you should always specify the skinname and say that it's based on Plone Default. </p>

<p>When I'm hiding viewlets, I am generally hiding Plone default items, not anything from my skin, so the syntax is slightly different between order and hidden managers.</p>

<p>WHAT'S MY SKINNAME?<br />
-------------------<br />
The skinname in viewlets.xml needs to match the one in skins.xml, profiles.zcml, and the configure.zcml file where the IThemeSpecific layer is defined. Considering that there are a lot of pathnames running around, it's easy to get confused. I rely on the skinname that's specified in configure.zcml, where my IThemeSpecific interface is registered, because I know that it's generated automatically by my theme recipe and therefore probably correct.</p>

<p>HOW DO I GET MY CHANGES INTO MY SKIN?<br />
-------------------------------------<br />
Say you've got a highly customized theme. Your theme might even be tied into some additional products, such as a profile product. Things can get a little delicate here, and it becomes increasingly more dangerous to reinstall your theme product to see the changes you expect to see -- especially on a live site! In this case, what you want to do is go to portal_setup in the ZMI, click on the import tab, and select the Profile you wish to import from. THIS STEP IS VERY IMPORTANT. Choose the name of your theme, select the "viewlets" option to import, and import the selected step. Assuming all goes well, your GenericSetup will be re-read, and your viewlets will move accordingly. </p>

<p>WHY IS IT STILL NOT WORKING?<br />
----------------------------<br />
I followed exactly this process, and yet my viewlets were not going where I expected to see them. I wanted my breadcrumbs to display in the portaltop area, but they refused to budge. Upon opening configure.zcml, where my breadcrumbs viewlet was defined, I realized the problem:</p>

<p>    &lsaquo;!-- The breadcrumbs --&rsaquo;<br />
    &lsaquo;browser:viewlet<br />
        name="plone.path_bar"<br />
        manager="plone.app.layout.viewlets.interfaces.IAboveContentTitle"<br />
		layer=".interfaces.IThemeSpecific"<br />
        class=".viewlets.PathBarViewlet"<br />
        permission="zope2.View" <br />
        /&rsaquo;</p>

<p>Do you see it? I had specified the manager as IAboveContentTitle, when I should have made it IPortalTop. Viewlets.xml doesn't *really* control where your viewlet goes. The actual definition happens in configure.zcml (this is what tells Zope that your viewlet exists), but viewlets.xml needs to talk to that file for viewlet ordering / showing  to work correctly.</p>

<p>If you changed your ZCML like I did, don't forget to restart your Zope or use plone.reload!</p>

<p>WAIT, IT'S *STILL* NOT WORKING!<br />
-------------------------------<br />
Assuming your viewlets.xml, configure.zcml, and viewlets.py are all correct, only one other thing could be wrong. Usually at this point you've tried to hide / show your viewlet a couple of times, and the GenericSetup is getting a little hairy under the covers.</p>

<p>Unfortunately, removing a viewlet from a <hidden> manager doesn't unhide it. If you've been trying to hide / unhide a viewlet, it doesn't know how to remove that item from the "hidden" list. I've heard rumors that a "purge" command for GenericSetup would work, but I could never get it to work for me. The answer at this point is, use @@manage-viewlets and use the Show link TTW.</p>

<p>ERRORS TOO?<br />
-----------<br />
Every now and then, I also wind up with a typo in my viewlets.xml. Usually, it's something lame like forgetting to close the &lsaquo;/object&rsaquo; tag, and when I import my xml file, I get a rather obtuse error:</p>

<p>AttributeError: 'ViewletSettingsStorage' object has no attribute 'getPhysicalPath'</p>

<p>It's scary at first, but once you realize it's saying you have a typo, it becomes easy to resolve.</p>

<p>Whew!</p>]]>
        
    </content>
</entry>
<entry>
    <title>Overriding portlets -- common stumbling blocks</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2008/08/overriding_portlets_common_stu.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=9" title="Overriding portlets -- common stumbling blocks" />
    <id>tag:www.404-notfound.com,2008:/blog//1.9</id>
    
    <published>2008-08-11T21:12:24Z</published>
    <updated>2008-08-28T22:40:34Z</updated>
    
    <summary>Skinner&apos;s tip #2 ------------ It&apos;s dumb, and it happens to me constantly, but there are a few things I occasionally forget when trying to override a portlet: 1) If you get an error like this: File &quot;/opt/zope/buildouts/otis/src/plonetheme.mytheme/plonetheme/mytheme/browser/configure.zcml&quot;, line 51.1, unbound...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>Skinner's tip #2<br />
------------</p>

<p>It's dumb, and it happens to me constantly, but there are a few things I occasionally forget when trying to override a portlet:</p>

<p>1) If you get an error like this: </p>

<p>File "/opt/zope/buildouts/otis/src/plonetheme.mytheme/plonetheme/mytheme/browser/configure.zcml", line 51.1, unbound prefix </p>

<p>Add the xmlns:plone="http://namespaces.plone.org/plone" namespace to the top of your browser/configure.zcml file.</p>

<p>2) Before your portlet override code, make sure you add this snippet:</p>

<p>&lsaquo;include package="plone.app.portlets" /&rsaquo;</p>

<p>3) Watch your path back to plone.app.portlets.portlets (note the double mention of portlets). You're walking through a folder structure, and portlets are nested a little deeper than viewlets. As for the "navigation" bit in the portlet= assignment below, that refers to navigation.py (a file, not a folder), and INavigationPortlet is an interface defined in that file. </p>

<p>    &lsaquo;plone:portletRenderer<br />
		portlet="plone.app.portlets.portlets.navigation.INavigationPortlet"<br />
		template="navigation.pt"<br />
		layer=".interfaces.IThemeSpecific"<br />
        /&rsaquo;</p>

<p>4) Note also that we're using the portletRenderer directive for overriding portlets, rather than the portlet directive that you find in existing (Plone default) portlets.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Blogging About Theming - At Last</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2008/08/blogging_about_theming_at_last.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=8" title="Blogging About Theming - At Last" />
    <id>tag:www.404-notfound.com,2008:/blog//1.8</id>
    
    <published>2008-08-10T00:46:46Z</published>
    <updated>2008-08-28T22:40:04Z</updated>
    
    <summary>I&apos;ve fortunate to have some fairly vocal coworkers blogging about the inner workings of ONE/Northwest and how we fit into the Plone story. Lately, though, I&apos;ve come to the conclusion that themers are a fairly quiet group of people in...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Plone" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p>I've fortunate to have some fairly vocal coworkers blogging about the inner workings of ONE/Northwest and how we fit into the Plone story. Lately, though, I've come to the conclusion that themers are a fairly quiet group of people in the Plone community, and I'd like to see that change. My goal is to post a loose, ongoing set of thoughts around "what I learned today in theming" in the hopes it might help someone else. Be gentle, as I am not the smartest, geekiest person out there. :) </p>

<p>Today: beware of using the wrong version of Subversion. I recently got a new IMac, and in setting up my development environment, I grabbed Subversion 1.5. This isn't a bad thing in itself -- the problem is that our svn repository uses 1.4, and it took me several hours to back down to 1.4 before I could start making checkins again. A rather unfortunate experience, given that we had a high priority project that had to roll out. Lesson learned, 2 years added to my life.</p>

<p>Don't forget to check out the Weblion blog that explains how you can get around some Python ugliness involving Subversion 1.5 (in the event that you do indeed have the right version of svn on your own repo): http://weblion.psu.edu/news/subversion-1.5-has-landed</p>

<p>- Veda</p>]]>
        
    </content>
</entry>
<entry>
    <title>RIP Felicity</title>
    <link rel="alternate" type="text/html" href="http://www.404-notfound.com/blog/2008/06/rip_felicity_1.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.404-notfound.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=7" title="RIP Felicity" />
    <id>tag:www.404-notfound.com,2008:/blog//1.7</id>
    
    <published>2008-06-10T01:09:48Z</published>
    <updated>2008-08-10T00:45:55Z</updated>
    
    <summary> Got the sad news that my friend Felicity was accidentally shot to death last week while taking shooting lessons and died in the arms of her husband. Although I did not know Felicity long at all, her impact was...</summary>
    <author>
        <name>Veda Williams</name>
        <uri>404-notfound.com</uri>
    </author>
            <category term="Personal" />
    
    <content type="html" xml:lang="en" xml:base="http://www.404-notfound.com/blog/">
        <![CDATA[<p><img alt="felicity.png" src="http://www.404-notfound.com/blog/felicity.png" width="317" height="496" padding="10" align="left" /><br />
Got the sad news that my friend Felicity was accidentally shot to death last week while taking shooting lessons and died in the arms of her husband. Although I did not know Felicity long at all, her impact was tremendous. It's not often you get a facial done by a burlesque actor, sword swallower, trainer of pigs, former stripper, and more. She was a special, fearless human being who will be missed by a lot of people, and I'm charmed to have known her. http://fractalvideo.com/HTML/Molotov&FelicityFV.html</p>]]>
        
    </content>
</entry>

</feed> 

