0 answers
0 votes
call model validation for multiple actions
Hi,
Can u plz help me out, how to call validation for multiple actions of a controller
E.g. a user controller, in user controller add, signup, forgot password .. etc are actions
now in model class User extends AppModel{
}
how to validate mentioned...
0 answers
0 votes
Problem in Observefield method.
I am using observeField method to observe one selectbox and onchange of first selectbox update the next one. I had included jQuery.js only on main page and this work correct on that page without any js error.
echo... 0 answers
0 votes
Several user types. Extend User model?
My system is using Auth with a users table and a groups table, as well as a profiles table for user profiles.
I have a table that needs to belong to two users, one is a Dealer the other is a Customer. (I also have another group of Users, the...
0 answers
0 votes
Userlogin for a controller with admin-methods
Hi, I'm trying to setup a userlogin for a controller, that only has admin-methods for index, add, view etc.
After typing the correct credentials I am not logged in and instead led to the root of my app.
If I try the same setup with regular...
0 answers
0 votes
How to save data in join table
Hi all,
I have created three tables like projects,employees and technologies
and also their respective models in HABTM .
I want to create a form for project by which I can assign many
employees and for different technologies.
So that I have taken a...
0 answers
0 votes
Added a new model that refuses to work
Hello, I have a pretty hefty app. After refactoring I found out I needed a new model, so I created the table for it, then the model, controller, views, tests, everything. The only problem is that when I visit the newly created controller in the...
1 answer
0 votes
How can i add a prefix to existing tables
hi,
I have already an live application ,how can i add to the db tables a prefix 2001_users for example so the application will still work.What i have to use .
Thanks
1 answer
0 votes
hasMany and saveAll, what am I missing?
Hey all,
So I have a Warranty model that hasMany WarrantyData which is stored in a key/value db table. My form is two parts, the first of which just creates/edits Warranty and redirects to a form that creates/edits the WarrantyData.
I came across...
0 answers
0 votes
update query
hi i am new to cake.. i need to use update query... i am developing online test application...
so the user submits the answer for the first time the insert query should execute..if the user changes the answer for already answered question the...
0 answers
0 votes
Cake bake all MySQL connection error
Hi Guys, newbie here. I setup MAMP and cakePHP on my mac. I was able to do the blog tutorial and now I am doing the Acl tutorial.
When I run cake bake all, I am getting "Access denied for user 'root@localhost' (using password: YES). I have ensured...
How does CakePHP Questions work?
CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!
After you ask your question you just need to wait until you have got some answers and pick the correct answer.
Other users might help you by finding the right answer by voting and giving comments.
