All Questions

RSS

6 answers

2 votes

Asked by trevorsg, on 30/10/09 in Models

What do you think of my Validation tool?

I got frustrated with long complicated validation rules in my models, and the limited functionality of Bake's validation generation, so I made my own tool. If I get enough support I will clean it up, make it pretty, and probably get it its own...

1 answer

0 votes

Asked by ojtibi, on 30/10/09 in Shells

Creating schemas for models on different databases

Hi,

Here's my question, I was able to create schemas a few months ago but stopped because I made some custom models for tables on a different database, and for this particular example, a PHPBB surrogate model under the main app, same database...

3 answers

0 votes

Asked by phpcurious, on 30/10/09 in Installation / Configuration

How do you configure a cake app to run in a Subdir?

I just created a new cake app in a subdir in our company's web server.

My problem is I don't know how to configure the web app to run on a Subdir.

Can you please tell me how to do it?

1 answer

0 votes

Asked by technogeek, on 30/10/09 in Installation / Configuration

What plugin managers are available?

I am trying to see who all is writing plugin installers/managers for CakePHP. Think Pear/PECL/Apt but for CakePHP Plugins. There was some talk about this today in #cakephp but there was a lot of uncertainty. I would like to contribute to this...

2 answers

0 votes

Asked by ojtibi, on 30/10/09 in

Odd code in sanitize.php 1.2.5 line 223?

Google Groups original topic

As the poster on the group says, the following code is quite odd:


$data = str_replace("'", "'", str_replace("!", "!", $data));

Any ideas why that line appears in the file?

2 answers

0 votes

Asked by TheWorldofDan, on 30/10/09 in Models

Saving data to three models from one form

Hi, there is quite a large explination for the problem I'm having, so I've posted it on my blog

The long and the short of it is that I'm trying to save data to three different models from one form using saveAll, but it's not working.

2 answers

0 votes

Asked by Lemon, on 31/10/09 in Models

How can i disable counterCache?

I need to create 1000 model records and i dont want counterCache to update the count in the parent model each time i add a record.

Is there an easy way to disable counterCache and enable it again afterwards?

1 answer

0 votes

Asked by lenzcom, on 31/10/09 in Helpers

How can i declare a ' atom:link ' with ' rel = "self" ' in my RSS-Feed?

Hi there,

just searching for hours now to get it fixed.

How can i declare a ' atom:link ' with ' rel = "self" ' in my RSS-Feed?

I'm using this layout in "app/views/layouts/rss/default.ctp":


<?php
echo $rss->header();
if (!isset($documentData)) {
   ...

2 answers

0 votes

Asked by lenzcom, on 31/10/09 in Models

How can i write to sqlite-memory:db?

Hi,

how must my db-config look like to write into sqlite memory:db?

thanks...

3 answers

0 votes

Asked by Lemon, on 1/11/09 in Behaviors
<< 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.