1. The forums have been upgraded to XenForo 1.4. Please post any issues or comments here.
  2. Our hosting provider will be performing some scheduled maintenance and upgrading during the early morning (US time) of Tue 28th July, starting at approx 2am EST, which will require some down time of the server.

Fabrik plugin reset and hide filters

Discussion in 'Community' started by futuron, Sep 8, 2009.

  1. futuron

    futuron Member

    Level: Professional
    I noticed that it works perfectly when you load a fabriktable in a content item with the fabrik plugin like this:

    {fabrik view=table id=2 tablename___elementname=3 layout=templatename showfilters=1 resetfilters=1}

    I need the resetfilter=1 because otherwise it remebers the selection of the filter when i go to another page (or came from another one)

    I don't want to show the filters so i set showfilters=0 but then the resetfilter=1 wasn't working anymore.
    It seems that it's not hiding but not loading the filters when you set showfilters=0 (you should rename it to "loadfilters" instead of "showfilters")

    To work around this I set the showfilter=1 but i hide it with css in that template: .fabrikFilterContainer {display:none}

    Now it doesn't show the filter but it's still loaded ;)
     

Share This Page