Re: Re: Template per section
Mirto Silvio Busico <mbusico-+bmjRK/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
I'm triyng to obtain something like this, but I was not able to do this
only with css and I had to hack some page templates.
My requirements:
* icons for portal_tabs and for content_views
* the selected (and over) icon should be evidenced
* if the cursor stays on an icon, a i18n message is to be displayed
I've done this (I can send a 131Kb tar file with the skin if anyone is
interested), but I had to modify global_sections.pt and
global_contentviews.pt.
I had also to modify plone.css.dtml
Anyone can help me to meet these requirements using only CSS?
Thanks
Mirto
Tonico Strasser wrote:
> Mike Combs wrote:
>
>> At 11:21 AM 3/11/2004, Michael Zeltner wrote:
>>
>>> i'm not claiming we're as flexible as the css zen garden but at
>>> least almost (important note: we're not using unnecessary markup as
>>> the garden does).
>>
>>
>>
>> In the spirit of shifting the design to CSS while preserving
>> accessibility and all kinds of backwards compatibility, I hope you'll
>> consider adding just a teeny, tiny bit of unnecessary markup.
>
> ...
>
>> There might be a couple of other cases where a little extra markup
>> would go a long way toward reducing the need for users to modify the
>> templates to get the results they want.
>
>
> I'm using a technique similiar to "The ThrashBox"[1] for portlets. I
> have to modify the templates for this purpose. However, because of the
> power of ZPT it's not really hard. I'm aware of the risk that the Site
> can break during a migration process, but that is the price for
> individuality. The price gets higher the more you customize.
>
> Unless you don't modify anything, there will always be potential risks
> during migration, even if the presentational customization is CSS
> only. The design can break if ids or classnames or the HTML structure
> has changed.
>
> I try to minimize potential migration issues by separating content,
> logic, structure and presentation as best as possible.
>
> [1] <http://www.vertexwerks.com/tests/sidebox/>
>
> Tonico
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Plone-design mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-design
>
--
__________________________________________________________
Mirto Silvio Busico ICT Consultant
Tel. +39 333 4562651
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click