Log message #2298384

# At Username Text
# Sep 21st 2011, 13:22 franki anyone have some good guide on how to use elements?i've added few modules that i wanted into a single page but they dont work there
# Sep 21st 2011, 13:22 daVinciWanaB any thoughts on the best simple text editor (to replace textareas)
# Sep 21st 2011, 13:22 dogmatic69 yes
# Sep 21st 2011, 13:22 asmerkin is a good practice to override the pages_controller with my own logic?
# Sep 21st 2011, 13:21 dogmatic69 !tell asmerkin about apilookup controller layout
# Sep 21st 2011, 13:21 pur3forlyphe working tehtreag cheers
# Sep 21st 2011, 13:20 asmerkin dogmatic69: i know html, thanks!
# Sep 21st 2011, 13:20 asmerkin layout and that stuff
# Sep 21st 2011, 13:20 asmerkin i mean, to setup certain parameters to static pages
# Sep 21st 2011, 13:20 dogmatic69 !tell asmerkin about google html
# Sep 21st 2011, 13:20 TehTreag asmerkin: What do you mean?
# Sep 21st 2011, 13:19 asmerkin is there a way of customizing static pages ?
# Sep 21st 2011, 13:19 pur3forlyphe ty will try now
# Sep 21st 2011, 13:19 TehTreag $this->data['User']['group_id'] = 1;
# Sep 21st 2011, 13:18 pur3forlyphe was just wandering how would i manually set a user group in the controller when it creates a new user i.e. is it something like $this->Group->User->set('id' => 1); before the $this->User->create();
# Sep 21st 2011, 13:04 DidItAgain ~bin
# Sep 21st 2011, 13:01 rchavik it works now, so i don't bother modifying it..
# Sep 21st 2011, 13:01 rchavik Ox2Oh, you might even be able to reuse the $CORE variable.. i'm not sure why i didn't use that..
# Sep 21st 2011, 12:58 Section58 then no
# Sep 21st 2011, 12:58 Section58 if you wanted to use 1.3 or 2.0 then yes, if you wanted to use 1.3.7, 1.3.11 2.0beta etc
# Sep 21st 2011, 12:57 Section58 cause of the uppercased C in cake it doesn't override old versions
# Sep 21st 2011, 12:57 Section58 Ox2Oh: thats the only change
# Sep 21st 2011, 12:56 Ox2Oh rchavik: thx. Looking at the cake script I think you only need a version for 1.x and 2.x because of the changed CORE dir. What do you think?
# Sep 21st 2011, 12:56 rchavik one day :)
# Sep 21st 2011, 12:56 Section58 rchavik: you should blog that
# Sep 21st 2011, 12:55 rchavik Ox2Oh ^
# Sep 21st 2011, 12:54 rchavik 0x20h, quick script http://bin.cakephp.org/view/1654359230, i put it in /etc/profile.d/
# Sep 21st 2011, 12:49 rchavik ~bin
# Sep 21st 2011, 12:48 dogmatic69 no issues with loads of versions
# Sep 21st 2011, 12:46 dakota Ox2Oh: I have cake 1.2, 1.3 and 2.0 projects and I have no issues
# Sep 21st 2011, 12:45 dakota rchavik: that too
# Sep 21st 2011, 12:45 Ox2Oh rchavik: if you have projects with different cake versions it might be a bad idea
# Sep 21st 2011, 12:45 rchavik to work with multiple cake version, i setup aliases and scripts, eg: cake_1_3 and cake_2_0, it then setups the PATH accordingly
# Sep 21st 2011, 12:44 dakota Ox2Oh: I just have a single copy of cake on my server and add it's console path to my PATH variable
# Sep 21st 2011, 12:43 rchavik umm, how is it more handy?
# Sep 21st 2011, 12:40 Ox2Oh bioiq: I usually just issue "lib/Console/Cake/cake bake" (more handy if you have multiple projects)
# Sep 21st 2011, 12:30 bioiq yep
# Sep 21st 2011, 12:29 rchavik in 2.0, it's lib/Cake/Console i believe
# Sep 21st 2011, 12:29 rchavik bioiq, the one that contains cake.bat or cake.php
# Sep 21st 2011, 12:20 bioiq is it the same?
# Sep 21st 2011, 12:20 bioiq sorry, there are two: one in app/Console, the other in lib/Cake/Console which one do i have to export?