Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The example on the module page is not working at my installation. I needed to remove user
to get a correct working link.
This is working at my installation.
Replace
$login_link = ctools_modal_text_button(t('Modal Login'), 'modal_forms/nojs/user/login', t('Login via modal'), 'ctools-modal-modal-popup-small');
with
$login_link = ctools_modal_text_button(t('Modal Login'), 'modal_forms/nojs/login', t('Login via modal'), 'ctools-modal-modal-popup-small');
Or is something wrong on my side?
Comments
Comment #1
frjo CreditAttribution: frjo commentedYou are absolutely right, thanks for reporting it! I have fixed it now.