Skip to main content

Get all the power of Drupal for Plone ;)

Project description

Overview

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

Requirements

Installation

Getting the theme

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',
],

Enabling the theme

Install the theme from the Add-ons control panel. That’s it!

Quickly test ?

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

Credits

Source code

Source code is hosted on Github.

Changelog

1.1 (2012-10-05)

  • Tests with Plone 4.2 and 4.3.
  • Fix urls for images in theme.css to work on debug mode and… production mode !
  • Update tests, add some test buildouts and code coverage.

1.0.1 (2012-06-11)

  • Add a basic test and a dedicated buildout.cfg.

1.0 (2012-06-06)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plonetheme.drupal-1.1.zip (224.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page