1. Hugh is (technically) on vacation for the rest of September, travelling to Europe for his son's wedding in England, and to meet up with Rob in La Rochelle, France. He will be checking the forums most days, and providing some support, but his time will be limited, and he will be unable to do any custom coding work. Apologies in advance for any inconvenience.

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