Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 895
  • Last Modified:

Cakephp dialog messages

Hi all,

Anyone know how to call a dialog alert or something like that on cakephp controller without having to create a template for the popup to load it from?

Thanks

0
error77
Asked:
error77
  • 2
1 Solution
 
NeoAshuraCommented:
use JavaScript to do this. A click event would fire and in that event, you would call "alert("hey!");" This is really independent of the CakePHP framework, as I don't think there's a JavaScript helper to do that.
0
 
error77Author Commented:
I've tried adding a JavaScript alert message on the controller and I works but I load the template first and then inside the template it popups the alert. :-/
0
 
error77Author Commented:
Any ideas please?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now