# |
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? |
# |
Aug 10th 2008, 05:02 |
primeminister |
) |
# |
Aug 10th 2008, 05:01 |
NetersLandreau |
my dawg demands a walk every morning around this time.. i'll be back |
# |
Aug 10th 2008, 05:01 |
primeminister |
still and don't want to make a decision, because they differ |
# |
Aug 10th 2008, 05:01 |
primeminister |
have been using both libraries for a while |
# |
Aug 10th 2008, 05:01 |
primeminister |
;) |
# |
Aug 10th 2008, 05:00 |
NetersLandreau |
nice tip primeminister :) |
# |
Aug 10th 2008, 04:59 |
primeminister |
welcome |
# |
Aug 10th 2008, 04:59 |
pgcd |
PM: that is helpful, thank you |
# |
Aug 10th 2008, 04:56 |
primeminister |
pgcd: http://docs.jquery.com/Using_jQuery_with_Other_Libraries |
# |
Aug 10th 2008, 04:56 |
primeminister |
pgcd: you can avoid collision |
# |
Aug 10th 2008, 04:55 |
pgcd |
hmmmm... well, i guess i'll check it out |