# |
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 |
# |
Aug 7th 2008, 12:29 |
stevieboy |
the sort.php which updates the div |
# |
Aug 7th 2008, 12:29 |
TommyO |
although I don't know why you wouldn't do that in cake |
# |
Aug 7th 2008, 12:29 |
teknoid |
stevieboy: your controllers should handle all ajxas stuff |
# |
Aug 7th 2008, 12:29 |
stevieboy |
http://baglan.web.tr/ajax-sorting-scriptaculous |
# |
Aug 7th 2008, 12:29 |
TommyO |
stevieboy: ah... yes, the .htaccess rules won't trigger if the file exists in webroot |
# |
Aug 7th 2008, 12:29 |
stevieboy |
but the router interfers with the call |