0

I am trying to display my content in Alphabetical group for a specific content type.

What I did?

  1. Added a vocabulary "Category"
  2. Added a term(Myterm) inside this vocabulary.
  3. Added a field in content type and put the relation with this vocabulary and the default option is the term name.

This is working fine. Now I want to show up the Myterm page the content alphabetical group. For your information I used Pathauto module to create the taxonomy term url. So my current url is domainname.com/MyTerm

This page showing the results which are belongs to MyTerm term. I want to just display the Alphabetical group and each group will contain the content whose title starting with this group. Please guys advice me how to implement this. If any contributed module is available, please advice. Thanks in advance.

e.g. Suppose my requirement is like below:

[A]
Amazing Video
A good tutorial
Award wining software

[B]
British Council
Be right back

[C]
Case discussion
Content privacy
....

  • 'Alphabetical group and each group will contain <b>the content</b> whose title st' In the line above the content means content type ?? Pls explain a little more about your requirements? – harshal Aug 26 '13 at 6:16
  • I would like to show drupal.org/glossary – Subhojit Mukherjee Aug 26 '13 at 9:26
  • Have you any idea, which module has been used for that? – Subhojit Mukherjee Aug 26 '13 at 9:27
2

I think what you would like to achieve is like a glossary.

You can by default create a glossary with views. How to do this is best explained or shown in this video.

If you want to show each of these on one page, i think you need to have some kind of a special field to group your results by. For this, try to the Views PHP module. Make a field where you grab the first letter of each term, and group by this (for example).

  • Hello. Are you sure your answer will stay useful if the video linked happens to be down or relocated (or became paid material)? For me it looks down even at the moment I write this. – Mołot Aug 26 '13 at 8:18
  • Good point ... same for the module link. If do is down, the module cant be downloaded. I told him at least what he has to look for in views or what he is looking for. – Lance Aug 26 '13 at 8:32
  • Well, in help there is this rule: "Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline." - could you please quote essential part of the video and write a sentence or 2 what exactly this module is supposed to do? Even if it's obvious for you and me, it might not be for newcomers. – Mołot Aug 26 '13 at 8:37
  • Yes it is good but I want to implement like this drupal.org/glossary – Subhojit Mukherjee Aug 26 '13 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.