Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
views_content_plugin_display_ctools_context needs a small patch to take advantage of the new customizable link_url that was just committed to views. This is an awesome feature since it lets us put a search box on any page and forward it to a view with the search term applied.
Comment | File | Size | Author |
---|---|---|---|
#4 | ctools-custom-url-panels-pane-1329776-4.patch | 1.12 KB | Jorrit |
override_path.patch | 729 bytes | EclipseGc |
Comments
Comment #1
EclipseGc CreditAttribution: EclipseGc commentedcommitted
Comment #3
Jorrit CreditAttribution: Jorrit commentedShould the same be done for views_content_plugin_display_panel_pane ?
Comment #4
Jorrit CreditAttribution: Jorrit commentedPlease see the attached patch.
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedAssignments during if() are generally bad, but sometimes I'll resort to them; but never if there's multiple conditions. Let's not do that, it's tricky to read and could one day cause bugs if somebody 'fixes' it.
Comment #6
Jorrit CreditAttribution: Jorrit commentedI know, but this is the way this specific feature is handled both in
views_content_plugin_display_ctools_context
and in Views itself, I just copied the feature over. I thought it was best just to keep this the same. Want me to make a new patch?Comment #8
DamienMcKennaEclipseGc: Any update for the D7 branch?