# |
Sep 22nd 2011, 11:38 |
fenix` |
whats the query, is it an insert? |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
ACTION slaps ADmad around a bit with a large trout |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
so all of my requests and responses are in AJAX |
# |
Sep 22nd 2011, 11:37 |
fenix` |
oh right... |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
I use ExtJS for the frontend |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
yes |
# |
Sep 22nd 2011, 11:37 |
ujjain |
I don't think DidITAgain can bake it, since he uses Ajax requests. |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
-.- |
# |
Sep 22nd 2011, 11:37 |
DidItAgain |
! |
# |
Sep 22nd 2011, 11:37 |
fenix` |
bake it! |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
even though my id is set |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
my controller does a save instead of an update |
# |
Sep 22nd 2011, 11:36 |
fenix` |
with? |
# |
Sep 22nd 2011, 11:36 |
DidItAgain |
guys, anyone willing to help me out here? |
# |
Sep 22nd 2011, 11:36 |
freshman66 |
Forgot to mention that the string is passed without being translated and that otherwise translation is working fine. |
# |
Sep 22nd 2011, 11:35 |
fenix` |
i reckon they should have cake bake an auth system in, if it detects a suitable users table |
# |
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 |