6 answers
2 votes
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
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
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
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
Odd code in sanitize.php 1.2.5 line 223?
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
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
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
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
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
How can i add additional conditions to the ON clause with Linkable?
I'm using the Linkable behavior (http://blog.rafaelbandeira3.com/2008/11/16/linkable-behavior-taking-it-easy-in-your-db/) to generate joined queries.
I have the following find operation:
$episodes =... 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.
