Loading...
 
Features / Usability

Features / Usability


Modifying Core File Display Attributes

posts: 758 United States

Good day folks, I am trying to figure a way to modify the tiki core attribute for file page display. The file page display already has some attribute titles in it, ie: id, Name, Description etc.
But if I wanted to add more attributes, I am guessing the answer would be to add the attributes into the database?
See screen shot of the page type I would like to modify. I would like to add field attributes to the ones already there. Any ideas from anyone? Thanks a heap.

posts: 758 United States
I have thought of that, and played with it Rick, but it's not giving me the results I want. I would rather just have it in the core display, where folks can edit the fields there. Getting at tracker to play nice with my file galleries is not working, I want to keep the native galleries. When I upload a file with configured tracker, it does not modify the file attributes in the galleries. I would just rather have the galleries, and not two places where the files are displayed.

posts: 758 United States
Does anyone know which database index these attributes are in? Thanks!
posts: 3665 United States

I believe that the attributes for items in the File Gallery are stored in: tiki_files.

You could update the Tiki core to handle new attributes... but that is not (IMHO) very flexible — an attribute that makes sense for your usecase may not be useful for others. Additionally, it isn't very flexible.

My tracker suggestion wasn't meant to work with file galleries, but rather instead. I would create simply use trackers to store and maintain the items (and you can create whatever attributes you want — they would be attached to the items' tracker). Then I would simply give your users a wiki page to access the tracker item (instead of the default gallery front end).

Just my $0.02.

-R

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 758 United States

Thanks Rick, it is true, I would only modify the DB in my installation, I wasn't thinking of it being a mod in tiki for all users.
If I did use trackers, I guess I could hide the default file galleries from users so there is no confusion correct?


posts: 758 United States
Another concern would be, how would trackers play well with the file upload icon in the editors.