Re: I hate complexity in HTML/CSS/JavaScript
Alex Clark <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/28/13, 1:37 PM, Asko Soukka wrote: > >>> https://pypi.python.org/pypi/plonetheme.sunburst#how-to-depend-on-sunburst-for-your-custom-theme >> >> Thanks, one question: what does "Of course, the mycustom_skin needs to >> be registered too." mean in this context? I'm guessing this is a >> reference to a new-style theme layer and not an old-style portal skin? > > It means old-style skin, which can be created TTW from properties tab in portal_skins. > > In new resource registries all resources must be mapped into "bundles". Bundles are then mapped into skins so that each skin can include multiple and overlapping bundles. Cooked css/javascript will then include all resources from all bundles mapped for the currently active skin. Very flexible, but a bit complex and pain to manage both TTW or using GS-XMLs. > > Of course, all stuff related to skins and resource registries must be managed manually TTW or with GS-XMLs (there's no automation for them in p.a.theming). So the "best practice" [1] is to copy <head> from content to theme via Diazo rule and then make sure the appropriate bundles are included in <head>? Alex [1] I hate the term "best practice" for some reason… > > -Asko > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > -- Alex Clark · http://about.me/alex.clark ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk