17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 2533 Views |
-
Adding meta-data to files

24 July 2007 at 8:57pm
Hi,
I'm currently working on a site in which I use a filestore to store downloadable whitepapers (PDF files). it would be very handy to be able to add meta-data to the files (normal CMSfield types would be great) so the user can add descriptions / titles.
-
Re: Adding meta-data to files

25 July 2007 at 2:32am
Your best bet here is probably to hack the core, I don't believe there's an API for extending this.
You'd want to add fields to the File class, and add edit fields to the ComplexTableField in AssetAdmin.
-
Re: Adding meta-data to files

25 July 2007 at 9:40am Last edited: 25 July 2007 9:45am
Hi Lars,
Let us know how you get on with this as I agree it would be a really useful to have this extension. When used with the "FileRepository.php" feature (which I believe is included in the new gallery module) you would be able to create a basic "read only" document listing module.
In the context of the gallery, the way it works is you select a folder from the assets directory, which then automatically creates a data feeds of all images files in that directory for display on the site.
-
Re: Adding meta-data to files

25 July 2007 at 8:01pm
Yeah - it would be great if you could post a patch file or something.
-
Re: Adding meta-data to files

25 July 2007 at 10:38pm
Thanks for the quick replies!
I'll keep you updated , but first ... 2 weeks of holiday time for me ! ;-)
-
Re: Adding meta-data to files

9 September 2008 at 9:24am
I was just going to ask this, did anything ever become of this project?
-
Re: Adding meta-data to files

10 September 2008 at 3:54am
any reason? technical difficulties? because I need to do this.
I'm creating a site for an artist, and I don't want to create an individual page for each piece- I need to attach meta-data to each image in a gallery folder (year, medium, size, price, sold). I see that the "file" table holds the caption field, I may try adding fields here as Sam suggested.
| 2533 Views | ||
| Go to Top | Next > |




