# |
Aug 8th 2008, 03:47 |
phunkk |
anybody with an opinion concerning simple-form-authentication vs. cake's Auth component? |
# |
Aug 8th 2008, 03:43 |
alkemann |
right |
# |
Aug 8th 2008, 03:43 |
pgcd |
alkemann: ok, i found that i have to use FormHelper as well |
# |
Aug 8th 2008, 03:40 |
pgcd |
alkemann: if i try something like this: class ExtendedFormHelper extends FormHelper, i get a fatal error (Class 'FormHelper' not found) |
# |
Aug 8th 2008, 03:33 |
pgcd |
alkemann: ok, i see |
# |
Aug 8th 2008, 03:33 |
alkemann |
or maybe even in the view where ur using the helper |
# |
Aug 8th 2008, 03:32 |
alkemann |
in the helper u make or use |
# |
Aug 8th 2008, 03:31 |
pgcd |
alkemann: in app_helper, you mean? |
# |
Aug 8th 2008, 03:30 |
alkemann |
put it in the helper as a start value |
# |
Aug 8th 2008, 03:30 |
pgcd |
alkemann: in the edit form (it's a validity date range kind of field) |
# |
Aug 8th 2008, 03:28 |
alkemann |
defaults for all models? as in all models ahve the same field and u want it to have a default start value in the edit form? or in the DB if not supplied? |
# |
Aug 8th 2008, 03:28 |
pgcd |
alkemann: i guess i'll find something in the bakery then, thank you |
# |
Aug 8th 2008, 03:27 |
alkemann |
there are dozens. even made one or two myself |
# |
Aug 8th 2008, 03:27 |
pgcd |
alkemann: have you seen anything like that? i'd appreciate a starting point... i also need to have some fields display a default value in all models - would that be something to do in appModel or in appController? |
# |
Aug 8th 2008, 03:25 |
alkemann |
pgcd: extend it or make ur own helper that uses form helper |
# |
Aug 8th 2008, 03:25 |
pgcd |
are the methods in FormHelper overrideable? I mean, is there a way to have all datetime fields display a calendar style thingy? |
# |
Aug 8th 2008, 03:24 |
alkemann |
the_mak: http://cakephp.org/#learn |
# |
Aug 8th 2008, 03:22 |
the_mak |
can any give me a site where i can learn to make simple site for learning... i mean how to work with the cake. |
# |
Aug 8th 2008, 03:21 |
pgcd |
alkemann: i guess you can - i'm using actsas('containable') and it seems to work |
# |
Aug 8th 2008, 02:54 |
alkemann |
cant add actsAs to AppModel? |
# |
Aug 8th 2008, 02:44 |
sembry |
no answer for my question ? :s |
# |
Aug 8th 2008, 02:40 |
sembry |
u're welcome ! |
# |
Aug 8th 2008, 02:39 |
Bobby |
sweeeet thank you! |
# |
Aug 8th 2008, 02:39 |
sembry |
$this->viewVars in your controller :) |
# |
Aug 8th 2008, 02:38 |
Bobby |
hello all, is there a way to access variables already set for the view, but within the controller? |
# |
Aug 8th 2008, 02:37 |
sembry |
i've tried to define routes with #something , but i think it's not interpreted by Router :s |
# |
Aug 8th 2008, 02:37 |
sembry |
does somebody know if we can use anchors links to define routes with router ? example : i want www.example.com/search/#tab/list route on search controller, with param tab passed as if the user calls directly www.example.com/search/list (necessary for using browser history with ajax links) |
# |
Aug 8th 2008, 02:34 |
sembry |
hi |
# |
Aug 8th 2008, 02:17 |
pgcd |
alkemann: likewise |
# |
Aug 8th 2008, 02:16 |
alkemann |
good morning |
# |
Aug 8th 2008, 02:16 |
thestaff |
g'night all ;-) |
# |
Aug 8th 2008, 02:02 |
pgcd |
good idea =) |
# |
Aug 8th 2008, 02:02 |
mscdex |
yeah, i'm attempting to use the console first heh |
# |
Aug 8th 2008, 02:01 |
pgcd |
mscdex: make sure you use the correct HABTM declaration, though =) |
# |
Aug 8th 2008, 02:01 |
mscdex |
thanks |
# |
Aug 8th 2008, 02:01 |
mscdex |
ah ok, i'll try that out and see what happens |
# |
Aug 8th 2008, 02:01 |
pgcd |
anybody here conversant with prototype, btw? I have a situation where document.viewport returns the wrong data... |
# |
Aug 8th 2008, 02:00 |
pgcd |
mscdex: sorry, that HABTM declaration syntax was wrong, hope you know what i mean |
# |
Aug 8th 2008, 01:58 |
pgcd |
i think that way you get the correct SQL (convention over configuration, etc) |
# |
Aug 8th 2008, 01:57 |
pgcd |
dependency_id |
# |
Aug 8th 2008, 01:57 |
pgcd |
and your second id should be simply |