Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.3
Component:
exposed filters
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2012 at 00:24 UTC
Updated:
26 Mar 2012 at 23:00 UTC
I have an exposed filter dropdown with a depth of 2, and it works properly, however I would like to increase the indent for better readability.
Currently, my dropdown displays like:
USA
-Tennessee
--Nashville
-Texas
--Austin
--Dallas
but I'd like to triple the hyphen indenting, so there is more visual separation:
USA
---Tennessee
------Nashville
---Texas
------Austin
------Dallas
I've looked, but couldn't find any configuration value where the indent value could be changed. Could someone please help point me in the right direction? Thanks.
Comments
Comment #1
dawehnerThere is currently no other way beside using hook_form_alter and change all values there.
Comment #2
tj2653 commentedThanks, Daniel. I know it's frowned upon, but do you know where the hyphen/dash is being output, so I can hardcode it to be "---" instead? Or are you saying it's too embedded and/or would break other things if I changed it?
Comment #3
dawehnerWell i don't think hacking views is a good idea, but hey modules/taxonomy/views_handler_field_term_node_tid.inc
Comment #4
tj2653 commentedI think it was actually views_handler_filter_term_node_tid.inc, but thanks for getting me on the right track!