Re: [simple-navigation] Dynamically populate navigation from 3 models (primary, sub, sub-sub)

4 views
Skip to first unread message

Andi Schacke

unread,
Sep 27, 2017, 8:16:24 AM9/27/17
to simple-n...@googlegroups.com
Hi Daniel,

have you checked https://github.com/codeplant/simple-navigation/wiki/Dynamic-Navigation-Items? There are a couple of examples/instructions there…

Cheers
Andi

On Mon, Sep 25, 2017 at 9:21 PM, <daniels...@me.com> wrote:
Hi,

I got stuck here and I'd appreciate if somebody could point me into the right direction.

- I have 3 models in my rails app: Events, Issues, Solutions.
- Events has many Issues
- Issues has many solutions

Now I'd like to create the navigation with Events (primary), Issues (Sub) and Solutions (Sub-Sub) dynamically:

Event A
- Issue A
-- Solution A
- Issue B
-- Solution B
-- Solution C
Event B
Event C

I'm completely lost on how to approach this.

I'm already thankful for your help!

Daniel

--
You received this message because you are subscribed to the Google Groups "simple-navigation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-navigation+unsubscribe@googlegroups.com.
To post to this group, send email to simple-navigation@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-navigation.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages