2 answers
0 votes
Unit testing in CakePHP?
I got a couple of questions about unit testing in CakePHP:
- how do you guys unit-test in CakePHP?
- How do you incorporate tests in projects?
- What parts of a project do you test?
- How do you decide which parts gets to be unit-tested?
- Do you guys still...
2 answers
1 vote
Load components globally without a controller
Hi,
I've got a layout which would be generaded by some
model-data (I.e.: Navigation, Categories .. ).
So if I want to access a Controller who doesn't exists
no valid controller could be loaded and also no components.
So, is it possible to load...
3 answers
0 votes
Parse Raw E-Mail
Hey guys the webserver in my host forwards incoming e-mails to a php script that I wrote which just reroutes it in the form of a post request.
I need a way to parse this raw EMAIL on the PHP file that receives this post request, and basically...
1 answer
0 votes
HAML/SASS views
Is anybody using HAML/SASS views in a serious fashion? Is the Chaml package stable enough to use in production? I played around with it, and it seemed a little flaky and picky about whitespace.
Does anyone have a good recommendation for a PHP HAML...
1 answer
0 votes
Modify htaccess to prevent hotlinking
Hello,
There's a smartass hotlinking images on my site. I know I can create a rule inside .htaccess to prevent hotlinking but I can't get it to work. Which htaccess file should I put my rule in? I tried modifying the one inside webroot but it...
1 answer
0 votes
HABTM not saving
I have the following models.
Recipe, Ingredient, RecipeTag
the add.ctp for recipe has the following:
echo $form->input('Ingredient.Ingredient');
echo $form->input('Recipetag.recipetag');
Those both seem to work correctly from the the form as they...
2 answers
0 votes
Display form field specific validation errorsspecific
I can get the form validation errors to work with a form that validates against 1 model.
But now I have a mixed form and validate against multiple models.
The field specific errors don't show anymore, but luckily I can catch the field erros using...
2 answers
-2 votes
Place Cursor in textbox automatically on-page
how to Place Cursor in textbox automatically on-page load in cakephp ?
2 answers
2 votes
CakeSchema documentation?
Hi all,
anybody knows where documentation for cake schema is? For instance what datatypes are supported, keys, indices and so?
2 answers
1 vote
Option for Current Link In Pagination Helper
I'm using the PaginationHelper and in my view I need to set the class for the current page's link to "current number" and I also need to get rid of the | characters before and after the pages.
I can set the overall class but not the current page...
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.
