Hi Philip I don 't think a DB for you navigation is going to solve your
problem. I think you need to incorporate Bread Crumbs into your pages.

For example once you go to this page http://freezephil.org/ you have no way
of getting back to the Previous Page or Home Page.

Solution One https://www.w3schools.com/howto/howto_css_breadcrumbs.asp

Solution Two uses Bootstrap
https://v4-alpha.getbootstrap.com/components/breadcrumb/

Cheers Dave

On Sat, May 5, 2018 at 2:08 PM, Philip Rhoades <p...@pricom.com.au> wrote:

> People,
>
> Mainly as a Rails learning exercise I have been thinking about converting
> my plain HTML + JS "accordion" site:
>
>   http://philiprhoades.org
>
> to Rails to enable a faster and more general-purpose UI for adding new
> pages and info.  What I would like is a branching tree structure of
> accordion pages but I am trying to work out how this structure might be
> represented in the DB . .
>
> Comments about whether this is a sensible thing to attempt and how the DB
> record structure might work are appreciated . .
>
> Thanks,
>
> Phil.
> --
> Philip Rhoades
>
> PO Box 896
> Cowra  NSW  2794
> Australia
> E-mail:  p...@pricom.com.au
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/rubyonrails-talk/4c5b7453b3e9f41951f079ac8c6478d7%40pricom.com.au.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dave Merrick

Daves Web Designs

Website *http://www.daveswebdesigns.co.nz/
<http://www.daveswebdesigns.co.nz/>*

Email merrick...@gmail.com

Ph   03 216 2053

Cell 027 3089 169

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKbkNftmwe%3D4M%3D0zxo4Q-qdDUy%2BR9-qkwx_3Xs23XW7eQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to