0

I have to first, create a menu-like block based on the information in a content type. Below every link, there is a text area field from a content type (Conference) except for upcoming conferences and archived conferences. So basically, each link in the menu is a view that shows only one particular field from a node. I pretty much got that part down.

Next I needed the ability for these menus to be dynamically created whenever I created a piece of content. So the 8th annual conference should have a menu created due to the fields in the Conference content type being populated.

Does anyone know an approach to dynamically create these menus links when a node is added? The approach I took so far was trying to add arguments that could be used in the view based on the node ID.

enter image description here

2 Answers 2

0

You can do it with Field Group module and also use Display Suite which gives lot of options to display your content. Check out the image, it was created using field group.

enter image description here

14
  • That part about using a view block I have so far. For me this works only when when there is one node. How can I pass an argument to the Menu view block to let it know that I want the "7th National Conference" and not 8th, Because when I click on each link I still want that menu to be there for that particular convention. I would like to note that you did answer the question I would just like more details on how to implement what you were saying. Also I would like to note that each link on the menu is being pulled from conference content type except the first and last three.
    – Jalite
    Commented Jun 27, 2014 at 13:27
  • If you create a new conference, 8th, then do you want to create a new menu link like 8th conference or you want to replace it under upcoming conference
    – msmani
    Commented Jun 27, 2014 at 13:33
  • For that Page I would Place it under, I imagine for that the VIEW-Page, upcoming-conference I would display all conferences. That particular page I'm not that worried about. My concern is with the other links that should only show information about that one confernce.
    – Jalite
    Commented Jun 27, 2014 at 14:05
  • Lets say the url is Site.com/conference-name/schedule (the 2nd link), How can I get the menu to only link to pages under that conference's name. Basically how can I get it to also link to Site.com/conference-name/registration. And also stay visible while so I see all those links for that conference after clicking each link.
    – Jalite
    Commented Jun 27, 2014 at 14:09
  • Can you describe your menu structure again because the menu that you posted has only one conference link, others are like speakers etc.
    – msmani
    Commented Jun 27, 2014 at 14:15
0

Though this may not be the best practice, I wound up creating views that had exposed filters using the node ID. From there I just added the field I wanted visible then overrode the output link to include the exposed filter.

1
  • Panels module might also help, check it out
    – msmani
    Commented Jul 2, 2014 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.