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... 2 answers
0 votes
How do i implement search on third level using containable behavior
Hi,
I have developed an application using cake php 1.3.3 .
In this application there are tables like students,placements,batches,companies
In placements table there is student_id,company_id and in students table there is batch_id column.
In...
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...
1 answer
0 votes
Html link with image and text
<a href="#" title=""><img src="#" alt="" />Text here!!!</a>
How can I get this as cake html helper link?
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...
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.
