1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    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.