Re: Plone 5 theming with a ready-to-download theme?
espen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
In a perfect world: Maybe a (paster) template with «things you might need» commented out.
Maybe something like:
<!-- define Theme template for front-page -->
<theme href="index.html" css:if-content="body.section-front-page"/>
<theme href=«other.html" css:if-content=«body.section-someother" />
<!-- define Theme template for some other page -->
<!-- theme href="index.html" css:if-content="body.section-some-section" /-->
<!-- define Theme template for some other view -->
<!-- theme href=«myvierw.html"
css:if-content=".template-collective-easyslider-interfaces-ivieweasyslider" / -->
<!-- define Theme template for other-pages-->
<theme href="theme.html" />
<!-- drop heading for my view -->
<drop css:content=".documentFirstHeading" css:if-content=«body.template-my_view" />
<!--drop hard coded widths set in image tags /-->
<drop attributes="width" css:content="img" />
<!-- Drop styles in the head - these are added back by including them from Plone -->
<!--drop theme="/html/head/style" /—>
<!-- Pull in Plone CSS -->
<after theme-children="/html/head" content="/html/head/link | /html/head/style" />
Etc (I dont know so much more…. :)
Espen
17. mars 2015 kl. 12:07 skrev Eric BREHAULT [via Plone] <ml-node+s293351n7573408h1-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:
> Hello Jens,
>
> That's a very valid use case, and yes I think it should be documented, so beginners can start theming Plone more easily.
>
> Eric
>
> On Tue, Mar 17, 2015 at 9:24 AM, Jens W. Klein <[hidden email]> wrote:
> I'am just experimenting with a use case which is kind of classical for
> integrators:
>
> take one of the thousands free or commercial bootstrap 3 themes, i.e.
>
> - 1000ds https://wrapbootstrap.com (one that fits the portal story) for
> just a few bucks
> - basic http://bootstrapzero.com/bootstrap-template/portal
> - more are out in the wild http://bit.ly/1GhaEpK
> - or some bs3 theme developed by an design agency for a project -
> tell'em to follow bs3 reduces the risk of theming adventures a lot.
>
> and make a Plone 5 diazo theme from that. With minimal effort.
>
> (the same use case could be transformed to any other
> CSS/Markup-Framework, if youre fan-girl/-boy of a different one replace
> bs3 with your favorite term)
>
> Given the theme package provides an index.html, the whole less/js needed
> and grunt build system (wrapbootstrap ones do so in general) my base
> idea is to just do the following steps:
>
> - add a rules and manifesto
> - add a custom less which bridges plone markup to bootstrap 3 markup
> - add a theme specific less if needed to adjust things for the current
> theme.
>
> (most of the less file bridging plone classes to bs3 classes should be
> genric. so we may have two less files: one generic, one specific for the
> current theme)
>
> The idea is to be able to download a theme, add some files, adjust
> things and have it up and running with default types. edit bar is
> available and viewlets and portlets are mapped to theme.
>
> Goal: Invest not more than 4h in this tasks the second time.
>
> This excludes: further fine tuning, mosaic pages (or other compound
> pages), custom types and so on.
>
> Questions:
>
> - Is this a valid use-case? Are there people out there working that way
> or would like to?
>
> - Is there such a story implemented?
>
> - If not, is there interest in creating a documentation and maintaining
> code snippet helping integrators working that way?
>
> best regards
>
> Jens
> --
> Klein & Partner KG, member of BlueDynamics Alliance
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Plone-5-theming-with-a-ready-to-download-theme-tp7573405p7573408.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org
> To unsubscribe from Plone, click here.
> NAML
--
View this message in context: http://plone.293351.n2.nabble.com/Plone-5-theming-with-a-ready-to-download-theme-tp7573405p7573414.html
Sent from the General Questions mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users