1. If you update to Joomla 3.8.10, please make sure that you either do a full GitHub update of Fabrik, or disable caching for your lists (in the Advanced settings) or turn off Joomla's System Cache setting. A change in Joomla's cache code in 3.8.10 required a fix in Fabrik, which will be rolled in to the next release, but is currently only available in GitHub.
    Dismiss Notice
  2. We will be performing an update of XenForo (the forum software use on this site) this afternoon, Fri 8/17/2018. The forums will be unavailable for a (hopefully!) short time.
    Dismiss Notice

Thumbs element

Mar 10, 2014
Thumbs element

  • Front end list view (top)


    Clicking on the thumbs will toggle the registration of your vote

    If the up/down thumbs are coloured (as in the case above) this indicated you have already registered your vote.

    Votes are stored in the database table #__fabrik_thumbs

    Voters can be anonymous or registered.

    Front end form view (top)


    Settings (top)

    • Show down thumb - Can the user down vote the record
    • Rate in form - Users can always rate in the table view and details view, If this option is set to yes then the user can additionally rate in the form
    • No access message - text to show if the user doesn't have the access rights to rate the record.

    Pre-filter on favourites(top)

    You may want to show the user a pre-filtered list of items which they have liked. The easiest way to do this is to create a new menu item, pointing to the Fabrik list which uses the thumbs element. Once saved, re-edit the menu item and in the "Fabrik list options" tab, press the "prefilter" button and add a record as follows:

    • Element: id (the list's primary key)
    • Condition: IN
    • Value: (replace the 8 with the list's form's id)
    Code (Text):

    SELECT row_id FROM `#__fabrik_thumbs` where user_id = '{$my->id}' and formid = 8 and thumb = 'up'
    • Type: query
    • Access: public
  • Loading...
schacke likes this.