Tag input

Experimental ::: datafield_tag
Maintained by Andrew Hancox
The database tags field creates tags from comma separated text, similar to the way that Moodle generates tags from the 'Interests' field in the User Profile, but specifically for the database activity. When a record is displayed these are hyperlinked and when clicked will display a filtered search result based on the tag value.
Latest release:
38 sites
2 fans
Current versions available: 1

How do I get set up?

Place the files into mod/data/field/tag and run notifications.

Due to limitations in the database activity you will need to run the installhacks script which copies an image and language string into the core mod_data code. You can do this by typing:

php mod/data/field/tag/cli/installhacks.php

at the command line.

One the plugin is installed if you go to MOODLESITEROOT/mod/data/field/tag/migrate/migrate.php you will be able to choose checkbox database fields that you wish to migrate over.

block_databasetags, filter_databasetagcloud, datafield_linkedcheckbox and datafield_tag were created specifically for a resource database which can be seen at http://practicelearning.info/course/view.php?id=10. It was commissioned and funded by Focused on Learning, and coded and maintained by Andrew Hancox. We are certain this will be of use to others so we are contributing this development back in to the Moodle community


Andrew Hancox (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Tue, Oct 13, 2015, 12:16 AM
  • David Mudrák
    Wed, Nov 11, 2015, 9:29 PM

    Thanks Andrew for this interesting extension of the Database activity module. And thanks for pointing that out there is quite an annoying limitation in the database fields API in terms of the expected location of the name strings! That is clearly a bug and we should deal with it.

    As per our policy, I had to move the plugin into the Experimental category as it required post-installation modification of the core code (even though it is a bit unfair as it's not your fault). I'll be happy to help with fixing the upstream support for contributed fields so that we can move the plugin back to the proper category.

    Please note I reported some other issues into your tracker which I hope you will be able to sort out in a future update of the plugin. For now, you are cleared to land. Welcome to the Plugins directory!

  • Jon Bolton
    Mon, Feb 13, 2017, 9:27 PM
    Can this and the Linked Checkbox plugin be moved into the database category now? I think the issues have been addressed in core.
  • William Lu
    Tue, Jan 23, 2018, 4:11 AM
    Very useful, thanks to Andrew.
Please login to post comments