etaginputwidget This input widget provide tag input widget

ETagInputWidget v.0.0.1

ETagInputWidget - is input widget for input where you need to place multiple tags for model instance.


I made it for my own purposes, I know it not pretty good, and I want to improve it in future. For now it only send the strings with tags names. In future I want to make it work with objects(or with Tag id`s)

Basic usage:

1) Download the extension and place it in extensions directory;

2) In your form view place this piece of code:

        'model'     => Genres::model(),
        'attribute' => 'name',

3) Then in controller:

$tags = explode(',', $_POST['tags_submit_field']);

And you able to save it in some attribute.


0 0
1 follower
Yii Version: 1.1
License: MIT
Category: User Interface
Developed by: panzer_commander
Created on: Mar 12, 2015
Last updated: 7 years ago


show all

Related Extensions