Behavior sub-templateΒΆ
Description
Adding a custom Behavior to an existing add-on package.
With this sub-template
, you can add a Behavior to a Plone package.
First create a Plone add-on package:
mrbob -O collective.todos bobtemplates.plone:addon
then change into the created folder collective.todos
and create your Behavior:
mrbob bobtemplates.plone:behavior
It will ask you about the name of your Behavior class.
You will find the created behavior in the behaviors folder. You need to add the concrete code to your Behavior.