If I can acomplish the same thing more simply using built in cake functions I am all for it.
Here is a link to my test site where I am experimenting...
http://cake-sandbox.zimmproject.com/users/login
If you press the "login" button with no info in the blanks you will see the desired effect we are after. That is the code that I posted earlier in action.
I am attempting something similar with the setFlash() method but so far I have a no go.
I am working through the dynamic text link you posted, but I need to pear it down to just the functionality we are looking for, right off the setFlash calls are not straight forward to me.
Thanks for all the replies.
On 5/22/06, AD7six <[EMAIL PROTECTED]> wrote:
In fact, to save myself some bandwidth, and make use of the wiki see:
http://wiki.cakephp.org/tutorials:i18n#messages_dynamic_content
Cheers,
AD7six
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr116216cwa;
Mon, 22 May 2006 00:58:51 -0700 (PDT)
X-Google-Token: HWJtRAwAAACKSxoxUwvYuUK7w_O7vc8Z
Received: from 80.59.216.205 by i39g2000cwa.googlegroups.com with HTTP;
Mon, 22 May 2006 07:58:51 +0000 (UTC)
From: "AD7six" < [EMAIL PROTECTED]>
To: "Cake PHP" <[email protected]>
Subject: Re: unset($this->params['data']) Not Working???
Date: Mon, 22 May 2006 00:58:51 -0700
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: < [EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
< [EMAIL PROTECTED]>
<[EMAIL PROTECTED] >
<[EMAIL PROTECTED]>
< [EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
< [EMAIL PROTECTED]>
< [EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
< [EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
In fact, to save myself some bandwidth, and make use of the wiki see:
http://wiki.cakephp.org/tutorials:i18n#messages_dynamic_content
Cheers,
AD7six
- Re: unset($this->params['data']) Not Working??? John Zimmerman [gmail]
- Re: unset($this->params['data']) Not Workin... stephenrs
- Re: unset($this->params['data']) Not Wo... John Zimmerman [gmail]
- Re: unset($this->params['data']) Not Wo... josh southern
- Re: unset($this->params['data']) No... John Zimmerman [gmail]
