Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 64530 invoked from network); 24 Nov 2005 18:46:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Nov 2005 18:46:12 -0000 Received: (qmail 19060 invoked by uid 500); 24 Nov 2005 18:46:11 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 18522 invoked by uid 500); 24 Nov 2005 18:46:09 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 18511 invoked by uid 99); 24 Nov 2005 18:46:09 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 10:46:08 -0800 Message-ID: <43860A82.6050909@apache.org> Date: Thu, 24 Nov 2005 19:46:26 +0100 From: Carsten Ziegeler User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Searching for a cool portal layout References: <4371BA41.2090507@apache.org> <1b3064640511110549x183b7254g@mail.gmail.com> <4374BFE6.9040209@gmail.com> <4374C657.8000804@apache.org> <1b3064640511230706x10fcc4fcj@mail.gmail.com> In-Reply-To: <1b3064640511230706x10fcc4fcj@mail.gmail.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Paolo, Paolo Ambrosio wrote: > Well, after many days of work, this is what I can offer to cocoon > portal. Attached you can find a new skin [1], very similar > to "common" style but with div/css layout instead of tables. This is > because I concentated on coding instead of graphic design and because > I'd like to have the same style rendered using both tables and divs. Thanks for your work, fantastic. > Indeed, some time ago I posted on bugzilla a DELI Aspect Renderer [2] > to develop a portal skin that could recognize browser capabilities > and render the portal using the table or the css layout as needed. > But in this skin that renderer is not used, so I just said it to let > you know why I used the old portal style. Ah, ok, I saw your contribution, but never had time to really look at it... > > I structured my xsl files in a modular way to be easily used by > other skins. I think the xslt code is quite self explanatory. The > only "strange" thing is in the icons.xsl file. I found the original > window.xsl quite confusing and difficult to maintain and modify: > all icons are put in the window transformation template. So if > someone wants to modify the icons layout, he should replicate his > style through all icons. And what happens when a new one is added? > With my stylesheets to add a new icon the only thing to do is > add an entry to the generate-icon-set template. If someone wants > to change the icon style, he should just change the draw-icon > template. Yes, good idea. > Just to test my ideas about code reuse in skins, I made a modified > version of Helma's layout to demonstrate how it could be done. > Most files simply import my sheet without modifications. This is > attached to the email as well [3]. > > To install just unpack the archives in portal-samples/skin/ > and make an entry on portal-sample/conf/cocoon-portal-sample.xconf > Of couse, you have to select one of those skins in > portal-samples/sitemap.xmap > > I have some ideas for cocoon portal, but first I'll wait your > comments on this before :-) > :=) I like your contributions and I think we should apply them (or most of it). Unfortunately, I won't have time for it in the next four weeks...so perhaps someone else can have a look at it? And of course, I'm curious for your other ideas/comments! Thanks Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/