Can concrete5 do this sitemap/navigation structure?

Permalink
Hi there,

I'm trying to build a two level main navigation structure similar to that seen here (http://www.crowthornetennisclub.co.uk/index.php). To the user the site has multiple top level nodes (and not a single home page root node as in C5). I.e. from a users perspective it's like this:
Home
  - Welcome <-- the landing page.
  - About
Category Page 1
  - Sub page
  - Sub page
Category Page 2
  - Sub page
  - Sub page


Ideally I'd want the landing page URL to be the root path but obviously that won't happen without some evil hackery. I'd be happy with site.com/welcome however so I'd need to put a redirect on the home page (root node). I need the nav-path-selected to work as expected.

I did a quick experiment with the following setup.
Home (exclude from nav, redirect to first child)
  - Home 
    - Welcome
    - About
  - Category Page 1 
    - etc


But that resulted in me being taken to the login page every time. It would also have a very ugly home page url of site.com/home/welcome so it's not something I'm willing to do.

UPDATE: redirect to first child and exclude from nav worked, it's just that the Login page was the first child (didn't have "show system pages" checked).

So it probably looks like I'll need site structure of
Home
  - Welcome (put it under "home" tab in site nav)
  - About (put it under "home" in tab site nav)
  - Category Page 1 (top level tab)
    - Subpage
  - Category Page 2
    - Subpage


Any ideas on the best way to approach this?

Thanks & cheers
Andrew

SNIP: Removed discussion of engineering issues to other thread(s).

 
andrewpietsch replied on at Permalink Reply
I've solved this now using some custom navigation code that allows me to create a site structure, manipulate it and then render the altered structure all without using redirect to first child etc.

The site structure is:
Welcome (renamed Home to Welcome)
  - About ('add_to_faux_home' = true)
  - Category Page 1 (top level tab)
    - Subpage
  - Category Page 2
    - Subpage


And the navigation structure is:
Home
  - Welcome (active page when navigating to site root, i.e. url = http://www.mysite.com/)
  - About
Category Page 1
    - Subpage
Category Page 2
    - Subpage


The repository page below has a code example for creating the faux home page structure above.

https://bitbucket.org/pietschy/c5_navigation_builder/...

Please note it's developer focused (i.e. all code with OO stuff) and very much in a 'works for me' state although I've tried to provide reasonable class documentation if anyone want's to use it for a similar structure.

Cheers
Andrew