recipe for a social learning platform - #11 - files repository
Posted by: admin in site_development, tags: blogging, drupal, portfolioI wanted to include a place for users to upload/archive files (of all sorts), to serve as a simple ‘user portfolio’ section of the site. I played around a bunch with some of the file management modules for Drupal, and the site was getting more & more complicated; and I finally came around to the “keep it simple” mantra that I’m trying to use to dictate the rest of the site’s design.
Fortunately, the Views module came to my rescue again, here coupled in use with Drupal’s built-in taxonomy. I came back to the idea of providing users with a single entry type - blog posts (allowing attachments); and use Views and Taxonomy to provide ways of viewing and organizing blog-post attachments.
Below, are the Views settings for a “my public files” page:
filters:

____________________
I created an “exposed filter”, to permit the user to select their attached files by tag:

______________
and created a page layout in table form:

_______________________
This view collects all files that the user has submitted as attachments to blog posts, into a table on a single page; renders these sortable by name, upload date, tag; and searchable by tag.
The Views module will permit many different ways of viewing the collected files - e.g., views could be created for “my published files,” “my unpublished/private files,” “all users’ files,” “my buddies’ files,” &c.; and could include exposed filters to further parse display.
I’m quite happy with how all this worked out - it feels like a very organic solution from the users’ end. Rather than creating a dedicated file upload/archiving corner of the site, files are contributed through the blogging interface (as either public or private/unpublished blog posts); and are merely displayed and organized through this interface.
Table of contents for social learning site
- recipe for a social learning platform - #1
- recipe for a social learning platform - #2 - demo site
- recipe for a social learning platform - #3 - site & core modules
- recipe for a social learning platform - #4 - additional modules
- recipe for a social learning platform - #5 - modules hacks
- recipe for a social learning platform - #6 - social rated news
- recipe for a social learning platform - #7 - theme
- recipe for a social learning platform - #8 - login & access
- recipe for a social learning platform - #9 - views
- recipe for a social learning platform - #10 - no social rating?
- recipe for a social learning platform - #11 - files repository
- recipe for a social learning platform - #12 - distributed content
- recipe for a social learning platform - #14 - news feeds
- recipe for a social learning platform - #15 - surfacing algorithms
- recipe for a social learning platform - #16 - surfacing algorithms - node cloud
- recipe for a social learning platform - #17 - news feeds take two
- recipe for a social learning platform - #18 - making it social
- featuritis
- recipe for a social learning platform - navigation


Entries (RSS)