Answer the question
In order to leave comments, you need to log in
Is there a page load event for the public part only?
Good afternoon, I am writing a module for compiling less using php. There was a small problem, in my module I connect the event handler
public function doInstall()
{
RegisterModuleDependences("main", "OnEpilog", $this->MODULE_ID, "BitBenLess", "compilation");
ModuleManager::registerModule($this->MODULE_ID);
}
Answer the question
In order to leave comments, you need to log in
There is no separate event, but there is a constant ADMIN_SECTION , the value of which you can check.
Why do you write (if not a secret) when there are ready-made ones? For example https://marketplace.1c-bitrix.ru/solutions/olegpro... (by the way, expandable by any compilers)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question