Unsolved Questions

RSS

0 answers

0 votes

Asked by ankitpatel, 56 minutes ago in Models

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

Asked by patelnehal4u, 5 hours, 52 minutes ago in Helpers

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

Asked by akernander, 14 hours, 55 minutes ago in Models

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

Asked by dryhead, 16 hours, 21 minutes ago in Controllers

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

Asked by debadatta, 1 day ago in Models

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

Asked by adyopo, 1 day, 2 hours ago in Models

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

Asked by tibit, 1 day, 5 hours ago in Models

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

Asked by akernander, 1 day, 8 hours ago in Models

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

Asked by Muthuvel, 1 day, 8 hours ago in Models

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

Asked by simon604, 1 day, 10 hours ago in Models

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...

<< previous 1   2   3   4   5   6   7   8   9

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.