Contributions
File Library v1.0
What is does
I wrote this to store a small number of files, like a list of PDF articles about the business.
On the frontend it displays the list of files broken up into sections. Displays, title, description, d/l link and an image.
What is doesn't do yet
File size and type will be added. Download count will also be added soon. It will not break a long list of files into separate pages nor can you sort the list by anything
The backend
Allows you to add/edit/delete all of the above. You can upload both file and image.
Expand All / Collapse All
-added if statement in case this script is run when there are no files in the files table
Some small changes to the files.php in the admin. Increased the error checking when deleting a file to make sure that the file really does exist before trying to delete it.
problem when editing existing files.
I realised that when you edited a file it wouldn't save the paths to the file or the image. Also it wouldn't default the file section drop down to what it is currently set to. Both these now fixed
Doh! forgot to add a link to the admin menu.
All necessary files are included in the zip
What is does
I wrote this to store a small number of files, like a list of PDF articles about the business.
On the frontend it displays the list of files broken up into sections. Displays, title, description, d/l link and an image.
What is doesn't do yet
File size and type will be added. Download count will also be added soon. It will not break a long list of files into separate pages nor can you sort the list by anything
The backend
Allows you to add/edit/delete all of the above. You can upload both file and image.
Note: Contributions are used at own risk.