Drupal 7: filtering menu links -
Drupal 7: filtering menu links -
i've created site have run problem navigation bar. problem want able filter out displaying links.
this because part of site makes utilize of books. part of site allows user selection of 4 links link 4 different books , can progress through books expect.
currently, link each page shown @ bottom of page. filter these links shows rel event links user, e.g. if on book1 shouldn't show links book 2 , 3 , children pages does.
any ideas?
i think have used menu module create links. if utilize book module ( in core need enable it). help create hierarchical menu in requirement. menu created book module looks 1 on this page ( the relevant navigation menu ).
update: book navigation creates own menu on relevant book pages. , context sensitive. can see above example, depending on page viewing, displays sibling menu ( i.e. pages on same level current 1 ). , next , previous buttons along go 1 level links.
i suggest in main menu create entries reach book. illustration allow have 3 books, book1, book2 , book3.
in main menu create 3 entries pointing towards these 3 book. ( delete entries coming pages in book.)
after enable book module in core , utilize book module manage content type used create book pages. design hierarchy using book modules menu scheme book pages.
again link gives first-class documentation regarding using menu scheme book.
ps: method described easier using other method context , views create same functionality book module provides out of box.
menu drupal-7 navigation drupal-themes
Comments
Post a Comment