I noticed that in the frist part of your codes you indicated that you
needed a recursion on the pagination, while the other, you only used
read function which reads only a specific row with no recursion.
That's just my guess where you are having trouble with.
To know more about recursion, http://b
why do you have to use slugs, why not try using their usernames the
users provided or assigned to them by the system?
On Jun 17, 7:24 am, "Dave Maharaj :: WidePixels.com"
wrote:
> I am using custom slugs that the user creates when they sign up.
>
> USER:
> id
> slug
> .
>
> When a User m
I just noticed another thing about your problem.
The reason why you get a preg_match error is because you weren't able
to follow the proper syntax for the validation rule.
for simple rules, you can follow this sample code (got from book):
var $validate = array(
'fieldName1' => array(
Louie,
I read it somewhere in some people's blog, that the 'required'
validation rule doesn't really mean the field being required. Even I
don't get much the idea of it. But You might consider checking up
"notEmpty" instead if you want the field not to be empty.
On Jan 15, 1:52 pm, "Louie Miran
if you don't see any debug dump, that could have been due to your
$cakeDebug is either empty or not in default.ctp layout
On Oct 22, 6:38 pm, xelios <[EMAIL PROTECTED]> wrote:
> My debug line is as follows:
> Configure::write('debug', 2);
>
> but still its not showing queries
>
> On Oct 22, 3:24
okay, I already did the user registration, but now, I want the user to
validate the email address the user is registered with. The user will
be sent an email for the validation link. now my concern here is that
link to my cakephp web app will be accessible for a limited time only.
because of that,
I don't know what exactly you want to achieve , but it is best that
you read over the manuals on
how to make paginations work.
http://book.cakephp.org/view/164/Pagination
On Sep 27, 2:04 am, "Eric C. Weaver" <[EMAIL PROTECTED]> wrote:
> In one model's (controller's) index action, I'd like to fe
yep. it's not real. i think they just want to use cakephp's popularity
in Search engines to make their site to earn some.
On Sep 17, 9:13 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> Is this real? Everything points to being a joke to me. . . I don't see
> any real world code . . . .
>
> On Sep 17,
I think what he meant was to make parts of his cakephp app secure by
redirecting it to https.
On Sep 4, 10:40 am, powtac <[EMAIL PROTECTED]> wrote:
> The "SSL stuff" is not connected to cake! This is something your
> server (apache) handles.
> An certificate just encrypts the connection between b
Hi guys,
Let's say, I have User model and it "belongsTo" a Group Model...
I use AuthComponent to authenticate users like in user login. but when
I dump the
$_SESSION the user object in Session doesn't have its association to
the Group Model.
what is the proper way to associate my user in active
my controller's code:
--
categories->generatetreelist($this-
>categories,"categories.id
ASC",NULL,"{n}categories.id","{n}categories.description");
pr($treelist);
}
}
?>
--
model's code:
-
I have almost the same problem as you do with regards to the
Session.start.
I do this in Cakephp 1.1.x when setting sessions:
define('AUTO_SESSION', false);
define('CAKE_SESSION_SAVE', 'database');
define('CAKE_SESSION_TABLE', 'cake_sessions');
define('CAKE_SESSION_TIMEOUT', '120')
e user is still allowed to access other areas
> of the site without being authenticated.
>
> The parameters that defines how long a session is considered to be
> active is different to the CAKE_SESSION_SAVE.
>
> On Aug 5, 4:40 am, phpcurious <[EMAIL PROTECTED]> wrote:
Hi,
I am getting frustrated with the session component in cakephp
1.1.xxx .
I already configured core.php to define('CAKE_SESSION_SAVE',
'database');
but how do i retrieve current session to check if current session is
still active ?
by using $this->cake_session->findAll($id) ? how do i get the
Hi,
I am using Cake 1.1.xxx ...
On Aug 3, 7:02 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Cake 1.2 ?
>
> echo $form->input('username');
>
> On Aug 4, 3:45 am, phpcurious <[EMAIL PROTECTED]> wrote:
>
> > when I use $html helper,
> > a
when I use $html helper,
and code
$html->input("username",array("type"=>"text"));
it says,
Notice: Undefined offset: 1 in XXX\cake\libs\view\helpers\html.php on
line 947
I had to hide this by changing debug from 1 to 0...
I hope somebody tells me what I am doing wrong...
--~--~-
16 matches
Mail list logo