Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By simnav on
I have a page name project under this i want to create a menu trails on left side like
- Web development projects
- web project 1
- Desktop Projects
- desktop project 1
In the right-hand side when i click on web project 1 menu the content open. I want this menu only for this specific page
Comments
your best bet ishttps://www
your best bet is
https://www.drupal.org/project/menu_block
will give you a contextual menu
or a true contextual menu can be accomplished with
https://www.drupal.org/project/context_menu_block
------
GiorgosK
Web Development
@GiorgosK Thanks for your reply
Let me try this
I have installed the context:
I have installed the context: menu block @giorgosk can you please tell me the steps how can i add the contextual menu under this because there is no tutorial for this
please read the documentation
please read the documentation that comes with every drupal module
https://www.drupal.org/node/1934824
try out things and if you get stuck THEN ask specific questions
------
GiorgosK
Web Development
fruit
The above tree is shown but i don't know how to add the content of under "Fruit" and "Apple"
First i create the structure menu and add the links under this then i add the menu block under block section name "new menu"
Add- Block Title,Menu and in advance options i have selected Expand all children of this tree.
then save this. Then this tree shown on the front side in the left sidebar. The main problem is when i create the menu like fruit and apple in the path field i add the "node/add" and when i click on the fruit its redirect to the node/add. I want to add the content under fruit, apple means what ever the category or subcategory and its open in different path not like node/add . Basically i want to describe the main category like web project and desktop project and when i add the content under web project then i can add the subcategory like
here web project is main category and project 1 and project 2 sub category which have the content
If you want to show CONTENT
If you want to show CONTENT/Nodes under each term you better use a VIEWS based solution
its more difficult to setup but its more flexible after you set it up
perhaps this can do it for you
https://www.drupal.org/project/views_tree
the rest of the description is NOT CLEAR what you are asking
remember the quality and extend of the answers you receive are RELATIVE to the quality and precision of the QUESTION you ask
in other words make smaller sentences, use commas and periods and paragraphs more often and (P)REVIEW what you wrote before you press SAVE
------
GiorgosK
Web Development
Sorry for trouble
Let me explain
I need a category, subcategory and subbactegory based solution for example
Basically, when i click on the li page wouldn't be refresh.
1) i click on web project then menu expanded Project 1, project 2 appear and if i click on project 1 then content related to project 1 appear on the right side. Similarly for Project 2 and the subcategory for desktop project will be same means i can create subcategory related to desktop project. Hope i clear this time. Please refer this image.
Still your instructions are
Still your instructions are very very very confusing, please make them clear .... smaller sentences, clear paragraphs and preview what you will save ...
also you have to start by telling us how you have setup your drupal site
Setup your content types / taxonomy and relate them to each other with taxonomy terms/entity reference
then your best bet is views based solution views tree as I said earlier
------
GiorgosK
Web Development