Bootstrap File Listing

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
paul.maechler
 
 
Posts: 28
Joined: Wed Nov 19, 2014 9:53 pm

Bootstrap File Listing

Post by paul.maechler »

I want to sort the files by date by default. Latest on top.
Also like to reduce the font size of the list.
Tried to make some changes in CSS without success.
Could you tell me how reach that goal ?
And how to make it "permanent".

Or is there anyway a better (also commercial) solution ?

Thanks
Paul

DEV example : https://eiwa.ch/PUBL.html
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bootstrap File Listing

Post by Pablo »

You can set the font size via the style properties.

You can set the default sort of via:
https://eiwa.ch/PUBL-DIR.php?&sort=date:desc
or
https://eiwa.ch/PUBL-DIR.php?&sort=date:asc
paul.maechler
 
 
Posts: 28
Joined: Wed Nov 19, 2014 9:53 pm

Re: Bootstrap File Listing

Post by paul.maechler »

Thanks for that quick reply.
Sort works. :)

But can't find the size of the table-font.
Style of extension is set to 10px Arial. Title seems to be OK.
But not the content - it is most definitely bigger than 10px.

Rgds
paul
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bootstrap File Listing

Post by Pablo »

The specified font size applies to all text in the extension.

Note that the specifies sizes (in the UI) are in points, the output (in HTML) are in pixels.
10pt = 13px

Note that your page does not have a valid document type, so this means that styles may not work as expected.
The document type (in Page Properties) should be set the 'html5'.
paul.maechler
 
 
Posts: 28
Joined: Wed Nov 19, 2014 9:53 pm

Re: Bootstrap File Listing

Post by paul.maechler »

>> The document type (in Page Properties) should be set the 'html5' <<
That did the trick !!

Thanks a lot Pablo
User avatar
onlye
 
 
Posts: 366
Joined: Sun Jun 17, 2018 12:36 am
Location: Gluckstadt, MS USA
Contact:

Re: Bootstrap File Listing

Post by onlye »

Pablo wrote: Wed Mar 15, 2023 10:07 am You can set the font size via the style properties.

You can set the default sort of via:
https://eiwa.ch/PUBL-DIR.php?&sort=date:desc
or
https://eiwa.ch/PUBL-DIR.php?&sort=date:asc
Pablo - I am using the Bootstrap File Listing in a column of a Layout Grid. I need to sort by file name in descending order. I looked at the examples you showed above and i see the code after the file name. How and where would I add that in the extension in the layout grid?

Here is the page. Using the File Listing extension in locations for Board Agenda, Board Minutes, and Job Opportunities towards the bottom of the page
https://www.pearlrivercounty.net/

THANK YOU
onlye
Gluckstadt, MS USA
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bootstrap File Listing

Post by Pablo »

You cannot add this in the extension. These are page arguments, so they should either be entered in the browser's address bar or in the link to the page:
https://www.pearlrivercounty.net/index. ... t=date:asc
or
https://www.pearlrivercounty.net/index. ... =date:desc
User avatar
onlye
 
 
Posts: 366
Joined: Sun Jun 17, 2018 12:36 am
Location: Gluckstadt, MS USA
Contact:

Re: Bootstrap File Listing

Post by onlye »

Pablo wrote: Wed May 03, 2023 3:51 pm You cannot add this in the extension. These are page arguments, so they should either be entered in the browser's address bar or in the link to the page:
https://www.pearlrivercounty.net/index. ... t=date:asc
or
https://www.pearlrivercounty.net/index. ... =date:desc
Thanks. So the best way to handle this would be to make a link from the home page to a new page with the file listings. Then in the menu or a link to that new page add the page arguments?
onlye
Gluckstadt, MS USA
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bootstrap File Listing

Post by Pablo »

Correct
Post Reply