# |
Sep 11th 2009, 13:31 |
Ceeram |
anyone using eclipse? |
# |
Sep 11th 2009, 13:30 |
_shoot^ |
Folks, for some reason my media views are loading nothing but blank pages. Suggestions? |
# |
Sep 11th 2009, 13:27 |
TehTreag |
lukas: Yeah. Sorry, I forgot about code.cakephp.org; |
# |
Sep 11th 2009, 13:26 |
markstory |
most other non cake core things are on thechaw.com |
# |
Sep 11th 2009, 13:26 |
markstory |
lukas: code.cakephp.org has cake code. |
# |
Sep 11th 2009, 13:26 |
lukas |
thanks |
# |
Sep 11th 2009, 13:25 |
TehTreag |
lukas: For the most recent development - http://www.thechaw.com |
# |
Sep 11th 2009, 13:24 |
lukas |
what is the link to GIT server? :) |
# |
Sep 11th 2009, 13:22 |
TehTreag |
D |
# |
Sep 11th 2009, 13:21 |
markstory |
back to work! |
# |
Sep 11th 2009, 13:21 |
markstory |
ACTION smacks TehTreag |
# |
Sep 11th 2009, 13:18 |
TehTreag |
ACTION yawns |
# |
Sep 11th 2009, 12:58 |
TehTreag |
yq: No problem. |
# |
Sep 11th 2009, 12:57 |
yq |
thanks! |
# |
Sep 11th 2009, 12:56 |
yq |
TehTreag: awesome. looks like what i'd be using |
# |
Sep 11th 2009, 12:56 |
TehTreag |
yq: http://snook.ca/archives/cakephp/contact_form_cakephp/ |
# |
Sep 11th 2009, 12:54 |
TehTreag |
yq: Good luck. |
# |
Sep 11th 2009, 12:53 |
yq |
TehTreag: I might try that. Currenly i'm doing it for dynamically generated list of form elements with user specified validation rules. Hope i can get it done this way |
# |
Sep 11th 2009, 12:50 |
TehTreag |
yq: You can create a model that does not have a database table; set the $useTable member of your model to false. Setup your validation rules, and go. |
# |
Sep 11th 2009, 12:49 |
TehTreag |
lukas: You can add models to your controllers $uses member. However, there are two alternatives that may give better performance. ClassRegistry::init(), and Controller::loadModel(). |
# |
Sep 11th 2009, 12:42 |
yq |
I have forms inputs that arent backed by any models. Is it possible to do validation on the forms or manually flag validation errors by doing my own checks |
# |
Sep 11th 2009, 12:28 |
Exterminans |
Can someone help me with the translate-behaviour? I need a way to fall back to an language that exists in the database, like i18n does when using __() |
# |
Sep 11th 2009, 12:27 |
lukas |
like site.com/users/login would use models/any_other.php? |
# |
Sep 11th 2009, 12:27 |
benlieb |
?> |
# |
Sep 11th 2009, 12:27 |
benlieb |
} |
# |
Sep 11th 2009, 12:27 |
benlieb |
} |
# |
Sep 11th 2009, 12:27 |
benlieb |
exit(); |
# |
Sep 11th 2009, 12:27 |
benlieb |
parent::__construct($method, $messages); |
# |
Sep 11th 2009, 12:27 |
benlieb |
$this->set('module', $this->controller->module); |
# |
Sep 11th 2009, 12:27 |
benlieb |
$this->controller->beforeFilter(); |
# |
Sep 11th 2009, 12:27 |
benlieb |
$this->controller->params = $params; |
# |
Sep 11th 2009, 12:27 |
benlieb |
$this->controller->_set(Router::getPaths()); |
# |
Sep 11th 2009, 12:27 |
benlieb |
$this->controller =and new AppController(); |
# |
Sep 11th 2009, 12:27 |
benlieb |
function __construct($method, $messages) { |
# |
Sep 11th 2009, 12:27 |
benlieb |
class AppError extends ErrorHandler { |
# |
Sep 11th 2009, 12:27 |
benlieb |
<?php |
# |
Sep 11th 2009, 12:27 |
benlieb |
so far I have this: |
# |
Sep 11th 2009, 12:27 |
unclezoot |
course |
# |
Sep 11th 2009, 12:26 |
lukas |
is it possible to tell cake which model file to use manually? |
# |
Sep 11th 2009, 12:26 |
unclezoot |
build your own error layout + handler |
# |
Sep 11th 2009, 12:22 |
benlieb |
my app loads some objects in the app_controller::beforeFilter() that are necessary to make the layout work (menus and such), however when showing missingController errors, this is not run, so the layouts fail with fatal errors. HOw can I avoid this? |