~/talk

Adding Custom Control Panels to Your Plone Add-On

Talkat Python Web Conf 2021 · 2021-03-22..03-26· [python]
slides:none on file

Adds a Plone add-on control panel by registering schema records in registry/main.xml, defining a zope schema in settings.py and wiring a form subclassing RegistryEditForm plus a view wrapped with plone.z3cform layout. Handles images with an image widget factory so uploaded banners can be changed or deleted, stores values visible in the registry, and reads them via plone.api.get_registry_record. Demonstrates a theme utility and a dynamic CSS view that replaces @color tokens so banner, placement and colors update live on Plone 5.2.4.

AI-written summary · about

  1. 0:00Start
  2. 1:09Why Use a Custom Control Panel
  3. 2:59Why Custom Control Panels
  4. 3:34Demo
  5. 4:12Custom Theme Settings
  6. 4:40Add a Banner
  7. 6:46Adding Records to the Registry
  8. 10:09Register Custom Theme Browser Settings
  9. 10:37Inspect the Record Values
  10. 11:19Adding the Control Panel Form
  11. 14:15Portal Control Panel
  12. 15:02Set Your Permissions
  13. 15:15Permissions
  14. 15:59Define Widget Factories
  15. 16:55Widget Factory
  16. 18:49Theme Package
  17. 26:21Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.