Working for me. Thanks Paul!
OK, here’s how I solved both of the OP’s issues. I changed line 181 of menu-creator.lib.php to:
if (curPageURL() == $item["value"] || $_SERVER["REQUEST_URI"] == $item["value"] || curPageURL() == $item["value"] . "/" || $_SERVER["REQUEST_URI"] == $item["value"] . "/") {
Then I can set Home with:
type = external
value = /
Categories as (for example):
type = external
value = /categories/events
And current_page_item is set correctly. I don’t want to hard-code the base path of my site anywhere as I know I’ll be moving it soon so this works for me.
Jared, do you have an answer for the OP’s second question: Is it possible to create menu items for categories?
I’d imagine this is an extremely common use-case but I can’t find any documentation on doing this at all.
Thanks.