More documentation, examples, tutorial?

Created on 7 May 2024, 7 months ago
Updated 10 June 2024, 6 months ago

Problem/Motivation

This module seems quite powerful and can help me accomplish what I need, thank you! However, after reading the module page several times, I'm still not quite sure how to configure it to do what I need. It would be great to have more documentation, examples or tutorials!

💬 Support request
Status

Fixed

Version

1.2

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @monaw
  • I'm currently confused about this sentence:

    You find the “filter identifier” in the settings dialog of an exposed filter, it is representing the query parameter name of that filter.

    I added 3 base filters (see attached image) but I don't see them in any of my view's exposed filter setting dialog (also see attached images).

    What am I missing?

  • 🇩🇪Germany sascha_meissner Planet earth

    Hey Monaw! First of all , thank you so much for creating the very first issue for this module :-)
    I´m more than happy to help you out (hopefully).

    So, i see that the term "base filter" is maybe a little misleading, they are only a reference to already existent filters, or better said to request parameter names that this module will "listen" to.

    As an example, you have an exposed view filter named "Content type", in it´s settings dialog you see that it´s "filter identifier" is type (Like in your screenshot). Then you can use this module to display other filters or fields based on the value of the "Content type" Filter. Therefore you would need to let this module know that it should listen to the parameter "type" and its value... So you would set "dff1" to "type" .

    So unfortunatly i´m not sure what you are trying to achieve, but now that dff1 is "listening" to the Content Type filter you can use it in the administrative title of a field or filter to dynamically show/hide them based on the value of the Content Type Filter.

    In example, you have another exposed filter "Author name" that you only want to show if the selected Content Type is "article", then you can write in the administrative title of the "Author name" filter dff1|article| , speaking: "Show this filter if the value of dff1(type) is "article".

    Please let me know if this clarifies the usuage of this module for you :) If not, maybe explain more in detail what you want to achieve. Additionaly i will try to work on the README and add some examples somehow

  • @sascha_meissner, thank you so much for that helpful info. i'm going to give the module another try shortly...

  • Status changed to Fixed 6 months ago
  • 🇩🇪Germany sascha_meissner Planet earth

    I put some work also regarding this issue into to 1.2.0 release, it contains a general rename of "basefilters" to simply "parameters" and some extra clarity how to use them, enjoy

  • Status changed to Fixed 6 months ago
  • 🇩🇪Germany sascha_meissner Planet earth
Production build 0.71.5 2024