Develop Plone Add ons¶
To develop an add-on, you need a package to put your code in, plus ways to make it interact with Plone itself and the user. And a way to release your package to your audience.
In short:
Create a package¶
With the help of Mr.Bob and templates for plone, that is quickly done:
Deprecated since version may_2015: Using Paster/Zopeskel is possible, but deprecated
Develop with Dexterity¶
Dexterity is covered in detail in the Dexterity Developer Manual, which includes an extensive tutorial on setting up a Dexterity development environment.
Add your package to buildout¶
Edit your
buildout.cfg
file to add the package to your
egg
list and your
develop
list. Run buildout.
Releasing your package¶
Working with Javascript¶
-
Javascript
- Introduction
- Plone default Javascript libraries
- Creating Javascripts for Plone
- Executing Javascript code on page load
- Registering javascripts to portal_javascripts
- Popup overlays and forms
- Messages and translation
- Passing dynamic settings to Javascripts
- Generating Javascript dynamically
- Upgrading jQuery
- Having multiple jQuery versions (noConflict)
- Loading Javascript files for certain edit views only (to be used with widgets)
- Converting page links to pop-up windows
- AJAX-y view loading
- Checking if document is in WYSIWYG edit mode
- Image hovers
- Disabling KSS
- Javascript coding conventions
- AJAX
Background¶
Example¶
Also make sure to check out the Training material