This plugin adds a list of all industries to OctoberCMS.
Your contributions to the project are very welcome. If you would like to fix a bug or propose a new feature, you can submit a Pull Request.
Like this plugin?
If you like this plugin, you can help me to develop it further, provide support for it a donation with PayPal or giving this plugin a good review.
Add Industry to any model
Then implement the Prismify.Industry.Behaviors.IndustryModel behavior in the model class:
public $implement = ['Prismify.Industry.Behaviors.IndustryModel'];
This will automatically create two "belongs to" relationships:
industry - relation for Prismify\Industry\Models\Industry
You are free to add the following form field definitions:
industry: label: Industry placeholder: -- select industry -- type: dropdown span: left
For the list column definitions, you can use the following snippet:
industry: label: Industry searchable: true relation: industry select: name sortable: false
First version of Industry List
Jan 07, 2019