XF 2.2 Display PDFs in List Format (plus JavaScript code placement)


New member

Is there any easy way to display pages with multiple PDF attachments in a list format instead of grid? I have attached a screenshot for this.

Also, I want to place a JQuery-reliant Javascript code that must load only after JQuery has loaded. What's the right place to add this code?

Note: I have tried page container, and below advertisement codes without getting the result I'm looking for. In WordPress, I used the ads plugin to set the priority so high to load only after every other script was fully loaded.


  • pdf formatting.jpg
    pdf formatting.jpg
    46.5 KB · Views: 7


Well-known member
wrap your jquery in
$(function() {



this will wait for the DOM ready event. placement won't matter.

don't have any info on the list format - probably requires custom code or css in extra.less