<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
It might be easiest to use computed_field to store the appropriate
range value on the node. Then override the
views-exposed-form.tpl.php if you need the buttons to really be
buttons. You could always get fancy with JS and CSS using radio
buttons and better_exposed_filters auto-submit. Facets would work,
but you would still need to use computed_field, I think Facet API
only supports ranges for numeric and date fields.<br>
<br>
Ted<br>
<br>
On 8/21/2012 12:29 PM, toon severijns wrote:<br>
</div>
<blockquote
cite="mid:CADEESMmu1rUSkP6Vf-4gdK-V0DhNYkP6U8XuH5V=8FgoojJGsA@mail.gmail.com"
type="cite">Hello,<br>
<br>
Could anybody help me with some advise on how to create a views
filter (D7) containing buttons with alphabetical ranges (like
"A-F", "G-L", "M-R", "S-Z", "All") filtering on the first letter
of the nodes' title field?<br>
I've seen a post on how to create an alphabetical index (<a
moz-do-not-send="true" href="http://drupal.org/node/641342">http://drupal.org/node/641342</a>)
but i kind of need the letters grouped in ranges. Or is this
something that's best done with search API/facets?<br>
<br>
Any help would be greatly appreciated!<br>
<br>
Best,<br>
<br>
<br>
Toon<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>