skip to navigation
skip to content

adi.ttw_styles 1.1

Apply your styles TTW.

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’.

Author

Ida Ebkes

Credits

La communidas de Plone

Changelog

1.1 (2013-07-26)

  • Added MANIFEST.in

1.0 (2013-07-26)

  • Initial release
 
File Type Py Version Uploaded on Size
adi.ttw_styles-1.1-py2.7.egg (md5) Python Egg 2.7 2013-07-26 6KB
adi.ttw_styles-1.1.tar.gz (md5) Source 2013-07-26 3KB