The AJAX Login/Register module adds a block with a login button. Clicking on that button opens a nice popup login/register dialog.

But how to make the login dialog open when clicking on post titles?

I tried to add a block with this code:

<a href='ajax_register/login/nojs' 
   classes='ctools-use-modal ctools-modal-ctools-ajax-register-style' 
     My Post Title

However it doesn't work. Anyone knows why?

1 Answer 1


You simply have a typographic error. Use "class=..." instead of "classes=..."

  • Yes, it works... :)
    – Druvision
    Aug 7, 2013 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.