This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A django-cms plugin with a better placeholder tag.

Unfortunately the {% placeholer %} tag of django-cms3 is not an assignment tag. This plugin adds a {% placeholder_as %} tag to address this issue.

Additionally, we also thought that it would be cool to allowed the use of any templatetag in Placeholder fields. This is extremely useful when linking via the {% url %} tag, for example.

Installation

To get the latest stable release from PyPi

pip install cmsplugin-template-placeholder

To get the latest commit from GitHub

pip install -e git+git://github.com/bitmazk/cmsplugin-template-placeholder.git#egg=cmsplugin_template_placeholder

Add cmsplugin_template_placeholder to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'cmsplugin_template_placeholder',
)

Before the new tags are available in your templates, load them by using

{% load cmsplugin_template_placeholder_tags %}

Usage

Import the tag and use it similar to the original {% placeholder %} tag:

{% load cmsplugin_template_placeholder %}
{% placeholder_as "placeholder_name" as output %}
{{ output }}

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 cmsplugin-template-placeholder
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cmsplugin-template-placeholder-0.1.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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