58

Product support

Visit this product's website for support.

Categories

Usage

To add a switch column to a list; set the type of the column to inetis-list-switch.

Example:

your_column:
    label: 'Your Label'

    # Define the type as "inetis-list-switch" to enable this functionality
    type: inetis-list-switch

    # Whether to use ✓/✗ icons to replace the Yes/No text (default: true)
    icon: true

    # Overrides the title displayed on hover over the column
    titleTrue: 'Unpublish item' # (default: 'inetis.listswitch::lang.inetis.listswitch.title_true')
    titleFalse: 'Publish item' # (default: 'inetis.listswitch::lang.inetis.listswitch.title_false')

    # Overrides the text displayed on the button
    textTrue: 'Published' # (default: 'inetis.listswitch::lang.inetis.listswitch.text_true')
    textFalse: 'Unpublished' #(default: 'inetis.listswitch::lang.inetis.listswitch.text_false')

Video tutorial

https://watch-learn.com/october-tips/list-switch by Ivan Dorić

  • Found the plugin useful on 20 Dec, 2021

    Works perfectly! And superfast to setup

  • Found the plugin useful on 12 Oct, 2020

    Excellent plugin! But be careful: Don't use the 'switch' option for the list model with builder after inserting the inetis-list-swith into the yaml file by hand. Would be great to use list-switch inside builder!

  • Found the plugin useful on 3 Sep, 2018

    Awesome plugin!

  • Found the plugin useful on 28 Jun, 2017

    Thank you! Works perfect

1.1.0

Add support for lists in relation widget inside a form

Jan 10, 2023

1.0.4

Add a composer.json file

Sep 08, 2022

1.0.3

Preserve column configs

Oct 17, 2019

1.0.2

Display correctly the column label

Jun 19, 2017

1.0.1

First version of listSwitch

Jun 15, 2017