1. Fabrik 3.7 is now available. This version contains critical security updates, please update as soon as possible. Please remember to backup your site before updating, we also recommend testing your updates on development sites if possible.
  2. We had to restore the site around midday (CST) on Wed 7/26 from a backup approximately 8 hours old. So a few posts in the forums were lost. You may want to check to see if you need to re-post anything.
  3. The release of Fabrik for J! 3.8 is not yet ready. Do not update your sites to J! 3.8 until this notice is removed.

Tags element

Sep 20, 2016
Tags element

  • Introduction(top)


    NOTE you must enable "Enhanced Dropdowns" in the Forms tab of the Fabrik global options (button top right of Fabrik backend) in order to use the Tags element, as it requires the "chosen" JS library to be included.

    By default, this element syncs in with Joomla's tags system. They can be managed via Joomla's core Tags component.

    While default table is #__tags, there is also possible to choose a custom table for separate tags. But ATM it has no field mapping so the table should have at least the following fields:
    `id` int(10) UNSIGNED NOT NULL,
    `parent_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
    `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
    `path` varchar(255) DEFAULT NULL,
    `title` varchar(255) DEFAULT NULL,
    `alias` varchar(255) DEFAULT NULL,
    `published` tinyint(1) NOT NULL DEFAULT '0',
    `created_user_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
    `created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
    `language` char(7) DEFAULT NULL,
    `version` int(10) UNSIGNED NOT NULL DEFAULT '1',

    and indexes on (`published`,`access`), `access`,
    , `path`, `alias`, `language`.

    You can also just copy Joomla core tags table.

    Options(top)



    element-tag.png
    • Tag icon - A bootstrap class name that if assigned will add a icon before each tag entry in the list and details view.

    Examples(top)


    Form view(top)

    element-tag-frontend.png
    This is an example of the element in use in a form.

    element-tag-frontend-ajax.png
    Here we can see the ajax auto-complete has found a tag 'newone', based on the search 'new'. Clicking on the result or pressing enter will add the tag to the list of selected tags.

    Detailed view(top)


    element-tag-frontend-detailed.png

    As in the list view, tags are links which when clicked on filter the currently list view based on the tag.
  • Loading...