I am creating an Intranet that contains multiple spaces. Each department is its own space, and the menu bar navigation that runs thru the entire site links to each of these spaces. I use relative linking, because I have Test and Production servers that I push the changes thru. This is a snippet of the code I use:
This works perfectly in all spaces, until I go to the Space Admin pages or try to Edit/Add a page. This is because the link structure changes from /display/SpaceName/pageName to just /pages/pageName. So when it hits this link, it moves back an extra directory and breaks the link.
It seems like there should be a simple solution for this, but I've tried several things and cannot make it work. I am open to any suggestions!
I am using Theme Builder 3.3.3, Confluence 2.10, and I greatly appreciate your help!