On 8/26/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> Which brings to mind one of my favorite acronyms
> PEBKAC
>
> http://en.wikipedia.org/wiki/PEBKAC
>
> ;) glad you found your problem
Exactly. Or the ID-10-T error. ;) I feel pretty dumb now, but I
finally got it solved, so I can move on.
Which brings to mind one of my favorite acronyms
PEBKAC
http://en.wikipedia.org/wiki/PEBKAC
;) glad you found your problem
On 8/26/06, Jason Lee <[EMAIL PROTECTED]> wrote:
>
> OK. Mystery solved. The root cause was a hole in my understanding of
> the API, and a stupid typo. In AppControlle
OK. Mystery solved. The root cause was a hole in my understanding of
the API, and a stupid typo. In AppController, I overrode render() to
set some variables in the view for each request. After digging
through the API source, I was reminded of beforeRender() which does
what I was trying to do i
On 8/25/06, AD7six <[EMAIL PROTECTED]> wrote:
> Have you created your own views/layout/flash.thtml?
I did, but, just for testing, I've removed it with no effect. The
file, though, was basically the same as default.thtml, but with the
requisite php changes to display the flash message and the lin
Have you created your own views/layout/flash.thtml?
If so, what´s in it ;)
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegrou
On 8/25/06, AD7six <[EMAIL PROTECTED]> wrote:
> Are you sure that line of code is being executed ;), try putting die
> before the flash statement, if you still get your view rendered, the
> bit of code with the flash in it isn´t being called.
The odd thing is that I put something like die('hello'
Your code is not visible any more.
Are you sure that line of code is being executed ;), try putting die
before the flash statement, if you still get your view rendered, the
bit of code with the flash in it isn´t being called.
HTH,
AD7six
--~--~-~--~~~---~--~~
Y
On 8/24/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> Can you post the code in your controller?
Here's the relevant snippet:
http://cakephp.org/pastes/show/2ec3cd97a310e0ff524105a02a3339f2
--
jason lee
http://www.steeplesoft.com
http://blogs.steeplesoft.com
http://littlezoper.livejournal.co
Using CakePHP 1.1.7, when I say $this->flash("foo", "/foo"); it
doesn't flash. It rerenders the page i'm on. Has anyone else had that
problem?
--
jason lee
http://www.steeplesoft.com
http://blogs.steeplesoft.com
http://littlezoper.livejournal.com
--~--~-~--~~~---~--
Can you post the code in your controller?
use the cakebin
http://cakephp.org/pastes/add (click the save button if you want it to
last very long)
Sam D
On 8/24/06, Jason Lee <[EMAIL PROTECTED]> wrote:
>
> On 8/24/06, Mikee Freedom <[EMAIL PROTECTED]> wrote:
> > if you're using anything above de
On 8/24/06, Mikee Freedom <[EMAIL PROTECTED]> wrote:
> if you're using anything above debug = 1 in the core config then the
> flash doesn't automatically redirect. caught me out for a while as
> well.
Right, but it's not even displaying the message. Say, for example,
I'm on /users/add. I fill o
if you're using anything above debug = 1 in the core config then the
flash doesn't automatically redirect. caught me out for a while as
well.
turn it to 0 and you'll see it redirect.
On 25/08/06, Jason Lee <[EMAIL PROTECTED]> wrote:
>
> Using CakePHP 1.1.7, when I say $this->flash("foo", "/foo")
12 matches
Mail list logo