Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tagging UI doesnt allow new tags added on the fly #9

Open
cam-findlay opened this issue Sep 17, 2012 · 3 comments
Open

New tagging UI doesnt allow new tags added on the fly #9

cam-findlay opened this issue Sep 17, 2012 · 3 comments

Comments

@cam-findlay
Copy link
Contributor

I do like the new tag box on the Article but this requires that tags are created before use which from a content management and user experience point of view isn't perhaps a good thing.

Is there a way to allow the ListboxField to be writable and turn a comma separated list into entries that are saved back into our tag objects?

@dospuntocero
Copy link
Owner

no idea how to do it... i will have to dig into this a lot more...

@dospuntocero
Copy link
Owner

hey cam, look at this module! https://github.com/sheadawson/silverstripe-quickaddnew

@aznain
Copy link

aznain commented Aug 24, 2013

Dependency on silverstripe-quickaddnew module should be written in ReadMe section.

Install silverstripe-quickaddnew [Ensure folder name is "quickaddnew" not "addnew" as error message tells you]

Then at Line 117 in Code->DataObjects->DOArticle.php

Replace $addtags->useAddNew('DOTag',$MyTags());

with

$addtags->useAddNew('DOTag',$MyTags); [note $MyTags are without parenthesis.]

Then you will be able to add new tag on the fly.

In order to create new tag, Click add "Add New" button, A popup will appear, Give new tag name then It will be shown in Tags field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants