# |
Sep 13th 2009, 17:23 |
dogmatic69 |
unclezoot: you have a echo? |
# |
Sep 13th 2009, 17:23 |
Ceeram |
cd to the app dir or use cake bake -app pathtoapp |
# |
Sep 13th 2009, 17:23 |
unclezoot |
actually that's a lie, the html is coming out but the js + css arent getting loaded |
# |
Sep 13th 2009, 17:23 |
dogmatic69 |
NoReGreT: ? |
# |
Sep 13th 2009, 17:22 |
NoReGreT |
the app directory is passed to cake bake ? |
# |
Sep 13th 2009, 17:22 |
dogmatic69 |
what is the folder structure? |
# |
Sep 13th 2009, 17:22 |
unclezoot |
no error, that's the problem |
# |
Sep 13th 2009, 17:21 |
dogmatic69 |
what is the error |
# |
Sep 13th 2009, 17:21 |
unclezoot |
my plugin.helpers methods arent working in my layout :\ |
# |
Sep 13th 2009, 17:20 |
Dimatter |
nevermind :) |
# |
Sep 13th 2009, 17:20 |
dogmatic69 |
i think there is a way to do it with find also |
# |
Sep 13th 2009, 17:20 |
unclezoot |
isnt that only relevant for i18n? |
# |
Sep 13th 2009, 17:19 |
Dimatter |
you write a string and then replaces "%" within that string with some variables for example |
# |
Sep 13th 2009, 17:19 |
dogmatic69 |
there is a cake way |
# |
Sep 13th 2009, 17:19 |
unclezoot |
then sprintf($string, $value) |
# |
Sep 13th 2009, 17:19 |
dogmatic69 |
name => $name? |
# |
Sep 13th 2009, 17:19 |
unclezoot |
you put %s in your string |
# |
Sep 13th 2009, 17:19 |
Dimatter |
yeah. |
# |
Sep 13th 2009, 17:19 |
unclezoot |
you talking about strings? |
# |
Sep 13th 2009, 17:18 |
Dimatter |
syntax even |
# |
Sep 13th 2009, 17:18 |
Dimatter |
what was the sytax of the "replace the % with string" thing ? something like "SELECT item_count FROM users WHERE id = '%'", 3 |
# |
Sep 13th 2009, 17:16 |
unclezoot |
if i load a plugin.helper in my app_controller, should it be accessible in my layout? |
# |
Sep 13th 2009, 17:16 |
unclezoot |
hmmm |
# |
Sep 13th 2009, 16:47 |
ionas82 |
first I would recommend just reading Chapter 1 to 3 at least |
# |
Sep 13th 2009, 16:42 |
dogmatic69 |
follow the tut on book first it has everything to get you started |
# |
Sep 13th 2009, 16:42 |
NoReGreT |
thanks |
# |
Sep 13th 2009, 16:41 |
dogmatic69 |
or just what cake gives you |
# |
Sep 13th 2009, 16:41 |
ionas82 |
my suggestion is to use sha256 |
# |
Sep 13th 2009, 16:41 |
ionas82 |
NoReGreT, md5 is outdated |
# |
Sep 13th 2009, 16:41 |
ionas82 |
http://teknoid.wordpress.com/2008/10/06/introduction-to-cakephp-features-build-an-app-in-less-than-15-minutes/ and http://teknoid.wordpress.com/2008/10/08/demystifying-auth-features-in-cakephp-12/ |
# |
Sep 13th 2009, 16:40 |
dogmatic69 |
no need to do anything |
# |
Sep 13th 2009, 16:40 |
dogmatic69 |
when you use auth a login method can look like this: function login(){} and it will work |
# |
Sep 13th 2009, 16:40 |
NoReGreT |
thanks |
# |
Sep 13th 2009, 16:39 |
ionas82 |
NoReGreT, see teknoids blog |
# |
Sep 13th 2009, 16:39 |
dogmatic69 |
this is how you should be logging in http://book.cakephp.org/view/649/Logging-in |
# |
Sep 13th 2009, 16:39 |
dogmatic69 |
that explains acl and auth in cake nicely |
# |
Sep 13th 2009, 16:39 |
dogmatic69 |
http://book.cakephp.org/view/641/Simple-Acl-controlled-Application |
# |
Sep 13th 2009, 16:38 |
NoReGreT |
well, direct me to a better tutorial if you know any |
# |
Sep 13th 2009, 16:38 |
dogmatic69 |
and a salt |
# |
Sep 13th 2009, 16:38 |
NoReGreT |
sha ? |
# |
Sep 13th 2009, 16:38 |
NoReGreT |
why ? what's used other than md5 ? |