Skip to main content

An installable theme for Plone 4 that uses a fluid grid system

Project description

Introduction

Responsive theme is made for Plone 4+ and can be used in two ways.

  1. You can install this as a regular theme. It is in reality Sunburst Theme but readjusted to be responsive to screen sizes. Don’t uninstall “Plone Classic Theme” that gets installed when you make a new Plone site. It is needed for some of the page templates

  2. You can use this as a base theme much like “Sunburst Theme” or “Plone Classic Theme” when you create your new theme.

    1. The most important step if you want to do this is to change your skins.xml file. For example say you made your theme product and called it “plonetheme.foo”, you would go to plonetheme.foo/plonetheme/foo/profiles/default/skins.xml. In the line that says:

      <skin-path name="Foo Theme" based-on="Sunburst Theme">
      gets changed to::
      <skin-path name="Foo Theme" based-on="Responsive Theme">
    2. The next step is to make sure that the Responsive Theme gets installed when you install your new theme on multiple themes. There are two files to edit in your theme.

      1. First file can be found at plonetheme.foo/setup.py. Edit this line:

        ...
        setup(
            ...
            install_requires=[
                'setuptools',
                'plonetheme.responsivetheme'
                # -*- Extra requirements: -*-
            ],
            ...
        )
      2. Second file can be found at plonetheme.foo/plonetheme/foo/profiles/default metadata.xml. It should look something like this:

        <?xml version="1.0"?>
        <metadata>
          <version>1</version>
            <dependencies>
                <dependency>profile-plonetheme.responsivetheme:default</dependency>
            </dependencies>
        </metadata>

Changelog

1.0 (2010-05-26)

  • Initial release

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page