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?


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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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