Bounty: Code snippet to organise view alphabetically

Events happening in the community are now at Drupal community events on www.drupal.org.
blogjunkie's picture

Hi Views Developers,

I admit that I joined this group just to post this bounty, but I would really appreciate your help.

I'm trying to create a view that outputs nodes like this - http://www.lawteacher.net/contractlawcases.php

I'm currently building a similar case law library. I've created a Case Law content type and given it a taxonomy with terms like Contract Law, Criminal Law etc.

In the Case Law content type, I've got 2 CCK fields - 'sort as' and 'file under'. 'sort as' is used to reformat the node title - sometimes the case law name will be something like 'R v Tronoh Mines (1952) 1 All ER 697' but it should only be filed as 'Tronoh Mines'. The 'file under' field is what the nodes are grouped with and therefore are values A-Z. Attached is the exported content type with the CCK fields.

Requirements:

  • Taxonomy term name as the page title (e.g. Contract Law Cases)
  • Node titles grouped by 'file under' CCK field
  • Displays 'sort as' name instead of node title
  • 'sort as' name to link to node
  • Shortcut menu at the top of the page to jump to each letter (can be implemented manually through View Page Header)
  • Back to top link after each letter

It should also support arguments so that pointing the browser to /caselaw/{term ID} will sort by taxonomy (e.g. Contract Law) and print the correct page title.

Bounty to be paid via PayPal. Let me know if the bounty is too small :oP

AttachmentSize
caselaw.txt2.25 KB

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: