# |
Sep 22nd 2009, 05:05 |
alkemann |
i wonder if we can get one of them henchmen that gwoo recruited to convert our tests to controller / view code |
# |
Sep 22nd 2009, 05:04 |
Phally |
alkemann: let me read |
# |
Sep 22nd 2009, 05:04 |
Phally |
alkemann: i always lunch long :) |
# |
Sep 22nd 2009, 05:04 |
alkemann |
phally-lunch: so Users_Controller test fails 3 of them, with 3 warnings of deprecations with 1.3 |
# |
Sep 22nd 2009, 05:03 |
alkemann |
phally-lunch: thats a long lunch |
# |
Sep 22nd 2009, 04:26 |
alkemann |
phally-lunch: also, why do you have group_id as part of the users table? we need to have it app specific |
# |
Sep 22nd 2009, 04:26 |
alkemann |
but i guess if i need user, thats hpow it needs to be |
# |
Sep 22nd 2009, 04:26 |
alkemann |
sucks that now i have to include all ur fixtures in my app tests |
# |
Sep 22nd 2009, 04:25 |
alkemann |
phally-lunch: forgot that u put the users plugin schema in the plugin folder. and you renamed the table prefix? |
# |
Sep 22nd 2009, 04:03 |
Phally |
alkemann: yo |
# |
Sep 22nd 2009, 02:34 |
alkemann |
Phally: pling |
# |
Sep 22nd 2009, 02:29 |
alkemann |
!logs |
# |
Sep 20th 2009, 13:00 |
Phally |
d'oh, he left |
# |
Sep 20th 2009, 13:00 |
Phally |
eh isn't there the schema file? |
# |
Sep 20th 2009, 11:46 |
alkemann |
Phally: can i get sql for the current version of users plugin? |
# |
Sep 19th 2009, 14:43 |
ADmad |
rofl |
# |
Sep 19th 2009, 14:43 |
Phally |
http://irc.cakephp.org/logs/link/1029818#message1029828 |
# |
Sep 19th 2009, 14:42 |
Phally |
wrong paste |
# |
Sep 19th 2009, 14:42 |
Phally |
lol |
# |
Sep 19th 2009, 14:42 |
Phally |
can someone please restore my admin privileges at the bakery? username: Frank (http://whatboyswant.com/newsitem/5017/1/Police_Called_For_Halo_Sniper_Rifle.html) |
# |
Sep 15th 2009, 17:09 |
ProLoser1 |
herro |
# |
Sep 13th 2009, 10:01 |
sky_l3ppard |
ah i got it, then the only thing is translation. but in some cases having the path and slug in one model is convenient |
# |
Sep 13th 2009, 09:57 |
AD7six |
also means a user can override/choose a different behavior/write your own slug method |
# |
Sep 13th 2009, 09:55 |
AD7six |
y dig? |
# |
Sep 13th 2009, 09:55 |
AD7six |
calling $Model->slug($string) not $this->slug($Model, $string) in the code |
# |
Sep 13th 2009, 09:54 |
AD7six |
ohic. imo the best way to do that is to a) make a dummy slug($string = '') method in yuor behavior, so that it works with no dependencies, and have actsAs = array('Slugged', 'YourBehavior'); as the recommended use |
# |
Sep 13th 2009, 09:54 |
sky_l3ppard |
for example if to have urls instead of (example.com/pages/slug) to (example.com/pages/parent/child/current_slug) etc |
# |
Sep 13th 2009, 09:53 |
sky_l3ppard |
the main idea is to make pretty urls for tree based models |
# |
Sep 13th 2009, 09:52 |
sky_l3ppard |
i'm doing a sluggedTree behavior, which will also store the path field + slug_parent/slug_child/slug_current + it can translate the slug ant the path |
# |
Sep 13th 2009, 09:51 |
AD7six |
I mean why would you extend it |
# |
Sep 13th 2009, 09:51 |
sky_l3ppard |
your Slugged behavior does not have a bug on unique check, and it has more options than Sluggable |
# |
Sep 13th 2009, 09:50 |
AD7six |
I don't mind, but why would you do that |
# |
Sep 13th 2009, 09:49 |
sky_l3ppard |
do you mind if i extend it in my behavior which is currently pending for approval |
# |
Sep 13th 2009, 09:46 |
AD7six |
sky_l3ppard: I do |
# |
Sep 13th 2009, 09:25 |
sky_l3ppard |
i see you have nice Slugged behavior in your project |
# |
Sep 13th 2009, 09:24 |
sky_l3ppard |
hi AD7six |
# |
Sep 11th 2009, 23:17 |
Predominant |
Spam Comment |
# |
Sep 11th 2009, 23:17 |
Predominant |
http://bakery.cakephp.org/articles/view/release-1-2-2-8120 |
# |
Sep 10th 2009, 12:07 |
Phally |
it seems i am no longer admin, since i don't see that gray menu |
# |
Sep 10th 2009, 12:06 |
Phally |
i.e. http://bakery.cakephp.org/articles/view/mambo-licious#comment-5028 |
# |
Sep 10th 2009, 12:06 |
Phally |
what happened? i can no longer un-publish spam |