Adding a navigation menu to Zendesk Guide articles | Community
Skip to main content

Adding a navigation menu to Zendesk Guide articles

  • December 13, 2017
  • 5 replies
  • 0 views

Does anyone on the forum have experience with adding a navigation menu directly into ZenDesk Guide articles in a way that would allow you to navigate sections of those articles?

We have a few articles that are relatively long, and ideally we'd like to have a navigation menu appearing on the right hand side of the screen at all times in these cases. The menu would include links to the headings of each section of the article. 

If anyone has an example of this sort of menu available to share, would you mind sending me a link to how it is implemented/sharing the code you used to implement it?

 

Thanks!

This topic has been closed for replies.

5 replies

  • December 19, 2017

Hey David! Welcome to the Community!

I would think that it's possible to do this with Javascript...let me check with some of our Community Moderators and see if they can help out.


ModeratorWes

@David - Hi and welcome to the community.  Yes you can create an TOC that gets automatically generated for articles.  I implemented one on this HC if you want to check it out.  Its only pulling H1 to generate the TOC.  Not sure when I have time but I may be able to post a simpler version of the one I have.   I'm working with a client now that also needs a TOC so maybe after I get done I will post the code here or maybe some one else will come along and post a basic version of an TOC.


  • Author
  • January 2, 2018

Hi Jessie and Wes, 

Thanks for your replies and help! @Wes - if you could post code when you get a chance that would be great.

Ideally we are looking for something similar to this HC, where they pull sub-headings from within the article into a TOC for each individual article. We've struggled with getting the code right for this to date, though. Wes, is this a type of TOC you've had experience with building out for other clients?


  • Author
  • January 8, 2018

Hi Jessie and Wes,

Just wanted to see if you've had a chance to look at my last message on this thread from last week?

Thanks,

David


ModeratorWes

@David - Yes we just built this out for the current client I'm working with and I've built it out for many other different clients.  I normally use this plugin or this one to create an automatic table of contents.  I've used both successfully so they should get you exactly what you are wanting.  If you still have issues implementing anything you can always contact me directly through my SLACK channel and I will be glad to implement a TOC for your Help Center for a small fee.