Skip to main content
19 events
when toggle format what by license comment
Oct 13 at 17:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 14 at 8:11 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 8 at 5:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 9, 2024 at 20:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 10, 2024 at 10:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 9, 2024 at 9:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 9, 2023 at 18:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 7, 2023 at 8:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 5, 2023 at 2:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 1, 2022 at 5:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 26, 2022 at 14:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 30, 2018 at 16:12 answer added Rob Orr timeline score: 0
Apr 26, 2018 at 18:00 comment added Rob Orr Don't know that it's the config form specifically, that's just what I was looking at as I started to look at the various form IDs so it's likely something else.
Apr 26, 2018 at 15:00 comment added Kevin Yeah, for that you should probably have a debugger like xdebug so you can see things without doing prints. But why do you need to modify the config form? Isn't this a user facing change?
Apr 26, 2018 at 14:25 comment added Rob Orr Ok - that helped, thanks Kevin. I've got it in a custom module, but it looks like I'm running in to problems because the form_id I'm targeting is views_ui_config_item_form and the description field is edit-options-expose-description. I'm running in to an AJAX error when I'm trying to print_r: An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /admin/structure/views/ajax/config-item/myview/page/filter/title StatusText: OK ... Any thoughts on how to get around that error so I can see the variables?
Apr 26, 2018 at 13:50 comment added Kevin In a custom module or theme you can use hook_form_alter to modify any forms in Drupal before they are rendered. You will want to check the form id to make sure you are modifying the right form (views exposed forms). Then you could set the form field(s) to '#maxlength' => 255. However in the code you posted, that isn't for your exposed filter field, that is for something else. api.drupal.org/api/drupal/modules%21system%21system.api.php/…
Apr 26, 2018 at 12:19 comment added Rob Orr No - can you tell me more about how and where I would implement that?
Apr 26, 2018 at 11:36 comment added Kevin Did you try hook_form_alter on that exposed form field?
Apr 26, 2018 at 11:24 history asked Rob Orr CC BY-SA 3.0