All Questions

RSS

0 answers

0 votes

Asked by finthamoussu, 5 days, 14 hours ago in Controllers

Simple Problem (HABTM, Filter and Pagination)

Hi, I 'm stucked with a problem that should be easy to solve but for some reason I can't find a solution.

I have been reading q&a, docs, the cookbook but seems difficult to find a definive and clear solution.

I have something similar to the example...

1 answer

0 votes

Asked by bmilleker, 5 days, 16 hours ago in Installation / Configuration

Upgrading to 1.3 - Core.php and Routers.php

I am migrating my app to cake 1.3 from 1.2.*. I have tried following the migration guide but I am having weird issues with my routes and even core.php.

Core.php: I do not see any debug messages. I have it set to 2 and nothing...

1 answer

0 votes

Asked by Muthuvel, 5 days, 19 hours ago in Models

running SQL Queries

hello i need to run the following query

$max=$this->Question->query("select max(qset) from questions where category_id = ".$this->Session->read('categoryid')." ;");

but it is not fetchiny any values...please rectify this problem...

2 answers

0 votes

Asked by tsteel, 5 days, 23 hours ago in Models

Dropdown lists

I want to create a drop down list for 'Title' (eg. Mr, Mrs, Miss, Sir) etc..

Where should the array go? In the model or the controller?

I was thinking it should go in the model and that it should be private. But if I make it private I cannot access...

1 answer

0 votes

Asked by ghasemfattahpour, 6 days, 12 hours ago in Components

Review how to access other action by the ACL

We have a controller called mytest.

We have six control method.

1. add

2. delete

3. edit

4. view

5. index

6. mymethod

We now define the name of a user myuser!

Default deny all privileges are.

Now we want to carry on myuser allow only method (action)...

0 answers

0 votes

Asked by Drakie, 6 days, 17 hours ago in Models

Is it posible to integrate a different ORM (Propel)

Hey CakeBakers!

During my search for a nice PHP framework I really liked CakePHP and I also fell in love with Propel.

Now I wonder if it's posible (and been done) to combine those two?

0 answers

0 votes

Asked by w3bd3v, 6 days, 20 hours ago in Models

What collation does cakephp use for join tables?

While building scaffolds in eclipse I noticed something worrisome. The eclipse UI uses a different collation than my DB. For example, eclipse orders controllers in its UI the following way.

sched_details_controller.php

schedules_controller.php

In...

1 answer

0 votes

Asked by tsal2010, 6 days, 22 hours ago in Models

Produce downloadable report on the fly

Hello

I wonder if someone can point me in the right direction, just in the process of developing my first app with cake php.

Require the facility to produce a report, understand I need to use media view but is this not related to an existing file? ...

1 answer

0 votes

Asked by indrajitlahiri, 1 week ago in Models

populate a select box from db table

my apologies if I soud novice because I have just started learning cakephp fw

in your example project of cake blog there r 'posts' table and its corresponding model, controller and views. I have created another table 'users' and created model,...

0 answers

0 votes

Asked by mryanmay, 1 week, 1 day ago in Models

Complex Query Question

Hello! I have these relations in my database:

Messages --(HABTM: user_messages)-- Users --(HABTM: see below)-- Sections

The Users model actually has 2 different relationships to sections called Taking and Teaching. Some users take sections while...

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.