Solved

Cakephp dialog messages

Posted on 2010-11-11
3
882 Views
Last Modified: 2012-05-10
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
Comment
Question by:error77
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
NeoAshura earned 500 total points
ID: 34121525
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
 

Author Comment

by:error77
ID: 34122189
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
 

Author Comment

by:error77
ID: 34131886
Any ideas please?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now