Skip to main content

A Plone 3.0 theme for FUI

Project description

Plone theme written for Fagutvalget ved Institutt for informatikk (http://fui.ifi.uio.no). The theme is available at these addresses:

The only file I have modified from the default plone3 theme, except some minor adjustments to setup.py and main_template.pt, is plonetheme/fui/browser/stylesheets/main.css. I have simply inspected the xhtml source produced by plone, and made the CSS by the trial and error method.

Install

You can install this theme in Plone using buildout.

  1. Add plonetheme.fui to buildout.cfg:

    [buildout]
    ...
    eggs =
        ...
        plonetheme.fui
    
    [instance]
    ...
    zcml =
        ...
        plonetheme.fui
  2. Run (maybe backup first..):

    ~$ buildout -n
  3. Install the plugin using Site Setup in your Plone site.

  4. Add the following lines at the end of the Styles box in Site setup --> Visual editor --> Config:

    Image float left|img|float-left
    Image float right|img|float-right
    Bordered image float left|img|bordered-float-left
    Bordered image float right|img|bordered-float-right

(5.) Add the following styles to the FCKeditor styles:

<Style name="Image float left" element="img">
  <Attribute name="class" value="float-left" />
</Style>
<Style name="Image float right" element="img">
  <Attribute name="class" value="float-right" />
</Style>
<Style name="Bordered image float left" element="img">
  <Attribute name="class" value="bordered-float-left" />
</Style>
<Style name="Bordered image float right" element="img">
  <Attribute name="class" value="bordered-float-right" />
</Style>

Code syntax highlighting

The theme loads prettify.js (http://code.google.com/p/google-code-prettify/). Add the prettify class to your <pre> blocks to get syntax hightlighting.

For developers

Release a new version to pypi.python.org with:

~$ python setup.py egg_info -RDb "" sdist upload

You can run plone in the foreground with:

~$ plonectl fg

Note that resources are not added unless you reinstall the product.

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.fui-2.2.tar.gz (39.4 kB view details)

Uploaded Source

File details

Details for the file plonetheme.fui-2.2.tar.gz.

File metadata

File hashes

Hashes for plonetheme.fui-2.2.tar.gz
Algorithm Hash digest
SHA256 1e4db92d8a74597b207c17d044974dc9a6f1a4c31bcb40b5e006af76c6c74d2f
MD5 4d0d8f54312ceaa91ec0fd49901af6c1
BLAKE2b-256 c8667f4c6deecd725b9060b1dfa4e05b4c42929abe3bbe94bd07535c58f1d980

See more details on using hashes here.

Supported by

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