# |
Aug 7th 2008, 12:58 |
beatzombies |
hi, does anyone have experience using checkboxes for fields in a join table? |
# |
Aug 7th 2008, 12:56 |
thestaff |
so I tried to add window.location.replace( sURL ); in tb_remove function but didn't help |
# |
Aug 7th 2008, 12:56 |
thestaff |
here is what i have for now : <input id="close" value="Close" onclick="self.parent.tb_remove();" type="submit"> |
# |
Aug 7th 2008, 12:55 |
thestaff |
anthony, how do i do that ? |
# |
Aug 7th 2008, 12:55 |
atula |
I am working on getting file from a remote url. I was wondering where I can read more about things like: getting the status of the url (if it returns 200, 404 on file_get_contents etc,) also, once I get the file back, how do I check for its doctype ? thank you |
# |
Aug 7th 2008, 12:54 |
anthony |
should pretty easy to use jQuery to bind a page refresh function to click event |
# |
Aug 7th 2008, 12:53 |
anthony |
well that's a JavaScript thing |
# |
Aug 7th 2008, 12:52 |
anthony |
i thought you meant the Wildbit's modal box |
# |
Aug 7th 2008, 12:52 |
thestaff |
http://jquery.com/demo/thickbox/ |
# |
Aug 7th 2008, 12:51 |
thestaff |
thick box actually |
# |
Aug 7th 2008, 12:51 |
anthony |
modal box? |
# |
Aug 7th 2008, 12:50 |
thestaff |
how can I refresh my page from the modal box anybody knows ? |
# |
Aug 7th 2008, 12:49 |
stevieboy |
TommyO: still here? |
# |
Aug 7th 2008, 12:47 |
gwoo |
jessy_: its tough to assume that anyone works on godaddy server |
# |
Aug 7th 2008, 12:47 |
gwoo |
jessy_: its usually better to start with the error you are getting |
# |
Aug 7th 2008, 12:45 |
jessy_ |
anyone know what do I have to use in my .htaccess on a godaddy shared hosting plan ? |
# |
Aug 7th 2008, 12:40 |
atula |
thanks |
# |
Aug 7th 2008, 12:40 |
atula |
can someone give me some directions on that? |
# |
Aug 7th 2008, 12:39 |
atula |
I want to determine the doctype of the file I get from a remote url--I'm not sure if it's xml or http |
# |
Aug 7th 2008, 12:39 |
zmonteca |
TommyO: could that be overwritten by some routing or something. this is very puzzling. |
# |
Aug 7th 2008, 12:36 |
zmonteca |
TommyO: for me that just seems to hold '/' |
# |
Aug 7th 2008, 12:36 |
TommyO |
when in doubt, look for a callback :) |
# |
Aug 7th 2008, 12:36 |
tbranyen |
sounds legit |
# |
Aug 7th 2008, 12:35 |
TommyO |
tbranyen: the save process goes: beforeValidate(), validate(), beforeSave(), save() iirc |
# |
Aug 7th 2008, 12:35 |
tbranyen |
atleast the ones provided in the tutorial |
# |
Aug 7th 2008, 12:34 |
tbranyen |
because my friend is making the model validates useless right now |
# |
Aug 7th 2008, 12:34 |
TommyO |
zmonteca: $this->referer() |
# |
Aug 7th 2008, 12:34 |
tbranyen |
okay sweet |
# |
Aug 7th 2008, 12:34 |
TommyO |
tbranyen: that's up to you, and it's why the class is static. the Model callbacks, like beforeSave() might be a good place |
# |
Aug 7th 2008, 12:33 |
zmonteca |
if i access a page when not logged in (/admins/test) and then get redirected to (/login)...where is the referer/redirect (admins/test) url held for post login? |
# |
Aug 7th 2008, 12:33 |
tbranyen |
TommyO should i be sanitizing content at the model level or the controller level? |
# |
Aug 7th 2008, 12:32 |
TommyO |
eh... nothing to rewrite. you call the same method started the page but with a sort param... |
# |
Aug 7th 2008, 12:32 |
stevieboy |
maybe i even as helper... |
# |
Aug 7th 2008, 12:32 |
stevieboy |
i like that url ;) |
# |
Aug 7th 2008, 12:32 |
TommyO |
make a more friendly url though ;) |
# |
Aug 7th 2008, 12:32 |
stevieboy |
and if it works i rewrite that for cake |
# |
Aug 7th 2008, 12:32 |
stevieboy |
ok, TommyO, thx... i'll try |
# |
Aug 7th 2008, 12:31 |
TommyO |
stevieboy: assuming it's app/webroot/junk/somecrappy.php you should use url: "/junk/somecrappy.php" and cake will not get fired up |
# |
Aug 7th 2008, 12:30 |
stevieboy |
but that was too much work to just try it |
# |
Aug 7th 2008, 12:30 |
stevieboy |
i'm sure there's a cake-way with update-div etc |
# |
Aug 7th 2008, 12:30 |
stevieboy |
i dont know, just found that and wanted to try it |