Ubuntu
Vim (still learning but already useful for me)
Gedit
Git
Shell
Apache
Mysql
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsu
Right on. Was only curious since Security create a hash based on the fields
I figured there must be some way to do the same thing and use it for
whatever reason.
Thanks for the info all the same.
K
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On B
So is this correct?
The 'likes' table has one record for each time a User is liked (i.e.
if 50 people have indicated that they like the User with user_id = 23,
then there are 50 records in the 'likes' table with user_id = 23), and
User hasMany Like
Like belongsTo User
If so, have you considered
it is not possible
the controller has no direct link to the form helper
especially not after a post (and therefore BEFORE the form is rendered
again).
controller + model are finished before the view even starts to render.
you would need to embed the keys as a hidden field in the form itself
(+ ha
Sorry I think you missed my point.
Example:
I have a form with 50 fields. I would have to manually type out all 50 if
they have to be in the form = pain
Im interested in grabbing all the field names the form has before its
rendered. Then use that in the function before saving
beforeRender() / befo
On Sat, Apr 2, 2011 at 3:10 PM, Krissy Masters
wrote:
> Reading the bit about making fields required in a form so a user can not
> firebug them out and thought is there a way to manually grab the names of
> the fields in a form being rendered in the controller?
> Form might have 50 fields and you
i forgot:
in my routes.php
Router::connect(
'/blog/*',
array('controller' => 'blogs', 'action' => 'pseudo')
);
in the controllers i have:
var $paginate = array(
'Article' => array(
'limit' => 5,
'order' => array(
you can see this links
http://kyle77680.awsblog.net/?cat=165
in bottom i have the pagination of the posts list (articles in
frensh )
if you try to get the second page for exemple you will be return to
the default page of the blog
On 2 avr, 19:51, "Krissy Masters" wrote:
> What does your code loo
What does your code look like?
Every controller or just 1 page set? Need to provide some details / code to
the problem not "just its not working" we can't see what your doing so your
going to have to help us a bit there :)
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-ph
On Apr 2, 2011, at 14:25, Krissy Masters wrote:
> Could be the problem "i'm using cackephp 0.2.9".
I'm going to guess that's a typo for cakephp 1.2.9.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.c
Could be the problem "i'm using cackephp 0.2.9".
K
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, se
Reading the bit about making fields required in a form so a user can not
firebug them out and thought is there a way to manually grab the names of
the fields in a form being rendered in the controller?
Form might have 50 fields and you need them all, writing out all of that
would be trauma. (but w
Thanks a lot :)
On Sat, Apr 2, 2011 at 3:00 PM, cricket wrote:
> On Sat, Apr 2, 2011 at 12:44 PM, Ma'moon wrote:
> > Hi,
> > Is there any way to detect if a model is already been loaded or not,
> > something like a method called "$this->isLoaded($modelName)" that you can
> > call from within th
On Sat, Apr 2, 2011 at 12:44 PM, Ma'moon wrote:
> Hi,
> Is there any way to detect if a model is already been loaded or not,
> something like a method called "$this->isLoaded($modelName)" that you can
> call from within the controller?
> Thanks in advance for any help :)
ClassRegistry::isKeySet('
On Fri, Apr 1, 2011 at 8:43 PM, mike wrote:
> Is there a way to set the session timeout when a user logs in?
>
> I have a timeout setup for field agents, but there are a few users who
> only access the application from their office, and want to have the
> session timeout much longer (essentially f
Hi,
Is there any way to detect if a model is already been loaded or not,
something like a method called "$this->isLoaded($modelName)" that you can
call from within the controller?
Thanks in advance for any help :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.
Hi func0der,
don't take it bad but I think you didn't read well my post, neither the
title...
I ask how to do it without savingAll, as I wanted to validate data in
diferent steps and save at the end.
Then as euromark pointed out in his blog the if statements check the first
element and if it
i think you are mixing stuff things up
those are two totally different and independent sites usually (two
subdomains)
why would you want to redirect via cookies between those urls
doesnt make any sense to me
On 2 Apr., 02:55, Emano wrote:
> How to create cookie that redirect to the first page vi
http://www.dereuromark.de/2010/09/21/saving-model-data-and-security/
paragraph "Primary key injection on edit actions"
similar to this add it before saving the data
On 2 Apr., 08:22, Anas wrote:
> HI
> I have this situation where admin can add some object(let's it id
> notification ) belong to
hello for all cackeer :)
i need some help i have a pagination system in my views and it work
perfect
but when i select new or prvious or a page i get the site index
page !!
can any body estimate what can be the source of this problem
i'm using cackephp 0.2.9
--
Our newest site for the community
HI
I have this situation where admin can add some object(let's it id
notification ) belong to a user let the method in controller look like
this
I backed every thing models controller views
function admin_add($user_id=null){
//code for adding notification
}
who can i pass user_id to add fo
How to create cookie that redirect to the first page visited.
e.g: I visit page call blog.mysite.com, create a cookie and when I
visit next week www.mysite.com I"ll redirect to blog.mysite.com
How to make this?
Tnks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cake
Is there a way to set the session timeout when a user logs in?
I have a timeout setup for field agents, but there are a few users who
only access the application from their office, and want to have the
session timeout much longer (essentially for a working day)
Is there a way to override the conf
Thanks howver I am not interested in
On Fri, Apr 1, 2011 at 3:41 PM, Makro Tech wrote:
> Hi
>
> This is Vignesh with Makro Technologies, Inc.
> We have been in business for over 10 years and we are one of the Fast 500
> National IT staffing and Solution firms in USA. Our clients include
> countr
What do you use for media streaming ? There are different media
servers, if you use any.. If not, then you cannot stream these media
and you have to wait to load whole song to play it.. So there could be
the problem, slow connection or smth like that.
Also , did you program that flash or did you us
>Can I have sub-folders in the models?
Yes you can.
That goes for controllers and "libs" too, whithout any configuraton.
On Apr 1, 11:36 am, Ryan Schmidt wrote:
> On Apr 1, 2011, at 10:29, Anas Mughal wrote:
>
> > Do components have access to models?
>
> My understanding is that components can h
Okay sorry. i was wrong. That is not working anymore...
But this is:
--
if ($this->ModelName->saveAll($this->data, array('validate' =>
'only'))) {
--
comes from here:
http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
you sh
Yeah but it is much easier.
Just use this:
if ($this->User->validates($this->data) && $this->User->Profile-
>validates($this->data)) { ...
Done ^^
On Apr 1, 11:37 am, netusco wrote:
> Hey great euromark!
>
> that was exactly what I needed, I di
Hi Rishab,
In Cakephp /app/config/core.php file you will find some options for
sessions. You need to set the option to keep the sessions in database. For
this you need to create a table in database with required fields like: id,
user_id, userId etc. Cake will take care of it and fill your fields w
29 matches
Mail list logo