All Questions

RSS

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

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?

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?

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

1 answer

0 votes

Asked by TheWorldofDan, on 1/11/09 in Models

Multi-model validation while $persistModel = true

I'm getting close to being finished on my site, and so after looking up ways of speeding up my site I found a tip to make $persistModel = true in my AppController. This seems to be working fine, until I need some multi-model validation.

I've got a...

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

1 answer

0 votes

Asked by TheWorldofDan, on 1/11/09 in Models

Update visits value

I'm looking to have a 'views' field in my chapters table/model which will be updated each time the chapter is viewed. To avoid this from being overloaded I wanted to set a variable in the session each time a chapter is viewed to prevent it from...

3 answers

0 votes

Asked by Lemon, on 1/11/09 in Behaviors

2 answers

-1 votes

Asked by lenzcom, on 4/11/09 in Helpers

The new js engine helpers...

Hi folks!

In 1.3alpha we have the new js engine helpers. Here's my question:

I need a DojoEngineHelper and here's my code so far:

<?php

App::import('Helper', 'Js');

class DojoEngineHelper extends JsBaseEngineHelper {

}

?

Please help me to dive in......

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