you set the validation rules in the Model of whatever your using (i'm
guessing users model) /app/models/user.php
search for cakephp validation in google and look in the cakephp
manual, it should be what you need.
On Jan 5, 6:53 pm, kicaj wrote:
> How validate field only we entered some value int
When I was learning php classes we made a model object for each type
of data we had. Each model would have crud from another class and then
model specific functions & attributes. For example i would have:
class Person extends Crud {
var $first_name;
var $last_name;
static function getpe
I have a cake app running and I have installed a site statistics
application in my webroot (piwik). I want to be able to make it so
when an admin logs in on my site, they can click on a link to the
piwik site and it will log in to piwik automatically. When you go to
the mysite.com/piwik/ it prompt
what you want is the
requestAction('controoler/view/to/include') function
it grabs the url in requestAction and can be echoed out in a view.ctp
On Nov 3, 11:34 pm, abc wrote:
> Hi all,
>
> I have an add.ctp file, which will enable the user to add new entries,
> there is another view.ctp file whic