I think the biggest reasonings behind the inclusion of a cake email
component are reliability, interoperability, and ease of maintenance. With
the cake email component, they have a guarantee that it will work with cake,
as is, without the need to modify someone else's code to make it fit, and
they
Here is the magic squirrel reloaded, she saves the forest from fire :0
http://www.mediaportal.ro/play.php?pid=12190SUPER%20COOL
http://www.mediaportal.ro/play.php?pid=12419Ecureuil
Enjoy it!
--~--~-~--~~~---~--~~
You received this message because you are
What does $this-User-validates() return (this does validation
without saving)? Also try doing something like $this-
invalidate('username', 'test') in your beforeValidate function in the
User model and see if that triggers a display error. Other than that,
post your code and maybe we could help
please help. probably a stupid error, but i'm having a hard time
figuring out why my saveField() call does not stick. i'm relatively
new to this so could be a newb problem.
in lightboxes_controller i have the following lines of code...
$this-Lightbox-id = $id;
It seems that observeField does not recognize when the value of a
field has been changed by javascript.
It only triggers on manual change.
Is there any way to solve this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Thanks for the help! I've looked at the source code again, trying to
understand why what you're doing is working, and it's starting to make
a bit more sense to me now. Judging by this:
http://api.cakephp.org/1.2/libs_2controller_2controller_8php-source.html#l00970
...it appears that the
http://api.cakephp.org/1.2/paginator_8php-source.html#00287
It seems to me that it's missing the code to pass in any existing
params or the full URL of the current page.
Ticket time?
-Ben
On Feb 20, 10:26 am, Mouse[ON] [EMAIL PROTECTED] wrote:
hi guys,
maybe someone could help me, today
They wanted something slightly different in that ticket. And I believe the
functionality they wanted is already in $this-Session-valid()...
I *think* my problem is that beforeFilter() is run twice: once with the
invalid session, then another time for another redirect, with a new Session.
So when
http://www.domain.com/controller/action/test/test:1/page:2
results in:
http://www.domain.com/controller/action/page:1
http://www.domain.com/controller/action/page:3
-Ben
On Feb 20, 10:26 am, Mouse[ON] [EMAIL PROTECTED] wrote:
hi guys,
maybe someone could help me, today i hit a wall when
Sorry google sent me to a single msg page instead of the thread page,
didn't see the rest.
-Ben
On Feb 21, 10:21 am, Mr-Yellow [EMAIL PROTECTED] wrote:
http://www.domain.com/controller/action/test/test:1/page:2
results
Without seeing the code it's really hard to say. The only thing I can
suggest is thorough, controlled benchmarking. Make one change at a
time, make sure the rest of the environment is consistent, and test
the crap out of it.
On Feb 19, 4:35 pm, bgmill [EMAIL PROTECTED] wrote:
I've come across
Not exactly sure about this, but shouldn't the SQL UPDATE statement be:
UPDATE `lightboxes` SET `status` = 'saved' WHERE `id` = `21`
instead of:
UPDATE `lightboxes` SET `status` = 'saved' WHERE `id` IN (21)
I'm not an SQL guru, so feel free to correct me if I'm wrong here. If that
is the correct
Can someone post all the MVC files for a simple form submit with
Ajax? For example a form with name and a radio button to un/subscribe
to a mailing list (controller sends and email and sets a msg with
setFlash)?
--~--~-~--~~~---~--~~
You received this message
On Feb 20, 2008, at 2:19 PM, Samuel DeVore wrote:
Book is the planned new manual for cakephp 1.2 John wrote up a little
summary at
http://bakery.cakephp.org/articles/view/what-s-up-docs
Manual is for cakephp 1.1 and is does not have user added comments and
really doesn't support
OK,
I've confirmed it with $this-Session-valid(). The problem is the redirects
to the login page. Let me explain:
1. We're logged in. This creates a session.
2. Session expires.
3. We try to access somewhere else, we jump into beforeFilter(), where
Session is invalid.
4. We are
On Wed, Feb 20, 2008 at 7:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can someone post all the MVC files for a simple form submit with
Ajax? For example a form with name and a radio button to un/subscribe
to a mailing list (controller sends and email and sets a msg with
setFlash)?
Baz,
Your steps above are what I see in my testing as well.I also noticed
that when my session times out, auth.redirect was always set in the
new session I'd see when hitting step #4. So I did this in my Users-
login method:
function login() {
$this-disableCache();
Hello All,
I was wondering how I can use the ajaxhelper to generate a form select
combo box and then update a DOM ID / DIV when one of the item in the
combo list box is selected.
Any help on how to achieve this will be helpful.
Thanks
--~--~-~--~~~---~--~~
You
Another thing of note, is if I run through the steps:
1. login, get redirected to what I have in Auth-loginRedirect
2. let session expire
3. click a link to a protected action and get redirected to Auth-
loginAction, and in my case above get a flash message with your
session timed out.
4. At this
Hi all,
i have one field 'abc'(numeric) in 'xyz' table .i want to provide
validation for two different logins.. i.e for users login, this field
should not exceed '5' and for admin's login this should not exceed
'1' . How to achieve this. Should i change Model or view.?
Please help.
Thanks a lot!
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
I have made it work, the only thing I had problem was the first time
on the page but this can be fixed with Baz approach (Cookie).
Baz if you pass twice in befoeFilter, you can detect it by setting a
variable (maybe static) in beforeFiler ?
On Feb 21, 5:32 am, EchoChargen [EMAIL PROTECTED]
Hello All,
I am new to development in cakephp. Currently I am testing my code
written in cake 1.1.*. For this I need test suite 1.0.0.0 But problem
here is that the available test suite are difficult to configure with
cake 1.1 . I can switch to cake 1.2, which has integrated test
development
I have one table name users
In this I like to paginate two different users list one is from asia
(first list) and another from africa (second list)
Problem is coming that when i go to second page of first list (asian
users) it also shows the second page of second list (african users)
i have
you need to make two models (one for each type of user). then paginate
2 models on one page as you would normally paginate two models on one
page.
On Feb 21, 12:19 am, manuj [EMAIL PROTECTED] wrote:
I have one table name users
In this I like to paginate two different users list one is from
25 matches
Mail list logo