Change the signup link URL on the login page
This example changes the destination of the Signup here link displayed on the login page.
Add this code to site.php file:
Am_Di::getInstance()->hook->add(Am_Event::BEFORE_RENDER, function (Am_Event $event) {
if (basename($event->getTemplateName()) !== 'login.phtml') {
return;
}
$event->getView()->signup_url = 'https://example.com/signup';
});
Replace https://example.com/signup with the URL of your signup page.