Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2009 at 22:13 UTC
Updated:
20 Apr 2013 at 17:21 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerIt comes from views_handler_argument_string. So CiviCRM would just have to extend views_handler_argument_string and all would be fine :)
Comment #2
mariagwyn commentedSigh ... I figured out where it was after I posted, now I just need to figure out how to extend. Tips welcome...
Comment #3
dawehnercan you paste the hook_views_data from civicrm?
Comment #4
mariagwyn commenteddereine - sorry, was out of town.
not sure what you are referring to with this...
m
Comment #5
esmerel commentedGeneral closing of issues with no activity for 6 months - looks like original issue was dealt with
Comment #6
evelien commentedSame problem here.
Implementation of hook_views_data can be found here:
http://svn.civicrm.org/civicrm/trunk/drupal/modules/views/civicrm.views.inc
I'm looking into the problem myself, any help from people with some more knowledge about hook_views_data is appreciated.
Evelien
Comment #7
dawehnerThis part is in the argument handler. See views_handler_argument_string::summary_query
Comment #8
evelien commentedFor those looking for the same functionality (example tells you how to edit code for glossary mode first name, same goes for last name etc.):
You need to edit civicrm.views.inc (you can find the file at civicrm\drupal\modules\views).
Line 264, argument array, replace views_handler_argument with views_handler_argument_string.
Original code:
New code:
Comment #9
dawehnerOkay so this issue is fine.
Comment #11
Anonymous (not verified) commentedJust wanted to say #8 worked great for me. Any idea how I would implement this without edit/hacking civicrm.views.inc or is that just how it is done?
Thanks
Comment #12
Anonymous (not verified) commentedComment #13
merlinofchaos commentedYou can use hook_views_data_alter() to change this in a module.
(That said, this is really a question about Civi, not about Views, so should be dealt with there, not here.).
Comment #14
Anonymous (not verified) commentedperfect - just what I was looking for. Thanks.
Comment #15
danielstrum commentedI was using the module based on this issue found here:
http://forum.civicrm.org/index.php/topic,17749.0.html
with Views 3 and CiviCRM 4.1. I just upgraded to Civi 4.3.1 and this no longer works (again, glossary mode is not available on Civi Contact Views).
Has anyone else seen this issue and have you found a work-around? Thanks.
I am pasting the module code below: