How to make dataTables search file tags

This instruction is now deprecated. Please use the dataTable extension instead, which is much easier to use and comes with native search feature.

DataTables have their own search box to filter files. This only uses file meta data that is actually visivle in the table. If you want to search for file tags that are not included in the table, you have to use WP-Filebase’s search form:

Add %search_form% to your dataTables template header:

<table id="wpfb-data-table-%uid%">
<tr><th scope="col">Name</th><th scope="col">Size</th><th scope="col">Hits</th></tr>

Add the bFilter parameter when initializin dataTable in the footer:

<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function() {
"bFilter": false
} );
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

4 thoughts on “How to make dataTables search file tags

  1. coco says:
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)


    In which file can I specify the colums, which I want to Show up?

    Thanks for the info.

    1. renoovodesign says:
      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)

      Under Manage Templates menu item, click File and edit data-table template for the actual rows.
      For the column header names, click File List and edit the data-table template there.

      I’ve created a duplicate of the existing data-table template so I can mess around as much as I want.

  2. Fabian says:
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    Note that this has been replaced by an extension:

  3. omejames says:
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    Watergirl and fireboy is an interesting game these two things provided to players they move around the maze and collect the diamond click here and get the link to play it online and enjoy full on to reach the end of maze and complete the level.Thanks for this one.

Leave a Reply

Your email address will not be published.