A little help from drupal gurus!

Discussion in 'Drupal' started by kjarva, Nov 29, 2007.

  1. #1
    Hey everyone,

    I have set up my new website using drupal but unfortunately I am a drupal noob and documentation seems to be a bit lacking. I have set up taxonomy using a vocabulary called 'our stuff' which has the terms video, blog and websites in it. each of these terms is the parent of bizarre, funny, thought provoking, news. e.g.

    Our Stuff
    --video
    -bizarre
    -funny
    -thought provoking
    -news

    --blog
    -bizarre
    -funny
    -thought provoking
    -news

    --websites
    -bizarre
    -funny
    -thought provoking
    -news

    all of this is set up without a hitch. I have the pathauto module as well as the taxonomy_menu module. What I want to be able to do is have an expanding menu in my right sidebar that shows the our stuff tree, when you click on video it expands to show the sub categories and the same for blog and websites. Then when a user clicks on 'funny' under the video section they are taken to the funny video main page. Can someone please explain to me how this is done?

    Second question is, my pathauto URL's aren't going through properly for my taxonomy. I want it to display like:

    http://www.example.com/our-stuff/video/funny/0042-eg-vid

    where the 0042 is actually 00[nid] but I have no idea where in the pathauto settings section I should put the alias info or what I should put. Can anyone help me out?
     
    kjarva, Nov 29, 2007 IP
  2. archard

    archard Peon

    Messages:
    221
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    First of all, the documentation on drupal.org is second to none. I used to think it was lacking as well but if you really look hard for what you want I'm sure you'll find it. Look all over the place... some of the information you'll find on the forums is invaluable.

    Second, menus is the one thing I really don't know much about in Drupal. I'll see what I can do though.

    For pathauto. You want to set it to this for whatever node type it is:

    [catpath]/00[nid]-[title]

    [catpath] will get the highest weighted vocabulary the node belongs to, and the parent-child term relationships in that vocabulary (e.g. /our-stuff/video/funny). [nid] is the node id obviously and [title] is the title of the node.

    Hope that helps.
     
    archard, Dec 1, 2007 IP