问题
I'm trying to create a view with a contextual filter on the title of the node and was wonder if there was a way to pass in a single letter as the argument and have the view return all node that begin with that letter?
Currently I've not found a way to do this, I have to pass in the full title of the node for it to work properly.
Thanks for any help.
回答1:
To get this to work I had to provide a default value:

And then I also had set up the Glossary Mode:

I had set up the Glossary Mode before but it wasn't working the way I had expected. I guess the default value is required for it to work?
来源:https://stackoverflow.com/questions/7232720/drupal-7-views-contextual-filters