Links for submenu

Hi there,
I need some help with a submenu.
I’ve integrated a side bar and tried to have submenus. I thought I can use the option sets for the submenu. But I’m stuck now with the specific links from the submenu. Where do I specify that clicking on “current cells option display” displays the corresponding page of each submenu page?
I guess I need to change that in the option set somewhere?

image

Thanks all for you help.

Hey, if you’re using bubble’s sidebar then there’s an event for that. You can check it in the plugin page on how to use it.

1 Like

Hello. If I’ve understood correctly, you’re trying to figure out how to make the links (e.g. Mindset) active?

  1. In the Option Set, create a new Attribute called e.g. “Path”. Assuming you want it to link to a Bubble page, set the Path for each menu item. Set it to the target page name. E.g. for Mindset, set Path to “mindset”.

  2. Back on your side bar, open the properties for the cell and Add workflow.

  3. Set the workflow up something like this:

Hope that helps!

James.

1 Like

Thanks so much for your quick help.
To set the path for each menu item, I take the name of the page itself, right? The way I’ve created it?

No worries. Yes, that’s right - as you see them in the pages list:

Let me know if you have any problems with it.

James.

1 Like

My understanding is that you want to have second-level links under each first-level link.

To do that you could have 2 options_sets.
1 for first_level links
1 for second_level links with a reference to the 1st level link

In your RG for sub_links, you’ll need to do a “Get option : all Options” and then filter based on which first_link level this is.
Filtering on the front is not recommended but for small things like menus link that can work.

1 Like

You are right, I want to have the second-level links, but there are no first level links. The first level is just the headline and summarizes all second level items. Therefore I only want to include the links for the second level.

Thanks so much for your effort. slight_smile:
Actually it doesn’t work. :frowning:
I think I’m missing a little something, but I can’t select “current cell”.

That will work the same, just without link. You can have an option_set that hold the
data about the category (the icon, the name) . Let’s call that categories (Losungen / Anders / Mindset / Konfliktlosung)

Then, another option_set with links and a reference to the category.

That way you have 2 option_sets, 1 for the categories, 1 for the links.

This may seem a lot and there are other solutions of course, but this one is evolutive as you can store data specificaly for the category and different data for the sub-links.
You can easily add a parameters to the categories or the links without difficulties.

1 Like

Hello! If you go back to the designer and look at the properties for that parent group, I think you might find that the Type of Content / Data Source isn’t set. You should be able to set it up something like below. Then, when you go back to your workflow, you should be able to set the Dynamic page name to Parent Group’s menu thing. Hope that makes sense.

image

Do come back to me if that doesn’t work!

James.

1 Like

So much better. Thanks again. I learned a lot today.

1 Like

Damn it… so easy. Sorry for wasting your time. But your were a great help. Thanks so much.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.