Coder Social home page Coder Social logo

plonetheme.drupal's Introduction

plonetheme.drupal

Table of Contents

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

Screenshot

Plone Theme Drupal Screenshot

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.

How to contribute and submit a patch ?

Source code and an issue tracker is hosted on Github.

plonetheme.drupal's People

Contributors

sylvainb avatar

Stargazers

 avatar Sean Chen avatar

Watchers

Leonardo J. Caballero G. avatar  avatar James Cloos avatar

Forkers

plone-ve

plonetheme.drupal's Issues

plonetheme.drupal does not work when copied & modified

I installed plonetheme.drupal V1.1 on a new Plone 4.3.2 site using buildout.
The system is running on a Debian 7 server. In the Diazo theme editor I
created a copy of the theme to be able to modify it. The modifications to the
theme.css file work fine when the site is running in foreground (debug) mode.
When I run the site in production mode, the css falls back to plone default.

When I look into the ZMI / portal_css, I notice that the modified theme.css is
marked as "resource not found or not accessible". This is also seen when
running in debug mode.

As a workaround suggested by Sylvain Boureliou, I created a css file in my portal_skins/custum directory and added an entry into portal_css. This works so far. For this approach I had to deactivate my modified theme in the theme editor and reactivate the original plonetheme.drupal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.