Support » Plugin: TablePress » Filter functionality

Viewing 15 replies - 1 through 15 (of 37 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi Karol,

    thanks for your post.

    I’m not exactly sure what you mean by “filter” in this context. Do you have an example or screenshot, to make sure that we are on the same page?

    Do you maybe mean something like on this website: http://datatables.net/release-datatables/examples/api/multi_filter_select.html

    Regards,
    Tobias

    Hi
    Yes, that’s exactly what I am looking for. Menus preferably at the top.
    Now my the question would be:
    – how to implement it?
    Cheers
    Karol

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Karol,

    so, you’d like http://datatables.net/extras/thirdparty/ColumnFilterWidgets/DataTables/extras/ColumnFilterWidgets/ better?

    Unfortunately, implementing this is not that trivial. I’m planning on developing “Plugin Extensions” for features like this, but that might still take some time. 🙁
    Until then, it might be the best approach to not use the automatic integration of the DataTables JS library by TablePress, but to load it manually. In that approach, TablePress would deliver just the plain HTML table, without the JavaScript functionality. That would need to be added manually by doing some custom programming. Helpful resources would be http://datatables.net/blog/Getting_started_with_DataTables%3A_First_steps and maybe the WordPress HiFi plugin from http://wordpress.org/extend/plugins/hifi/ that allows to add JavaScript to specific pages/posts.

    Regards,
    Tobias

    Thank You

    Appreciate your help!
    Looking forward for plugin update, and in the meantime will try to play with the code 😉

    Karol

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Karol,

    that sounds like a good solution 🙂

    Best wishes,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I have this code ready now for TablePress 🙂 It is available as a TablePress Extension.
    I haven’t yet found the time to add it to the TablePress website, so it’s just available in the GitHub repository at https://github.com/TobiasBg/TablePress-Extensions/tree/master/tablepress-datatables-multi-filter-select
    Basically, you will need these three file, but them into a subfolder “tablepress-datatables-multi-filter-select” and install that as a regular WordPress plugin. Then, just add a new parameter to your Shortcode, i.e. change something like

    [table id=1 /]

    to

    [table id=1 datatables_multi_filter_select=true /]

    to use this feature.

    Regards,
    Tobias

    Hi Tobias,

    Do you I need to uninstall Tablepress, put the new folder into the Tablepress folder on my server then reinstall the plugin? I tried zipping the folder you mentioned above and tried installing that as a plugin and it did not work. Am I missing a step?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no, nothing to uninstall here! The new plugin is a separate folder, that just needs to go into “wp-content/plugins” (so that you have both “tablepress” and “tablepress-datatables-multi-filter-select” as folders in “wp-content/plugins”.
    After that, just activate the new “TablePress Extension” plugin in WordPress, and add that Shortcode parameter.

    Regards,
    Tobias

    I tried that and the plugin doesn’t show up in WordPress to be activated.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    are you sure that you now have the folder “wp-content/plugins/tablepress-datatables-multi-filter-select” which has the three files “tablepress-datatables-multi-filter-select.php”, “multi-filter-select.min.js”, and “multi-filter-select.js” directly in it, without any other subfolders?
    After that, you will see the new plugin “TablePress Extension: Individual Column Filtering (with dropdowns)” in your WordPress Plugins list.

    Regards,
    Tobias

    Yes sir, I even restarted my server to make sure everything loaded. Just for you to see as well: http://imgur.com/6oF3f

    Correction, here’s the link: http://imgur.com/a/zFXVe

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    have you select the “All” tab at the top of the page? Just from your list of folders, the list of plugins should be much longer. Thus, this indicates, that you are currently only viewing the active plugins.

    Regards,
    Tobias

    Nope, the all tab is selected, and I have 17 plugins activated.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, at this point, it might be a good idea if I take a direct look at your site. Could you therefore please contact me by email (the address is in the main plugin file “tablepress.php”).

    Regards,
    Tobias

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘Filter functionality’ is closed to new replies.