Table Of Contents

Previous topic

Plugin Class

Next topic

Other Included

This Page

Main Built-in

Djpcms ships with some built-in plugins two of which are special since their behaviour depends on instances of djpcms.views.appview.AppViewBase, the base class for application views.

ThisPlugin

class djpcms.plugins.ThisPlugin

Current view plugin. This plugin render the current view only if it is an instance of djpcms.views.appview.AppViewBase. For example if the current view is a djpcms.views.appview.SearchView, the plugin will display the search view for that application.

ApplicationPlugin

class djpcms.plugins.ApplicationPlugin(app, name=None, description=None)

Plugin formed by djpcms.views.appview.AppViewBase classes which have the djpcms.views.appview.AppViewBase.isplugin attribute set to True.

For example, lets say an application as a djpcms.views.appview.AddView view which is registered to be a plugin, than it will be managed by this plugin.

Text Plugin

class djpcms.plugins.text.Text

The text plugin allows to write content in a straightforward manner. You can use several different markup languages or simply raw HTML.

form

alias of ChangeTextContent

Soft Navigation

class djpcms.plugins.defaults.SoftNavigation

Display the site navigation from the closest “soft” root for a given number of levels.