Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
pikatxu  
#1 Posted : Thursday, October 29, 2009 6:06:17 AM(UTC)
pikatxu

Rank: Newbie

Groups: Member
Joined: 10/17/2009(UTC)
Posts: 7

Hi!

I've installed sample Php Library -> Ajax Demo. It's works fine, but I've modified the sample.
When the images are uploaded in the server, the old images (uploaded before) doesn't delete and if I make click in one image, it is removed on the server and delete his element in XML file (Descriptions.xml). It's work well, but I don't know how refresh the screen. I have to close the internet browser and load the web page again for see the result.

Is there anyway to update (refresh) the screen (imageuploader). I 've searched in the manual but I don't capable to fix it.


Thank's
Tamila  
#2 Posted : Thursday, October 29, 2009 8:31:31 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

I have prepared project sample for you, see attachment.
File Attachment(s):
AjaxDemo.zip (60kb) downloaded 7 time(s).
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
pikatxu  
#3 Posted : Friday, October 30, 2009 12:21:04 AM(UTC)
pikatxu

Rank: Newbie

Groups: Member
Joined: 10/17/2009(UTC)
Posts: 7

Hi Tamila!

Thank's for your answer and sample. But I don't knew how resolve it. The file "upload.php" is the same than I use. And I've compared your files "index.php" and "gallery.php" of mine, and I don't see anything important diference.

My sample is: http://geriatrics.brinkster.net/residencia/editar/

In my tab "uploaded File" is I select the opcion "DELETE" the pic is delete in the server and descriptions.xml. I excute with ajax "script_eliminar_foto.php" to do this process .It works well.

The problem is than I have to close "internet explorer" and load the url again to see the results in the screen. I think there is a method or routine to refresh the screen, but I don't know to do it.



Thank's and sorry for my doubt

Albert
Tamila  
#4 Posted : Sunday, November 1, 2009 1:48:29 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi Albert,

Please see the following sample project. Here you can find Delete functionality in Gallery. If you have any questions feel free to let us know.

File Attachment(s):
ajaxdemo.zip (2,225kb) downloaded 3 time(s).
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
pikatxu  
#5 Posted : Monday, November 2, 2009 6:45:28 PM(UTC)
pikatxu

Rank: Newbie

Groups: Member
Joined: 10/17/2009(UTC)
Posts: 7

Hi Tamila!


I saw my bug, when I modified the Ajax sample and put it in my web, I forget to copy the line:
"<?php header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'); ?>"


A lot hours lost, and headache for my fault. I'll have to change my googles d'oh!


Thank's for your help!!!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.