Search code examples
drupaldrupal-6content-management-systemhyperlink

Make a visible primary link not clickable


On my Drupal site I've got a set of Primary Links. The ones that expand I'd like to make the parent not click able e.g

  -home
  -about
    -history
    -website

Only home, history, website should link to a page. If the user clicks on aboutnothing should happen. I've tried searching around the admin panels as well as leaving the field blank but it doesn't seem to be working. I'd assume I'd have to hardcode this? If so, how?


Solution

  • Try this module http://drupal.org/project/special_menu_items

    Its probably the simplest way to achieve what you want.