By dindon on
I have content type for games news. they have a taxonomy called platform (PC, PS2, XBOX)
I want to make a page with this structure :
mysite.com/games <-- will list all taxonomy for games content type
mysite.com/games/PC <-- will list all nodes within pc with A/B/C style.
Mysite.com/games/PC/A <-- List all nodes by the first letter A
How to make that with Views?
Thanks
Comments
views alpha pager creates views
Download views_alpha_pager:
http://drupal.org/project/views_alpha_pager
Once it's installed, when you create a view it gives you the option of using an "alphabetical pager" which might do more or less what you need. You get an A | B | C etc tabbed menu at the top of the page.
Of course first you'll have to create your taxonomy views the normal way.
You can also check views_bonus, which includes a slightly different alphabetical index:
A | B | C
A
Atari Pacman
B
Briar Breakdown
Bridge of Doom
A few more steps needed to configure if I recall
thanks.. i've installed
thanks..
i've installed views_alpha_pager..
The result :
mysite.com/games <-- Not working
mysite.com/games/PC <-- working
mysite.com/games/PC/A <-- working but url changed to mysite.com/games/PC?apage=A
Now how to fix that problem?
Thanks.
features not bugs
3 - I don't think you'll have much choice about the /PC?apage=A query string... I was just checking the issue queue to see if anything has been reported/requested, and see that you have found the feature request for this already... http://drupal.org/node/158591
1 - To get a page mysite.com/games that shows links to PC and your other terms... Well, I would just use a regular drupal page with such a small vocabulary, no module needed... Or use a module like http://drupal.org/project/sitemenu which gives you a page showing terms from vocabulary, descriptions, and number of nodes, and also some useful blocks.