Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

I'm working on a complex website with multi locales, channels, structures and different designs per page. And the site needs a breadcrumb path.

My client needs to manage and add items the to menu.

This is a simple overview of the navigation:

  • Home
  • About us
    • Profile
    • History (different template)
    • Staff (listing with entry url's)
    • Jobs (listing)
    • etc
  • investor relations
    • finance
    • results (with iframe)
  • portfolio
  • press (custom url to external page)
  • etc

So no hard coding. What is the best solution to build this?

I think this is still a difficult thing in Craft. We need something like Navee or Structure (expression engine) to have a client friendly navigation system.

I've tried CraftNav. But it is still too simple.

share|improve this question
    
Johannes - any suggestions on how we can extend CraftNav to meet your needs? –  Adam McCombs Aug 13 at 17:19
1  
I would love to see a combination with CraftNav and Link It. Link to: Entries Assets Emails Phone numbers Custom URLs. + a breadcrumb and active state feature and full control over the output HTML. –  Johannes Lamers Aug 13 at 17:41

2 Answers 2

up vote 3 down vote accepted

Not sure I'm the best person to answer this having only built one Craft site but here goes.

I've created a Structure called Main Menu which has three Entry Types. (Entry types were the key for me when doing this)

A Structure allows drag and drop ordering and hierarchal navigation ordering for parent > child relationships.

  1. Entry Link
  2. Asset Link
  3. External Link

Entry Link

entryLink

Asset Link

assetLink

External Link

externalLink

Big, big (two bigs!) NavEE fan here, CraftNav has huge potential to replicate it but it's still a tad early when I tried it.

In short Entry Types were the key for me.

Note: For my own sanity at a later date it would be good to read this post on how to tell if your Structure Navigation has child elements.

Not sure if this helps but hope it does.

share|improve this answer
    
Does the main menu structure have the option on to have their own URLs? or is it inactive? –  Johannes Lamers Aug 8 at 15:39
1  
Entry Link just uses the link as-is. The template would be whatever you setup when you created the entry. The External Link could link internally if you wish so I assume some kind of custom route could do the job. I'm sure I saw some posts here somewhere on choosing you template dynamically but I may have been dreaming. –  John Moylan Aug 8 at 15:43

Please take a look at this post on how to build a navigation (like NavEE, Structure, Taxonomy) using a Craft Structure. It also has some code-example for your template: Would you use a Structure as navigation over multiple sections (channel entries, indexes and singles)?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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