# |
Sep 22nd 2011, 11:35 |
freshman66 |
Hi all. Does one of you know at which point exactly gettext translation kicks in? I'm having a problem with a translation string which sits within a config file. It's beeing loaded in the pages controller and then passed to the template with "set". Silly problem, really, but I'm running out of ideas... Any help appreciated :-) |
# |
Sep 22nd 2011, 11:33 |
dakota |
Oldskool: http://en.wikipedia.org/wiki/Unobtrusive_JavaScript |
# |
Sep 22nd 2011, 11:33 |
dakota |
onClick? :/ |
# |
Sep 22nd 2011, 11:33 |
fenix` |
i just have a col in the user db called privs |
# |
Sep 22nd 2011, 11:33 |
fenix` |
i dont use admin_anything |
# |
Sep 22nd 2011, 11:33 |
ujjain |
but yeah, it can be helpful, model baking, controller baking, view baking |
# |
Sep 22nd 2011, 11:33 |
Oldskool |
does anybody have a clue why cake lowercases my id in this line of code? and is there a way to stop it? : echo $this->Form->button('Today', array('type' => 'button', 'onClick' => '$("#AccountDateStart").val(\'' . date('Y-m-d') . '\');')); |
# |
Sep 22nd 2011, 11:33 |
ujjain |
and the admin_index() shouldn't list long content fields |
# |
Sep 22nd 2011, 11:33 |
fenix` |
yeah |
# |
Sep 22nd 2011, 11:32 |
ujjain |
It can be very helpful yeah, but most cases you'd have to mass-edit anything, e.g. delete edit/delete/add features (no guest editing/adding/deleting), |
# |
Sep 22nd 2011, 11:32 |
fenix` |
crud and the login/out system |
# |
Sep 22nd 2011, 11:32 |
fenix` |
ujjain: crud is all thats there.. |
# |
Sep 22nd 2011, 11:31 |
ujjain |
not even remotely everything. |
# |
Sep 22nd 2011, 11:31 |
ujjain |
Just CRUD. |
# |
Sep 22nd 2011, 11:31 |
fenix` |
everything else? pretty much. |
# |
Sep 22nd 2011, 11:30 |
fenix` |
the auth system? hell no. |
# |
Sep 22nd 2011, 11:30 |
fenix` |
wait bake what exaclty |
# |
Sep 22nd 2011, 11:30 |
fenix` |
no |
# |
Sep 22nd 2011, 11:30 |
ujjain |
fenix`: don't tell me Cake can bake that. |
# |
Sep 22nd 2011, 11:29 |
ujjain |
with default template, can't really find functionality that was baked. |
# |
Sep 22nd 2011, 11:29 |
fenix` |
not fully default, theres a logout link and a user profile link |
# |
Sep 22nd 2011, 11:29 |
ujjain |
This is a freshly baked app. |
# |
Sep 22nd 2011, 11:29 |
DidItAgain |
looks really good |
# |
Sep 22nd 2011, 11:29 |
ujjain |
I only see the default page. |
# |
Sep 22nd 2011, 11:29 |
fenix` |
ujjain: still working on that |
# |
Sep 22nd 2011, 11:29 |
ujjain |
test test |
# |
Sep 22nd 2011, 11:29 |
fenix` |
test test |
# |
Sep 22nd 2011, 11:29 |
ujjain |
default template :p |
# |
Sep 22nd 2011, 11:29 |
DidItAgain |
whats the username and password though -.- |
# |
Sep 22nd 2011, 11:28 |
DidItAgain |
hey looks good |
# |
Sep 22nd 2011, 11:28 |
ujjain |
hmm, would like to see the power of bake though, I don't use it much. |
# |
Sep 22nd 2011, 11:28 |
fenix` |
try now |
# |
Sep 22nd 2011, 11:28 |
DidItAgain |
lol fenix |
# |
Sep 22nd 2011, 11:28 |
fenix` |
im currently editing that file |
# |
Sep 22nd 2011, 11:28 |
fenix` |
that |
# |
Sep 22nd 2011, 11:28 |
fenix` |
oh |
# |
Sep 22nd 2011, 11:27 |
ujjain |
users/login -> Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /var/www.charmaster/app/Controller/UsersController.php on line 10 |
# |
Sep 22nd 2011, 11:27 |
fenix` |
parse error? |
# |
Sep 22nd 2011, 11:27 |
ujjain |
parse error |
# |
Sep 22nd 2011, 11:27 |
ujjain |
fenix`: I am not impressed :P |
# |
Sep 22nd 2011, 11:27 |
fenix` |
DidItAgain: charmaster.f3n.org user: test, login: test that was done 99% with bake |