From: Mark F. <bri...@gm...> - 2005-08-16 23:17:03
|
happy to help. have you seen compositepack - http://plone.org/products/compositepack It is like cmf content panels on steroids. It allows dragging and dropping of the content to rearrange it and seems to be the product that is getting the most development. I like cmfcontent panels because it is simple and I can keep it all in my head, but I will investigate other products as I get ready to make the transition to plone 2.1 Cheers, Mark On 8/17/05, JoAnna Springsteen <jl...@gm...> wrote: > Wow Mark that was very helpful! > I have to admit to some major user error. I wasn't navigating to a > folder that had articles in it. Whoops. > Nonetheless, I am documenting as I go and hope to have some new > procedures for content panels developed within the next few months. > Once I figured out what I was doing I got very excited. I can't wait > to dig into this topic a little more! > JoAnna >=20 >=20 > On 8/16/05, Mark Fallu <bri...@gm...> wrote: > > ok - there are 2 reasons you are only seeing what you are seeing. > > > > 1) context > > 2) need to register viewlets. > > > > Ok so in the ZMI go to your plone site and look inside it. > > > > Along with all the usual stuff there should be something called > > "portal_contentpanels" > > > > Open that and you will see the default actions for the tool - these > > are where you register the actions the tool can take... Just like > > when you want to add new tabs to the nav bar, first you create the > > folder then you add the action that registers it with the system and > > tells ope how to open it. > > > > What you are doing here is registering viewlets (the viewlets are page > > templates that live in the skins folder of cmfcontentpanels or in the > > skins folder of some other product) > > > > There are quite a few default viewlets in the current version of the > > product - and you can install them all by clicking on the "install all > > viewlets" tab. > > > > (I believe this installs all the viewlets in the products skins folder > > - but not the ones in the skins folders of other products) > > > > Right - now you should have some more options to add.... but you still > > might not see any. > > > > Well that is because of the "context" reason - say you create and > > register a viewlet that lets for a custom view of a Plone Article > > object. You won't see the option unless you use the reference > > browsing widget (the popup window that appears when you click on a > > folder icon within a content panel) and navigate to a folder that > > contains articles. > > > > Here is a quick rundown of how I use the tool. > > > > Say I want to make a custom front page that pulls in different content > > from all over the site. > > > > First I mock up the outline of the page layout - so I might for example= : > > In the root of the portal > > - divide the page vertically into thirds by creating 3 content panel ob= jects > > - in each of the content panels select something you want to see (the > > calendar, a folder view - i use a custom plone article viewlet, a news > > viewlet, some static html viewlets and custom viewlets create for the > > ATRatings viewlet that show the most popular content on the site) > > - create a 4th content panel object called index_html that will > > replace the existing index_html document (this is now the default > > front page of the site) > > -click on the layout tab you now see when viewing the front page - and > > use that to add each of the 3 content panels you created earlier... > > the viewlet you want to select for these is in the conetn related > > section "Nested contentpanels" > > -I generally apply a "No Title" skin to the nested content panels. > > > > Right now when you go to the front page you should see a site that has > > content from all over the site presented in three invisible boxes. > > > > Your layouts can be as complex as you want. > > > > Mine has: > > 3 vertical sections. > > 1)top - divided into 2 left hand rows and one right hand column - > > displaying a main feature article, a subscription portlet and a static > > portlet showing custom html. > > 2)middle - divided into three columns of 2 rows (6 cells) - each > > displaying a feature article on a type of content > > bottom - three columns - each showing a view of the ATratings product > > - top ten lists of highly rated content, most recently published > > content and most viewed content. > > > > Creating new viewlets is just a matter of looking at the code of the > > existing ones and ensuring that you do the same thing with any new > > portlet you want to utilise - I can go into more detail if you like - > > but it is pretty straight forward once you look at the code. > > > > Basically - the viewlet action you registered in the ZMI points at a > > spot inside a portlet page template > > > > Hope this helps. > > > > Cheers, > > > > Mark > > On 8/16/05, JoAnna Springsteen <jl...@gm...> wrote: > > > Thanks Mark. The problem I'm running into with the viewlets is that i= t > > > seems to only let me use plain text, calendar, my favorites, RSS, and > > > recent items. And that's it!! I know I'm supposed to be able to do > > > more than that! Right?? > > > What are some of the related products? I should mention that the main > > > goal here is (at least in this particular case) is an attempt at > > > single sourcing/reusable content. No small task with any tool but I > > > figured I'd give it a go with Plone! > > > thanks, > > > JoAnna > > > > > > On 8/16/05, Mark Fallu <bri...@gm...> wrote: > > > > CMF Content Panels are easy - well easier than some of the other > > > > products that do similar things. > > > > > > > > In short - they let you put portlets (called viewlets) into the > > > > content area of a page (rather than the column area) and apply cust= om > > > > styles to them. > > > > > > > > You can use any of the existing portlet templates - any of the > > > > portlets that come with other products or write your own page > > > > templates. > > > > > > > > You can even use it to include bits of static html (but that is > > > > usually considered poor form) > > > > > > > > In order to use new viewlets / portlets you have to register them i= n > > > > the properties section of the tool in the ZMI. > > > > > > > > Have a play and shoot me any questions and I will walk you through = it. > > > > > > > > By the way - there are a number of competing products - have you > > > > reviewed them to make sure this is the right one for you. > > > > > > > > Cheers, > > > > > > > > Mark > > > > > > > > On 8/16/05, JoAnna Springsteen <jl...@gm...> wrote: > > > > > Hi all- > > > > > I was first introduced to Plone about a year ago and over the pas= t > > > > > year it has become a bigger and bigger part of my life. > > > > > I am a Technical Communicator by training and own my own business= . > > > > > Right now I'm consulting at a company who is looking to implement= a > > > > > Plone for their company intranet. I'm very excited. Since I'm the= one > > > > > that has the most experience with Plone (not by much) I've been t= asked > > > > > with setting up their site. > > > > > Small issue: they want to use the CMFContentPanels add on. I have= no > > > > > clue how to use them and I can't find a whole lot of documentatio= n on > > > > > how to use them. > > > > > So I propose this to the documentation list: I'll write up some H= ow > > > > > tos if someone, anyone, can show me an example site that uses > > > > > CMFContentPanels already or if someone can walk me through the st= eps. > > > > > Of course I'm willing to document other things as they are needed= , but > > > > > this is a particular need in my own life and has spurred me to he= lp > > > > > Plone documentation!! > > > > > > > > > > JoAnna > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is Sponsored by the Better Software Conference & EXP= O > > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle= Practices > > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Tes= ting & QA > > > > > Security * Process Improvement & Measurement * http://www.sqe.com= /bsce5sf > > > > > _______________________________________________ > > > > > Plone-docs mailing list > > > > > Plo...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/plone-docs > > > > > > > > > > > > > > > |