Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    django-cms-fragments 0.0.4

    Download button

    No screenshots available
    Downloads: 102  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mauro Bianchi | More programs
    BSD License / FREE
    March 29th, 2012, 22:04 GMT [view history]
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-cms-fragments description

    Injecting fragments of JavaScript, CSS and HTML in a django-cms plugin

    django-cms-fragments is a django-cms plugin that allows you to include several fragments of JavaScript, CSS and HTML in the context of a cms page. Fragments can be added by uploading a file, providing an external url(for js and css), or writing inline code.

    The plugin basically adds jss and js to the page, using sekizai tags. It relies on the fact that django-cms requires "js" and "css" blocks to work. The html fragments are rendered within the plugin template.

    This package is in an alpha stage, don't use it in production. I will hopefully provide a more stable version very soon.

    I created the project because i didn't want to have to modify my cms installation by adding templates or app_hooks for displaying rich visualizations such as Openlayers Maps or jQplot charts. Another use of the plugin is overriding some css in a particular cms page.

    Installation

     Install via pip:

     pip install django-cms-fragments

     Add 'cms_fragments' to your INSTALLED_APPS

     Use 'django.contrib.staticfiles', or copy the static subfolder of django-cms-fragments to your static folder

    Usage

    To use the plugin, you must create some Fragment or FragmentCollection instances with the Django admin. FragmentCollections are a collection of Fragments. Once you have one or more Fragments or FragmentCollections in the DB, you can choose which one to put in a plugin, with the usual django-cms interface.


    Product's homepage

    Requirements:

    · Python
    · Django
    · django-cms

    What's New in This Release: [ read full changelog ]

    · FragmentCollection and Fragment models, with admin integration
    · FragmentPlugin and FragmentCollectionPlugin for django-cms
    · css fragments from files, url or inline code
    · js fragments from files, url or inline code
    · html fragments from files or inline code
    · integration with ace editor
    · ordering of elements in a FragmentCollection

      


    TAGS:

    django-cms plugin | django-cms fragments | Django | django-cms | fragments

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM