Plugin Development
5 articles and 4 prompts on this topic.
-
TutorialBeyond Behaviors - Part 3: Implementing a nested relationship
In this example we'll take what we've learned and apply it to a realistic scenario; let's build a nested relationship manager.
-
TutorialBeyond Behaviors - Part 2: Rendering Lists and Forms by hand
Now that we understand the MVC pattern used in October, let's work on rendering forms and lists.
-
TutorialBeyond Behaviors - Part 1: How MVC works in October CMS
Behaviors are a fantastic tool for making things easy in the back-end. They introduce configurable and reusable patterns to base classes, such as models and controllers.
-
TutorialExtending the User plugin
A programmers guide on adding extra fields to the RainLab.User plugin.
-
TutorialBuilding a simple weather plugin
In this tutorial we will describe the process of building a simple Weather plugin. It demonstrates the basic principles of October extensibility. The weather information is loaded from Open Weather Map.
Prompts
-
PromptConvert PHP language files to JSON translations
Use it to move a plugin from PHP language files to JSON translations, with every language key in the code replaced by its string and each language carried across.
-
PromptRefactor plugin migrations into structure and patches
Use it to turn a long list of migration scripts into one structure file per table plus versioned patches, without changing the schema on new or existing installs.
-
PromptRename a plugin to a new author and name
Use it to give a plugin a new author or name, with every namespace, table, code and path renamed, and a command that carries existing data across when sites already have it installed.
-
PromptScaffold a plugin with a backend list and form
Use it to start a new plugin that manages records in the backend, with the model, migration, list, form and permission set up for you.
Still need help?
For bug reports and help with this website. See the roadmap or submit an idea on the Portal.