Log message #114883

# At Username Text
# Aug 10th 2008, 06:59 paramS like ... var $uses = array('MusicSong');
# Aug 10th 2008, 06:59 kaotisch like var $uses = array('MusicSong');
# Aug 10th 2008, 06:59 kaotisch paramS make sure you have the MusicSong Controller set in the "uses" array in MusicAlbumController
# Aug 10th 2008, 06:57 paramS hi all, i am little stuck while coding my first cakephp application... I have two controllers ( MusicSong and MusicAlbum ) and from my MusicAlbumController i want to call $this->MusicSong->findAllByAlbumId($id) .. but i am not able to do that, any idea on how to achieve this ?
# Aug 10th 2008, 06:56 kaotisch from the google group i assume it is an ajax issue, but has anyone solved it?
# Aug 10th 2008, 06:56 kaotisch i have the session timeout in core long enough, session is set to php (also happens with it set to 'cake')
# Aug 10th 2008, 06:56 kaotisch I'm using the basic Auth comp, and thanks to the help of some of you, it works fine :) Now I'm loading some controller actions in ajax windows, and every now and then it assumes I'm not logged in and shows the login view in the ajax window. If I close it and open it again, it shows the normal view and accepts that i'm logged in. Is that a known problem, and can I solve it?
# Aug 10th 2008, 06:55 kaotisch hi Iqdice, sure i will
# Aug 10th 2008, 06:54 lqdice__ kaotisch: can you repeat your problem, i just got here
# Aug 10th 2008, 06:53 kaotisch from the google group i assume it is an ajax issue, but has anyone solved it?
# Aug 10th 2008, 06:51 kaotisch i have the session timeout in core long enough, session is set to php (also happens with it set to 'cake')
# Aug 10th 2008, 06:49 kaotisch Hello! I'm using the basic Auth comp, and thanks to the help of some of you, it works fine :) Now I'm loading some controller actions in ajax windows, and every now and then it assumes I'm not logged in and shows the login view in the ajax window. If I close it and open it again, it shows the normal view and accepts that i'm logged in. Is that a known problem, and can I solve it?
# Aug 10th 2008, 06:48 darki how can i sort date in a combobox? the data is sorted DESC but i need ASC
# Aug 10th 2008, 06:48 cl0s_ or render an element from a controller instead of an entire view?
# Aug 10th 2008, 06:47 cl0s_ is there a way to call a helper from within a controller??
# Aug 10th 2008, 05:40 pgcd going to eat now, see you later (and thanks again for all the help)
# Aug 10th 2008, 05:39 pgcd still, if there's a cleaner way I wouldn't mind changing the stuff
# Aug 10th 2008, 05:38 pgcd Neters: I didn't know a way to use the URL to send parameters to an element, so I ended up using a view (probably a hack, but it works, so...)
# Aug 10th 2008, 05:35 NetersLandreau pgcd: what problem are you having with parameters?
# Aug 10th 2008, 05:31 darkangel Is it still necessary to use the join table ('with' key) when finding all Articles with a particular Tag (for example)?
# Aug 10th 2008, 05:26 klaasjan thanks thats what i need :)
# Aug 10th 2008, 05:25 Martz klaasjan: if you want Auth + ACL this is an excellent tutorial: http://mark-story.com/Posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1
# Aug 10th 2008, 05:25 klaasjan Has anybody has got an good user_authentication script with different userlevels?
# Aug 10th 2008, 05:24 klaasjan Good afternoon
# Aug 10th 2008, 05:19 pgcd Chezz: there is a cake1.2 upload component somewhere (in the bakery, mayhap?) that allows you to set all the filters and stuff
# Aug 10th 2008, 05:14 Chezz pgcd : im trying to see if cake allows using "accept" for mime types
# Aug 10th 2008, 05:13 pgcd Chezz: you can definitely filter the files when they have been uploaded, though
# Aug 10th 2008, 05:11 pgcd setting the vars as named parameters seems to put them in a different namespace
# Aug 10th 2008, 05:11 pgcd Neters: that code you pasted for Ajax.Updater seems great for views - any ideas on how to adapt it to work with elements that require vars?
# Aug 10th 2008, 05:09 pgcd but i might be wrong, of course, as I usually am =)
# Aug 10th 2008, 05:09 pgcd Chezz: as far as I know, you can't - I moved to SWFUpload for that also
# Aug 10th 2008, 05:08 Chezz using cake of course
# Aug 10th 2008, 05:08 Chezz pgcd : is it possible to setup the OS filter to jpeg only ?
# Aug 10th 2008, 05:07 Chezz thanks man
# Aug 10th 2008, 05:07 Chezz ops
# Aug 10th 2008, 05:07 pgcd as opposed to just $form->file
# Aug 10th 2008, 05:06 pgcd chezz: use "echo $form->file"
# Aug 10th 2008, 05:04 Chezz I am having trouble with file upload.. i do not see the file field so i cant specify the file to upload. am i doing anything wrong ? http://bin.cakephp.org/view/1140932575
# Aug 10th 2008, 05:03 mak while installation I edited th config/databse.php file is it ok?
# Aug 10th 2008, 05:02 primeminister have a problem there
# Aug 10th 2008, 05:02 primeminister some feels like looking with my at my routers?