All Questions

RSS

1 answer

0 votes

Asked by TriLLi, 1 week, 2 days ago in Models

Disable multidimensional array query result in cakephp model

Hi,

I would like to disable multidimensional array returned as result from query.

I would like to have it like simple query result array

1 answer

0 votes

Asked by Eulinky, 1 week, 2 days ago in Components

Auth on static start page

Hi, I have an index.ctp under app\view\pages which is used to display a Hello message. What I wanna do now is to put a login form on my start page which is obviously only displayed when a user is not logged in. But I do not find a way to access...

2 answers

0 votes

Asked by ashong, 1 week, 2 days ago in Behaviors

problem with Tree

My model use actAs with Tree, but some thing wrong when I try to get the level path like

in PostsController call

$this-Post-getpath(...)

it shows an error


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server...

2 answers

0 votes

Asked by Tamsmiranda, 1 week, 2 days ago in Models

Valadete field 2 only if field 1 is not empy!

How i can validate field 2 only if the field 1 is not empty?

Field1 [callme] (boolean)

Field2 [phone] (phone)

if [callme] notnull validate [phone]

2 answers

0 votes

Asked by frandres, 1 week, 2 days ago in Installation / Configuration

Hardware requirements/ License

Hello!

I am doing a research project for my school, comparing several frameworks.

I was wondering if you have any set of Hardware Requirements?

What particular license do you use?

Thanks!

Francisco Rodriguez,

Ccs, Venezuela.

1 answer

0 votes

Asked by netinfinity, 1 week, 2 days ago in Views

How do I customize the display for my application?

Hello,

I am just getting started on CakePHP. I was able to create a fairly simple application to manage master information in a database.

However, I am unable to edit the default display that comes with it. It shows the sql and field information at...

1 answer

0 votes

Asked by klick73, 1 week, 2 days ago in Models

How to save data in an different table than the controller table when no relations?

Hi!

When a user modify something, the admin has to check before. so I'd like to save the changes in a temporary table until the admin check the changes.

I have a table "book" for the model Book and I ve created a table "book_admins" to store when a...

1 answer

0 votes

Asked by sucram, 1 week, 2 days ago in Controllers

paginate bindModel, contain, group by

Hi!

How do I paginate this?


		$numCount = count($searchTerms);		
		$contain =...

0 answers

-1 votes

Asked by shahid, 1 week, 2 days ago in Helpers

Prototype.js Ajax submit is not working in Safari..

Ajax submit is not working in Safari

This is code:

$ajax->submit('Submit',array("class"=>"btnSaveForum")

);

Thanks

in advance

0 answers

0 votes

Asked by joaquin, 1 week, 2 days ago in Controllers

Using Controller tests to find warnings

I'm doing some refactoring that affect all controllers and wanted to make sure I covered everything by looking at my controller tests and watching for errors and warnings raised with trigger_error. The problem comes that when I run a test that is...

4   5   6   7   8   9   10   11   12

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.