Log message #114892

# At Username Text
# Aug 10th 2008, 07:04 kaotisch paramS: should work
# Aug 10th 2008, 07:03 paramS kaotisch << and after that i would be able to use it like this {{ $songs = $this->MusicSong->findAllByAlbumId($albumId); }}
# Aug 10th 2008, 07:03 kaotisch Iqdice, I'm still investigating, under Firefox its kind of a random problem, under IE the session is lost after every ajax call
# Aug 10th 2008, 07:02 lqdice__ kaotisch: is this a problem where the ajax is not getting the session properly? you can pass the session manually.. but if it works 'sometimes' and not others than thats a bit strange and i would think its the session timing out
# Aug 10th 2008, 07:00 kaotisch no problem :)
# Aug 10th 2008, 07:00 paramS lemme try that , thank you very much :)
# Aug 10th 2008, 07:00 paramS thanks , you just posted that at the same time
# Aug 10th 2008, 06:59 kaotisch ;)
# Aug 10th 2008, 06:59 paramS oh okie :)
# 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