669

Product support

Get help in the plugin support forum.

  • Added on Jan 7, 2019
  • Current version: 1.0.1
  • Platform Compatibility
    v3.x not tested
    v2.x not tested
    v1.x use latest
  • Created by
  • Public repository

Categories

Introduction

This plugin adds a list of all industries to OctoberCMS.

Open to your Ideas!

Let us know if you have any questions, ideas or suggestions! Just drop a line at support@prismify.org.

Developed by Algoriq.

Add Industry to any model

$table->integer('industry_id')->unsigned()->nullable()->index();

Then implement the Prismify.Industry.Behaviors.IndustryModel behavior in the model class:

public $implement = ['Prismify.Industry.Behaviors.IndustryModel'];

This will automatically create one "belongs to" relationships:

industry - relation for Prismify\Industry\Models\Industry

Back-end usage

Forms

You are free to add the following form field definitions:

industry:
    label: Industry
    placeholder: -- select industry --
    type: dropdown

Lists

For the list column definitions, you can use the following snippet:

 industry:
     label: Industry
     searchable: true
     relation: industry
     select: name
1.0.1

First version of Industry List

Jan 07, 2019