I'm in the process of writing a plugin for my website. It has a file for the top level file, but all of the child pages are generated by the plugin itself. This is mostly because the plugin has to deal with a database.
Currently my webpage is setup as mysite.com/plugin_page
. This plugin page does in fact have an associated .md
file. The plugin is able to generate child pages such as mysite.com/plugin_page/view/$
and mysite.com/plugin_page/new
.
When I'm viewing mysite.com/plugin_page
the correct page is marked as active, so it's highlighted as I'd expect in the navbar. Once I go to a child page, however, no page is highlighted.
I want mysite.com/plugin_page/view/$
to highlight it's parent page, just like a blog entry would have blog
highlighted in the example themes.