Template overrides for DjangoCMS plugins when used with AngularJS
Project description
djangocms-angular-compendium
============================
A collection of templates to be used for overriding existing templates from various DjangoCMS
plugins, when running with the AngularJS framework.
Currently these templates are overridden:
* ``cmsplugin_filer_image/image.html``: Replace tag ``<img src="...">`` against ``<img ng-src="...">``.
This is required by the AngularJS [ngSrc](http://docs.angularjs.org/api/ng.directive:ngSrc)
directive.
* ``cms/plugins/bootstrap/carousel.html`` and ``carousel-slide.html``: Replace the Carousel HTML
code with a variant running with the [Angular UI Bootstrap](http://angular-ui.github.io/bootstrap/#/carousel)
library.
Installation and configuration
------------
From PyPI::
pip install djangocms-angular-compendium
In your project's settings, add ``angularjs_compendium`` to ``INSTALLED_APPS``. Check that this
entry is located before any DjangoCMS plugin entry::
INSTALLED_APPS = (
...
'angularjs_compendium',
...other DjangoCMS plugins
...
)
License
-------
Released under the terms of MIT License.
Copyright (C) 2013, Jacob Rief <jacob.rief@gmail.com>
============================
A collection of templates to be used for overriding existing templates from various DjangoCMS
plugins, when running with the AngularJS framework.
Currently these templates are overridden:
* ``cmsplugin_filer_image/image.html``: Replace tag ``<img src="...">`` against ``<img ng-src="...">``.
This is required by the AngularJS [ngSrc](http://docs.angularjs.org/api/ng.directive:ngSrc)
directive.
* ``cms/plugins/bootstrap/carousel.html`` and ``carousel-slide.html``: Replace the Carousel HTML
code with a variant running with the [Angular UI Bootstrap](http://angular-ui.github.io/bootstrap/#/carousel)
library.
Installation and configuration
------------
From PyPI::
pip install djangocms-angular-compendium
In your project's settings, add ``angularjs_compendium`` to ``INSTALLED_APPS``. Check that this
entry is located before any DjangoCMS plugin entry::
INSTALLED_APPS = (
...
'angularjs_compendium',
...other DjangoCMS plugins
...
)
License
-------
Released under the terms of MIT License.
Copyright (C) 2013, Jacob Rief <jacob.rief@gmail.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for djangocms-angular-compendium-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6eed04f7df8bb06dc9f2681b37a316e45b992d7f10c5af274bd2fa854d5d3b8 |
|
MD5 | a07976bf3a74e3c66c46607483c69b9f |
|
BLAKE2b-256 | 7bfb92969cd30898dfe585b7730fcfac4a0bf44ab7fb3da8545b75683c7e59af |