Git Product home page Git Product logo

cmsplugin-text-ng's People

Contributors

beniwohli avatar czpython avatar kristianoellegaard avatar magicjohnson avatar mbi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cmsplugin-text-ng's Issues

Does not work on django 1.7

AppRegistryNotReady

This will stop us from upgrading the project to Django 1.7 which is the latest stable release, or we have to drop cmsplugin-text-ng :(

template storage...

It would make a lot of sense to have the templates defined in a setting, not in the database:

  • Less SQL queries
  • To add templates, one needs to update the template folder anyway (server restart, deployment etc) so no real reason to have it in the db
  • The DB backed solution is more prone to errors (renaming templates, typo in template path, ....)
  • Makes deployment harder, since after adding a template one has to log into admin and add the template there

Where do I add new templates?

Your documentation says

"Create some templates (more on that soon) and add them in the admin."

You put the examples of the templates but I don't know where to add the files. I tried all sorts combinations of templates, admin and cmsplugin-text-ng; but the selector of the template is always empty

classytags?

The define template tag would be useful as classy-tag, so it can be subclassed. agreed?

Duplicate functionality that should be retought

In general the idea for having template-backed plugin with input fields seems nice, but if you look at it from a distance you see, that you are doing the same thing on the "content"-level as django-cms is doing on the "page"-level (select a template and put plugins/input fields in it). From this point of view it seems that the plugin is trying to reinvent something pretty similar django-cms already has and it would probably be better to reuse it's functionality... Think about it.

Anyway I would like to point out that the plugin could be redesigned to be a simple template layer that would allow to have slots in which subplugins could be inserted. Just like the text plugin can insert a link plugin, this template plugin could insert one or more text, image and other plugins. This way funcionality of plugins wouldn't be duplicated and each one could reused and improved to do it's job well (DRY principle).

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.