I have been looking through the documentation and tutorials regarding
changing the default layout. When the home page is loaded it states
To change its layout, edit: C:\CakePHP\uniform\UniServer\www
\project1\views\layouts\default.ctp however, the other articles that
I have read state that
Hi,
I have similar kind of experiences and this seems like a very sensible
solution... one thing I would add to this is a thing called Attribute
Groups or with properties, Property Groups. This would enable you
to specify predefined sets of properties / property types for
different types of
I think you could also use behaviors - put all the common functions
into the behavior and then set each of the model classes to
behave. :)
See more http://book.cakephp.org/view/88/Behaviors
On Jun 21, 11:47 pm, Miles J mileswjohn...@gmail.com wrote:
I thought of an idea if I use multiple
I have to add one point to the lack of advanced documentation ... it
is getting better but it's not quite there yet ... API docs are
relatively good, but I think they lack some examples of for example
how to use parameters in function calls. I have not found it feasible
to go through core cake
Hi,
I think the cleanest way to handle this issue is to use model's
beforeSave method to encrypt the plaintext password as this method is
called AFTER validation is done. This way you can maintain your
original validation code and it is more readable and understandable
and you do not have to
:
http://c7y.phparch.com/c/entry/1/art,cakephp-rest
jimbo wrote:
I am trying to implement a RESTful web service in Cake 1.2 (RC2) that
could receive XML content through HTTP POST and basically add that
content as a new row to a db (through a basic simple model) or
updating an existing one
Hi,
I am trying to implement a RESTful web service in Cake 1.2 (RC2) that
could receive XML content through HTTP POST and basically add that
content as a new row to a db (through a basic simple model) or
updating an existing one (HTTP PUT).
I have managed to read data from db and pushing that
Hi,
can anybody help me with this problem, I am creating a simple link in
one of my views and I am having a problem giving an onClick option/
attribute for the link, as it seems cake is escaping/encoding the
javascript function special characters like this:
echo $html-link(foo, '#',