pegasus
Well-known member
Anyway, since you asked about doing something that wasn't easily doable yesterday, as of today the plugin system in VaultWiki is fixed for the next release, and you can do what you asked in that release (without modifying your config file) by:
1. Use Multisite's HTML replacement rules to change the text/URL of the wiki tab.
2. Write 1 Code Event Listener to force VaultWiki to consider your custom URL as canonical (vw_url_generate).
OR
1. Write 1 Code Event Listener to modify VaultWiki's tab text/ URL (vw_nav_links).
2. Write 1 Code Event Listener to force VaultWiki to consider your custom URL as canonical (vw_url_generate).
If the URL is not considered canonical, VaultWiki will always redirect the user back to the canonical URL. You may not need the listener at all, and for option #1, could do it with the current release, if Multisite lets you modify the option 'Wiki Base URL' for each domain. However, that would allow every wiki page to be visible from every domain. I suspect you want to canonicalize domain rules based on the URL's areaid and that area's parentlist.
1. Use Multisite's HTML replacement rules to change the text/URL of the wiki tab.
2. Write 1 Code Event Listener to force VaultWiki to consider your custom URL as canonical (vw_url_generate).
OR
1. Write 1 Code Event Listener to modify VaultWiki's tab text/ URL (vw_nav_links).
2. Write 1 Code Event Listener to force VaultWiki to consider your custom URL as canonical (vw_url_generate).
If the URL is not considered canonical, VaultWiki will always redirect the user back to the canonical URL. You may not need the listener at all, and for option #1, could do it with the current release, if Multisite lets you modify the option 'Wiki Base URL' for each domain. However, that would allow every wiki page to be visible from every domain. I suspect you want to canonicalize domain rules based on the URL's areaid and that area's parentlist.
Last edited: