Search code examples
drupaldrupal-7drupal-modulesdrupal-views

sub-pages in drupal 7


I am trying to develop a university website, Here the pland in the homepage:

    
University of paris:
  -> Faculty of Science
-> Faculty of Economics
-> Faculty of letter
I want to have a common menu that repeats throughout the faculties example:
in my site there is a 3 Menu these three faculties, each faculty:
---> Dean word
---> History
---> ...
   
I want to save time and manage all the menus for all faculties in a single click, I want something that brings a can has a sub site, or sub-page Can someone help me?


Solution

  • Try using this module: https://www.drupal.org/project/menu_token.

    It allows you to insert tokens into the menu Path. So, if you have 3 sub-sites:

    • yourwebsite.com/facultyA

    • yourwebsite.com/facultyB

    • yourwebsite.com/facultyC

    you can configure your menu Path as:

    • [faculty:name]/dean-word

    • [faculty:name]/history

    etc.

    Now you have one sub-site menu, that shows different content depends on faculty.