drupal view module sorting nodes by year

Discussion in 'Drupal' started by litebulb1, Nov 4, 2007.

  1. #1
    I thought I almost had the view module all figured out but then I started messing with the filter 'node: created time'. I want to be able to sort nodes by year so I thought this would do it. I tried setting it to is 'equal to' and then just filling in 2007. This returns no nodes. I think there is something that I am missing so any help would be appreciated.
     
    litebulb1, Nov 4, 2007 IP
  2. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is how I would like it to look in my menu

    2007
    -january
    -february
    -etc
    2008
    -january
    -february
    -etc

    When a user would click on 2007 it would display all nodes created in 2007 and then if they click on january under 2007 it would just be nodes created in january of 2007
     
    litebulb1, Nov 5, 2007 IP
  3. mnymkr

    mnymkr Well-Known Member

    Messages:
    2,328
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    120
    #3
    you would need to do a custom styling of the view...it is called grouping...it will be in the tabs where you make the views
     
    mnymkr, Nov 8, 2007 IP