Gossamer Forum
Home : Products : Gossamer Links : Discussions :

2.05 not deleting attachments

Quote Reply
2.05 not deleting attachments
Hi Alex,

I'm having trouble with 2 parts on the uploading:

1. for some reason, when I check 'delete' the attached file gets deleted from the Links table record, but it doesn't get removed from the Links_Files table nor does it get removed from the directory it's stored in. It's weird because it worked yesterday, but today it doesn't. I did a complete reinstall and it's still not deleting.

2. Also, if I check 'delete' AND select a file for uploading, it deletes the old file, uploads the new file, adds the new file to the Links_Files record but it doesn't add the filename to the Links table record. I had that problem with the first install and the second install.

one thing at a time, I know - but In the next release do you think you might include a rename option? I understand that there will be minimal options for uploading, but that would at least be extremely useful as it would allow us to rename files and include ways of embedding information into the filename (ie. height and width info etc...) at a later date.

thanks for your time.

peace.



Quote Reply
Re: 2.05 not deleting attachments In reply to
Hi,

I've got most of the bugs swatted, but the logo/graphic mod will check for file sizes (ht/width) and insert them. You could modify it to automatically rename a file to some sort of naming convention based on that.

I'm looking at what it would take to hack the filetype system a bit, to make it work for multiple file uploads, using the codes I've already got. The idea is to use as much of links internal flagging as possible, but expand on that.

The logo/graphic mod stores this info in the links record for speed, but the multi upload module stores it in the file record.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin