All Questions

RSS

0 answers

0 votes

Asked by ankitpatel, 57 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, 53 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...

2 answers

0 votes

Asked by pankaj1980, 6 hours, 34 minutes ago in Controllers

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

Asked by akernander, 14 hours, 56 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, 22 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...

1 answer

0 votes

Asked by JaRo, 21 hours, 12 minutes ago in Helpers

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

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

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