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

frjo’s picture

Status: Needs review » Fixed

You are absolutely right, thanks for reporting it! I have fixed it now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.