Do you have any debug tools running to see if your javascript is being
loaded/executed correctly?

It appears your link should work, although I'm surprised even if it
does reload the page that it comes up with a proper cake page as your
URL array should be

array('controller'=>'users', 'action' => 'login')

not

array('action' => 'users/login')

That's an aside to your main problem though as the fact you have
'onclick'='return false ;' should stop the link from going anywhere.
I can only assume that your Modelbox.show() is having some sort of
issue which is stopping the return false; statement from being
executed.  Can you remove the Modalbox.show() command and check that
return false does stop the link working?

This should work so you need to debug what script errors occur when
you click on the link.

HTH

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to