Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question. MLA can give you some help, but it would also require a bit of work on your part.

    The first requirement, of course, is that your site must run on WordPress. It looks like the example page you linked to is running on some other platform. Is this your site or just an example of how you would like your site to look?

    The table on your example page shows a “Description” column with icons for each document and the document title. This is easily done with the [mla_gallery] shortcode. The table also includes columns for “Date” and “Term”. These could be derived from custom fields associated with each of the documents. Again, [mla_gallery] can display custom field information, and the Media/Assistant Quick Edit and Bulk Edit areas provide a convenient way to enter and maintain the content. Finally, the table is divided into categories such as “All Year Groups”, “KS1”, “KS2” and so forth. These could be sourced from terms assigned to the documents in a taxonomy such as “Att. Categories” or “Att. Tags”. MLA provides support for assigning terms and maintaining them.

    It is also possible to automatically populate some of the information from the documents themselves, as they are uploaded, if the information is contained in IPTC or EXIF meta data. This is somewhat advanced; adding the information to the documents before they are uploaded must be done in a tool like Adobe Acrobat. As I say, it’s possible, but it is also entirely optional.

    Preparing a table like the one in your example would require some straightforward PHP programming to develop a WordPress “template file” . There is some basic information on templates in this Repository article:

    Templates

    The template file would include some logic that finds all of the terms in your taxonomy (such as “KS1”) and then formats the table rows for all of the documents in that category using [mla_gallery]. The template would be accessed when a site visitor picked a specific web site page such as “Letters”. All of this is pretty routine WordPress work, but it does require a bit of programming. I can help with that if I know more about the specifics of your application.

    I hope that gives you an idea of the work involved. I will leave this topic unresolved until I hear back from you. Thanks for your interest in the plugin.

    Plugin Author David Lingren

    (@dglingren)

    It has been a month since my last post to this topic. Since I have not heard anything further from you I assume you have found a solution for your application.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the sortable list/table aspects of your application. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display media attachments (pdfs) as sortable list/table?’ is closed to new replies.