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

biafraland

Member
Hello,

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.
 

Attachments

  • pdf formatting.webp
    pdf formatting.webp
    23.3 KB · Views: 7
wrap your jquery in
Code:
$(function() {

//here

 });

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
 
Back
Top Bottom