{ "info": { "author": "Jacob Rief", "author_email": "jacob.rief@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "cmsplugin-text-wrapper\n======================\n\nA Django CMS plugin which extends and replaces the shipped text plugin with\nsimple wrapper functionalities.\n\nDescription\n-----------\n\nThis plugin adds a simple wrapping functionality to the text plugin shipped with\ndjango-cms. By adding this plugin, an editor may optionally choose a predefined\nwrapper, which is rendered as template around the current content. This is\nespecially useful when working with predefined grids such as http://960.gs\n\nThis plugin is fully compatible with the default text plugin and offers all of\nthe current functionality. It shall therefore be used to replace the default\ntext plugin. It works together with both, the WYEditor as well as with the \nTinyMCE editor.\n\nDependencies\n------------\n\n* Django >= 1.3\n* django-cms >= 2.3\n* South >= 0.7\n\nInstallation\n------------\n\nadd the plugin to ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ...\n 'cmsplugin_text_wrapper', # alternative to 'cms.plugins.text'\n ...\n )\n\nand remove ``'cms.plugins.text'`` from ``INSTALLED_APPS`` if configured.\n\nThen run ``manage.py migrate cmsplugin_text_wrapper`` to update your database\ntable ``cmsplugin_text``. This adds a column named ``wrapper`` and keeps\neverything caompatible.\n\nIn case you set up a new instance of DjangoCMS, the migration scripts will\nlook for a table named ``cmsplugin_text`` and if it does not exists, create\nit.\n\nRestart your application. You may use all your text fields in exactly as before.\nThey then are marked for not using any wrapper and are rendered as before.\n\nUsage\n-----\n\nIn your ``settings.py`` add a tuple of tuples such as::\n\n\tCMS_TEXT_WRAPPERS = (\n\t ('', {\n\t 'render_template': '