How to manually pass an argument to a views block through interface

Created on 1 July 2016, about 9 years ago
Updated 18 January 2023, over 2 years ago

Views content panes had a nice configuration feature where you could configure a views content pane with a contextual filter to to pane in a number of ways, either from the context, or inserting the ID for the filter element manually. I am guessing that the new Chaos Tools Views that comes with 8.x-3.x is intended to deliver similar features.

It seems as though the module makes available in the block config page a number of visitbility options, including a data comparison option, which looks like it might provide the feature I'm looking for, but I can't see how to configure it.

It would be great if I could get some documentation. Willing to help with testing and further documentation.

✨ Feature request
Status

Needs review

Version

4.1

Component

Views Content

Created by

πŸ‡ΊπŸ‡ΈUnited States RKopacz

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada jodavidson

    I've successfully implemented the patch from #100 for 4.0.3 on Drupal 9.5.5 PHP 8.1.13

    Great work @hanoii

  • πŸ‡©πŸ‡ͺGermany anruether Bonn

    I can't reproduce this on ctools 4.0.4 anymore

  • πŸ‡¦πŸ‡ΊAustralia tisteegz

    Just applied patch #100 on ctools 4.0.4 and Drupal 9.5.11 and seems to be working great with layout builder.

  • πŸ‡©πŸ‡ͺGermany tomsaw Essen

    Using #100 with drupal 10.3.2 and ctools 4.1.0 with great success!

    The issue Title "How to manually pass an argument to a views block through interface" was confusing to me and took me a while, to find this and to also understand, that it is the robust solution i was searching for.

    Maybe: "Allow manual passing of arguments to Views Block from Block Display configuration"

  • πŸ‡«πŸ‡·France erwangel

    Happy with D10.5.1 and Ctools 4.1.0. Thank you #100, just working fine in Layout builder as well as in Block builder. I agree with tomsaw for a better titling. Also, may we promote the status to "reviewed and tested / RTBC".

Production build 0.71.5 2024