This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A django-cms plugin which allow you to edit css background image or color from the edit mode

Project Description

Description

djangocms-css-background is a django-cms plugin which allow you to edit css background image or color from the edit mode

Installation

  • use pip pip install djangocms-css-background
  • Syncronize the models: python manage.py syncdb (with south or django 1.7 use migrations)
  • Put in your INSTALLED_APPS: INSTALLED_APPS += ('djangocms-css-background', )

Usage

you can define your template like this:

{% load placeholder_attr %}

<div style="{% placeholder_attr 'My Background Css Placeholder' 'CssBackground' 'css_background' %}">
  {% placeholder 'My Background Css Placeholder' %}
</div>

remember to set the same name of a placeholder in the placeholder_attr name parameter.

after that set the provide a CSS Background plugin for this placeholder, and chose an image, or set rgb or rgba for a colored background

Release History

Release History

This version
History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.1b

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
djangocms-css-background-1.0.4.tar.gz (4.0 kB) Copy SHA256 Checksum SHA256 Source Oct 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting