PyLucid CMS Logo

About the plugin config file.

page message
  • Entry for this url doesn't exist.

TODO!

There exist no info about this. But you can easy get a overview if you read the existing plugin config files ;)

↑ admin sub menu entry  #

Every plugin can insert methods into the admin sub menu since changeset 1602.

example:

Python
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
from django.utils.translation import gettext_lazy as _
...
plugin_manager_data = {
    "method_name" : {
        "must_login"    : True,
        "must_admin"    : False,
        "admin_sub_menu": {
            "section"       : _("my own plugins"), # The sub menu section
            "title"         : _("Title of the link"),
            "help_text"     : _("A help text for the admin"),
            "open_in_window": False, # Should be create a new JavaScript window?
            "weight" : 0, # sorting wieght for every section entry
        },
    },
}
0 comments for 'plugin config':
    there exist no comment for 'plugin config'
Leave a comment
tag navi config | plugin | pylucid

django-processinfo: 5.2 ms of 252.7 ms (2.0%)