Webmastersite.net
Register Log In

Miss out check box after delete image

Comments on Miss out check box after delete image

befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Feb 21, 2006 - 4:05 AM:

Hallo Paul,

I add new link attach field with name : logoattach and I write to edit template this code:

<input type="file" name="logoattach" size="40"><IF {LINKLOGOATTACHTITLE}><input type="checkbox" name="logoattachdelete" value="1"> Delete: {LINKLOGOATTACHTITLE} ?


and I attach by use this custom attach field image with name: logo.jpg

After I use default way for attach files with attach button and I attach image with name picture.jpg.

Now I go to edit page and all is o.k.

And then I check box by picture.jpg for delete this. I click to button delete checked and after redirect to edit page is picture.jpg deleted. Is o.k.

But from edit page miss out check box and name of image logo.jpg (whole code above). Image is in database always.

I don't know what is bad !!

Thanks for help.

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 01, 2006 - 5:44 PM:

But from edit page miss out check box and name of image logo.jpg (whole code above).

What does this mean?
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 05, 2006 - 4:37 AM:

Paul sorry for my english,

here is once more..

1. I add new custom field named logoattach
2. I Submitt new link with new file logo.jpg (use new custom field)
3. I Attach file picture.jpg to the same link (use deafult way - begin...)
4. On edit page display now two check boxes for two images (logo.jpg and picture.jpg and two names of this files
5. I go to edit page and I check box of PICTURE.JPG and I click to button DELETE CHECKED.
6. Redirect back to edit page
6. Now on edit page is not check box and names of file PICTURE.jpg there - It is corrects. But now on edit page is not check box and name of file logo.jpg too !!!!!
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 17, 2006 - 2:48 AM:

The same error is in wsnlinks 3.3.10. sad
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 21, 2006 - 5:43 PM:

1. Added field logoattach.
2. Submitted link with logo attached.
3. Went to edit, everything looks perfect.
4. Deleted the attached logo.
5. Everything is perfect.

"on edit page is not check box and name of file logo.jpg too !!!!!" remains gibberish, but anyhow custom attachments are working exactly as intended.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 22, 2006 - 8:18 AM:

Hallo Paul,

please, do you try submit only logo (field logoattach) or picture.jpg by use deafult attach field, too?

Deleting of picture.jpg is important for this! No delete logo.jpg.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Mar 25, 2006 - 12:39 AM:

Hallo Paul,

I try all procedure again, but with the same results. Check box for logoattach miss out.

Do you try submit picture.jpg and after delete this ?

Thank you.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 03, 2006 - 11:24 PM:

please, do you try submit only logo (field logoattach) or picture.jpg by use deafult attach field, too?

I can't translate much of that, but it seems you're talking about the default attachment field now, which I of course use all the time with no problems.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.