wesleyboar / Core-CMS-Plugin-Callout

A DjangoCMS plugin (for TACC Core CMS) to render a "callout" a.k.a. "call to action".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Archived — Replaced by TACC/Core-CMS#427


Texas Advanced Computing Center

Django CMS Plugin: "Callout"

This plugin renders a "callout" a.k.a. "call to action".

  • __dist-name__: djangocms-tacc-callout
  • __package_name__: djangocms_tacc_callout
  • __ClassName__: TaccsiteCallout
  • "Plugin Name": "Callout"

Quick Start

  1. Follow https://github.com/tacc-wbomar/Core-CMS-Plugin/wiki/Core-CMS-Plugin-Usage-Quick-Start.

Usage

  1. Add instance of plugin to a page.
  2. Configure the plugin instance.
  3. (Optional) Add and nest plugin instances to support extra content.
  4. See plugin render content that matches configuration (and nested plugin instances).

Features

  1. Renders title and descritpion in a highlighted block.

  2. Renders supported, nested plugin instances to incorporate extra content.

    content supported by
    image djangocms-picture

Caveats

  1. Requires djangocms_link.*

  2. The "Advanced settings" field "Resize any image to fit" causes image in page preview to disappear after saving the plugin.

    This is because of a JavaScript race condition. Using a server-side solution would eliminate this caveat. See TACC/Core-CMS#327.

    The issue is called out in the admin form using user-oriented language.

  3. Control over image cropping is not supported through the admin form.

    Cropping options could be implemented via CSS or a feature of https://github.com/django-cms/django-filer. For details, see TACC/Core-CMS#329.

* Support is mandatory and plugin is assummed, so plugin is required. This could change in a future release.

About

A DjangoCMS plugin (for TACC Core CMS) to render a "callout" a.k.a. "call to action".

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 54.4%Language:CSS 18.9%Language:JavaScript 17.4%Language:HTML 9.3%