On behalf of the entire team (it’s just me), thanks for the positive feedback.
Here’s an earlier topic with lots of information on creating more compact lists of PDF documents:
Basic pdf list with pdf icons
The post I linked to covers the basics of a custom markup template you can adapt for your application. Scroll up to the earlier posts for additional discussion of the overall topic. Here is a much older topic with links to additional topics along the same lines:
Simple list
To get a clickable link to the document you can adapt these suggestions:
Attachment title as link
That should get you started on 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 solutions in the above topics. I am confident that MLA can give you the results you seek and I want you to get the most out of the plugin. Thanks for your interest.
G’day David,
Thankyou for the feedback. You were right to mark it solved, it’s working as expected :D, even included the search from another form. I’ll include my work and code below for anyone else interested…
Here’s my end result: http://imgur.com/dQre7Yx
This is the code of my page…
<h1>Document Search</h1>
<form id="mla-search-form" action="." method="post">
<input id="mla-search-box" name="search-string" type="text" value="" />
<input id="submit" name="submit" type="submit" value="GO" />
</form>
[mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="No files to show" posts_per_page=50 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?search-string={+request:search-string+}"]
[mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="Enter a search value above to find what you need" posts_per_page=2]
<br />
<h2>Document Library</h2>
[mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view posts_per_page=50]
On the MLA Gallery page for the template…
Name: (Really whatever you want)
document-list-view
Open:
<table id='[+selector+]' class='gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+] tablepress'>
<caption style="caption-side:bottom;text-align:left;border:none;background:none;margin:0;padding:0;"></caption>
<thead>
<tr>
<td><strong>Item</strong></td>
<td><strong>Type</strong></td>
<td><strong>Author</strong></td>
<td><strong>Category</strong></td>
<td><strong>File Type</strong></td>
<td><strong>Modified</strong></td>
</tr>
</thead>
<tbody class="row-hover">
Row Open:
<tr class='gallery-row'>
Item:
<td>[+filelink+]</td>
<td>[+description+]</td>
<td>[+author+]</td>
<td>[+terms:attachment_category+]</td>
<td>[+post_mime_type+]</td>
<td>[+modified+]</td>
Row Close:
</tr>
Close:
</tbody>
</table>
I have tablepress installed so I’ve added some tablepress classes, in particular the row highlight on hover
This plugin is very flexible. I highly recommend it to anyone! You’ve done a great job David 🙂
Thank you for your update and for taking the time to post the results of your development. You have done quite a lot of good work in a very short time!
If there’s anything else I can do, post an update or start a new topic. Thanks again!