Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 3.17 KB

README.rst

File metadata and controls

113 lines (75 loc) · 3.17 KB

plonetheme.drupal

plonetheme.drupal is an installable Plone Theme using plone.app.theming, based on the default Sunburst Plone theme.

Strongly inspired by the Drupal theme Bartik (default theme in Drupal 7), this theme may help sell Plone to PHP guys ;)

To be installed before any demonstration to an audience of Drupal followers ;) !

Do you want to learn more about Plone versus Drupal ? Install this theme and visit http://<your-plone-site>/@@plone-versus-drupal

Plone Theme Drupal Screenshot

Add plonetheme.drupal to your plone.recipe.zope2instance buildout section's eggs parameter e.g.:

[instance]
eggs =
    Plone
    ...
    plonetheme.drupal

Or, you can add it as a dependency on your own product setup.py:

install_requires=[
    ...
    'plonetheme.drupal',
],
Install the theme from the Add-ons control panel. That's it!

Download plonetheme.drupal and use virtualenv and buildout to test the theme:

easy_install virtualenv
cd plonetheme.drupal
virtualenv .
source bin/activate
(plonetheme.drupal) easy_install zc.buildout
!!! check the buildout config file ``test-plone-base.cfg`` before running !!!
(plonetheme.drupal) ln -s test-plone-4.2.x.cfg buildout.cfg
(plonetheme.drupal) python bootstrap.py
(plonetheme.drupal) bin/buildout
[...] be patient... [...]
(plonetheme.drupal) ./bin/instance fg

Go to http://localhost:8080, add a new Plone Site and install plonetheme.drupal

Launch tests:

(plonetheme.drupal) ./bin/test -s plonetheme.drupal

Launch code coverage:

(plonetheme.drupal) bin/coverage
(plonetheme.drupal) bin/report
And open with a browser htmlcov/index.html

Source code is hosted on Github.

Source code and an issue tracker is hosted on Github.