![]() |
|
fzTagPlugin - 1.0.1Plugin containing behaviour, widget, modules, and what's most important: widget and validator injector. |
|
![]() |
6
users
Sign-in
to change your status |
fzTagPlugin is backported to symfony dmTagPlugin, that originally was created for Diem 5.x. Now you can easily tag every model in your app. |
fzTagPlugin is backported to symfony dmTagPlugin, that originally was created for Diem 5.x. Now you can easily tag every model in your app.
| Name | Status | |
|---|---|---|
|
|
lead | lp.ten.kyzif <<ta>> kyzif |
--------------------------------------------------------------------------------
fzTagPlugin
--------------------------------------------------------------------------------
Copyright (c) 2010 Grzegorz Śliwiński
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Version | License | API | Released |
|---|---|---|---|
| 1.2.8stable | MIT license | 1.2.0stable | 04/04/2011 |
| 1.2.7stable | MIT license | 1.2.0stable | 22/03/2011 |
| 1.2.6stable | MIT license | 1.2.0stable | 13/02/2011 |
| 1.2.5stable | MIT license | 1.2.0stable | 13/02/2011 |
| 1.2.4stable | MIT license | 1.2.0stable | 02/01/2011 |
| 1.2.3stable | MIT license | 1.2.0stable | 28/11/2010 |
| 1.2.1stable | MIT license | 1.2.0stable | 25/11/2010 |
| 1.2.0stable | MIT license | 1.2.0stable | 21/11/2010 |
| 1.1.1stable | MIT license | 1.1.0stable | 12/08/2010 |
| 1.1.0stable | MIT license | 1.1.0stable | 11/08/2010 |
| 1.0.3stable | MIT license | 1.0.0stable | 26/04/2010 |
| 1.0.2stable | MIT license | 1.0.0stable | 25/04/2010 |
| 1.0.1stable | MIT license | 1.0.0stable | 22/04/2010 |
| Version | License | API | Released |
|---|---|---|---|
| 1.2.8stable | MIT license | 1.2.0stable | 04/04/2011 |
| 1.2.7stable | MIT license | 1.2.0stable | 22/03/2011 |
| 1.2.6stable | MIT license | 1.2.0stable | 13/02/2011 |
| 1.2.5stable | MIT license | 1.2.0stable | 13/02/2011 |
| 1.2.4stable | MIT license | 1.2.0stable | 02/01/2011 |
| 1.2.3stable | MIT license | 1.2.0stable | 28/11/2010 |
| 1.2.1stable | MIT license | 1.2.0stable | 25/11/2010 |
| 1.2.0stable | MIT license | 1.2.0stable | 21/11/2010 |
| 1.1.1stable | MIT license | 1.1.0stable | 12/08/2010 |
| 1.1.0stable | MIT license | 1.1.0stable | 11/08/2010 |
| 1.0.3stable | MIT license | 1.0.0stable | 26/04/2010 |
| 1.0.2stable | MIT license | 1.0.0stable | 25/04/2010 |
| 1.0.1stable | MIT license | 1.0.0stable | 22/04/2010 |
This plugin provides similar functionality to that provided by dmTagPlugin for Diem CMF. It's in fact backported dmTagPlugin, with few tweaks more than just clearing all diem specific code:
To install plugin from symfony plugin repository run:
./symfony plugin:install fzTagPlugin
To install plugin from package, copy it to your project root's directory and run:
./symfony plugin:install fzTagPlugin-1.0.0.tgz
After installing, you have to run:
./symfony doctrine:generate-migrations-diff
./symfony doctrine:migrate
./symfony doctrine:build --all-classes
Now you're ready to configure and use tags for your project
Some basic configuration is being done automaticlly:
To add taggable behaviour to your model edit your schema.yml file:
/config/doctrine/schema.yml
Model:
actAs:
#Other behaviours
fzTaggable:
#Other behaviours
columns:
#Columns
After adding behaviour run:
./symfony doctrine:generate-migrations-diff
./symfony doctrine:migrate
./symfony doctrine:build --all-classes
Here are settings for fcbkcomplete script that can be set for per app basis:
all:
fzTagPlugin:
fcbkcomplete: # options to pass to the jQuery.fcbkcomplete plugin
# see http://www.emposha.com/javascript/fcbkcomplete.html
newel: true # show typed text like a element
filter_case: false # case sensitive filter
filter_hide: false # show/hide filtered items
maxshownitems: 30 # maximum numbers that will be shown at drop-down list (less better performance)
maxitems: # maximum item that can be added to the list
firstselected: false # automatically select first element from drop-down
complete_text: "Start to type..."
