Apply your styles TTW.
Project description
Goal
Give people with CSS-skills the ability to apply styles through the web (TTW), using a simple page as style-source and provide a preview-possibility.
Usage
For live-developing the CSS and immediately see the changes, while to vistors the look will remain unchanged:
On top-level of your site add a page, name it ‘ttw_live_styles’, insert yout CSS-rules in the bodytext-fieild, save page.
Add ‘/@@ttw_styles_view’ to any URL of your site and see the changes.
For permanently adding the styles to your site and make them visible to everybody:
Create a local copy of your style-rules on your computer with a texteditor, name it ‘ttw_permanent_styles.css’ and upload it as a file on top-level of your site.
- Note: Permanent changes require to remerge stylesheets for caching,
which you can achieve by putting ithe portal_css-debug-mode off, (accessible via ‘http://localhost:8080/yourPlonesiteId/portal_css/manage_cssForm’). You might need to ask your siteadministrator to do that for you.
Installation
Add ‘adi.ttw_styles’ to the eggs-section of your instance-part in the buildout-cfg. Run buildout, restart instance, activate product in a Plonesite via ‘http://localhost:8080/yourPlonesiteId/prefs_install_products_form’.
Credits
La communidas de Plone
Changelog
1.1 (2013-07-26)
Added MANIFEST.in
1.0 (2013-07-26)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.