Zeka Posted August 1, 2020 Share Posted August 1, 2020 Hi. For now I add flag at init.php and remove it in ready.php like // init.php if (strpos(sanitizer()->entities(input()->url()), 'some/page/')) { fields('somefield')->addFlag(Field::flagAutojoin); } // ready.php fields('somefield')->removeFlag(Field::flagAutojoin); But there are pages that not so easy to identify by URL. So far I couldn't find any suitable hook and probably it is the only way to do it, or I missed something? Thank! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now