Topic: Side-nav items
cooperd1958 premium asked 1 year ago
I am developing a documentation website with side bar navigation like the MDB site. Navigation will have 100+ pages. What is the process to update the nav-bar to add new pages? Will I have to update 100+ pages each time?
Kamila Pieńkowska staff answered 1 year ago
On our site we use Hugo. It gives you the ability to use partials. And then you only need to update the partial that hooks up on each page
Another option is to create JS file that you append links before init. In that case, you only change them there.
LAGIER priority answered 1 year ago
Bonjour, je ne suis pas membre du support MDB.
Moi, je vais faire différents dossiers avec un lien depuis la barre de navigation vers une page principale de chaque dossier puis depuis cette page les liens vers chaque fichier. - Aussi possible à partir de cette page principale de mettre en place un DataTable avec les liens vers les fichiers. - Autre possibilité, créer un MegaMenu.
Maintenant, il peut y avoir une autre solution, mais voyez avec un vrai support MDB.
Passe une bonne journée.
Kamila Pieńkowska staff commented 1 year ago
Thank you for your input, but if possible translate your comment into English.
cooperd1958 premium commented 1 year ago
Translation: Me, I will make different folders with a link from the navigation bar to a main page of each folder then from this page the links to each file. - Also possible from this main page to set up a DataTable with the links to the files. - Another possibility, create a MegaMenu.
Now there may be another solution, but see with real MDB support.
Have a nice day.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.0.1
- Device: Dell XPS 15
- Browser: Brave
- OS: Windows 11
- Provided sample code: No
- Provided link: No