flokosiol / kirby-subpagelist

Subpagelist field plugin for Kirby 2
MIT License
46 stars 4 forks source link

Filter by multiple templates #4

Closed dennisfrank closed 8 years ago

dennisfrank commented 8 years ago

Great field plugin. Thanks!

Is it possible to filter by multiple categories?

This does not work (for me):

...
fields:
    mysubpagelist:
        label: My Subpagelist
        type:  subpagelist

        flip:  true
        filter:
            visible: true
            template: 
                - mytemplate
                - myothertemplate
...
flokosiol commented 8 years ago

Thanks for your suggestion. Unfortunately this is not possible at the moment, but I will put it on my to-do-list ;-)

flokosiol commented 8 years ago

Hi Dennis,

could you please check out the develop branch!? I added your suggestion and it would be great if somebody would test it before I merge it into the master branch.

Thanks, Flo.