Thanks @TW_Tones. The Cascades looks interesting. Understanding how it works will take me time.
Just FYI, in the specific use case what I want to do is hide and de-activate a lot of the UI when the wiki is online. The idea being that when I am authoring offline I have the whole tamoli, but when put online for end-users the wiki auto-switches off what they don’t need to see. This is done through the StartupActions detecting the environment the wiki is in. So far so good, but still in testing. But, interestingly, I did find the StartupActions quite easy to set-up.