How can I get/modify(inject) homepage via AJS? Is there a direct parameter that I can tamper with?
What I want to do is:
if (AJS.params.remoteUser != '') { homepage = 'page1' } else {homepage = 'page2'}
I know that I can do it using:
window.location.href
But I have noticed that when changing 'homepage', redirect happens much faster (without the refresh), like on the lower level. So I would like to exploit it if possible
P.S. Trying to inject through CustomHML -> End Of Head
Do you mean site home (which defaults to the dashboard) or space home?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.