1. Fabrik 3.5.2 is now available to download. Read the blog for highlights about this release.

    As always, please back up your site prior to updating and if possible test in a dev environment first.

    Also, our 3.5.1 package file was hacked, the effected dates were 1/15/2017 - 1/17/2017. If during those days you downloaded the 3.5.1 package file from the JED or our site download page, please re-install the package with a fresh copy or upgrade to Fabrik 3.5.2. Github downloads were not effected.

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