Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This patch will add a "Context: Active Context" filter for any views. If the filter evaluates to TRUE
based on the operational conditions, the view will be shown, otherwise it will not show (regardless if there is empty values provided).
Also note: restructured ./plugins -> ./views and renamed argument include file to better naming conventions.
Comment | File | Size | Author |
---|---|---|---|
#6 | views_arg_context.zip | 91.02 KB | markhalliwell |
#4 | 1569678-views_arg_context-filter.patch | 13.21 KB | markhalliwell |
views_arg_context-filter.patch | 12.83 KB | markhalliwell |
Comments
Comment #1
kaizerking CreditAttribution: kaizerking commentedthis patch cannot be applied
Comment #2
markhalliwellWhy not? There hasn't been any dev work on the 7.x-2.x branch since I've posted this issue. This patch isn't for the 6.x branch.
http://drupal.org/patch/apply
Save the patch in the top level of this module's folder. Then run from that same folder:
patch -p1 < views_arg_context-filter.patch
Comment #3
kaizerking CreditAttribution: kaizerking commentedI am using net beans to apply patches, it is working good
it seems this patch has been incorporated in the dev version, there may be some difference
pl check
Comment #4
markhalliwellHmm, not sure why it's not applying now... just tried it myself again.
Here's a re-roll nonetheless.
Comment #5
kaizerking CreditAttribution: kaizerking commentedcomplete code from this file "views_plugin_argument_default_context.inc" is removed with this patch and the file remains blank, is this expected?
I request , please apply this patch and attach complete module zip
Also we have a drop down (in the screen shot) which show equal to , contains and we have afield to give in put can we get available tokens ? basicalli am looking use this to achieve this view of content matching user profile(profile2) term reference fields
Comment #6
markhalliwellThere was some restructuring of files, yes. However, I cannot remember if this was indeed the file that is removed.
This module hasn't been supported in months and I only added this issue because at the time my needs included adding this type of functionality. I do not maintain this module nor do I wish to, so whether they implement this feature is up to them (they might have a better solution). I don't have the time to continue supporting this feature at the moment, but here's a zip of what I have nonetheless.
Comment #6.0
markhalliwellAdded notes.