Git Product home page Git Product logo

cmsplugin-porticus's Introduction

cmsplugin_porticus

This is the DjangoCMS plugins for Porticus to embed Album or Galleries in a cms page.

Links

Requires

  • Django >= 1.7;
  • DjangoCMS >= 3.3;
  • Porticus >= 1.0.0 (for Porticus < 0.9 and so for DjangoCMS 2.x use the plugin version <0.2 from the branch djangocms_2);

Warning: Since 0.3.0, database migration has been switched to Django 1.7 migrations system and South support has been dropped. The South migration files are still there but moved to south_migrations, resulting in you need south==1.x to use them. This is only needed if you need to migrate project datas to the last Porticus version, you don't have to care about this if you just start a new project.

Last release version compatible with Django <= 1.6 + DjangoCMS 3.0 and Porticus 0.9 is still available on branch django_1-6.

Optional

  • South migration is supported;

Install

In your INSTALLED_APPS setting :

INSTALLED_APPS = (
    ...
    'cmsplugin_porticus',
    ...
)

Then add its settings :

from cmsplugin_porticus.settings import *

See the plugin settings.py file to see what settings you can override.

Usage

Once installed you can insert porticus Galleries or Albums in your page through the CMS toolbar. Each Porticus content in your pages can use a template from the defined ones in your settings.

For Album cloud tags if enabled, you will need to do some CSS to manage size diff between tags, class name start from tag-size-1 to tag-size-XXX where XXX is equivalent to settings.PORTICUS_ALBUM_PLUGIN_CLOUD_STEPS value (default is 6). Cloud tag html lives inside porticus/cms/album_detail.html.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.