PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
bradf
 
 
Posts: 4
Joined: Thu Aug 10, 2017 12:44 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by bradf » Mon Aug 14, 2017 6:08 pm

Is there a similar extension that can perform this task? Needing to list the contents of a folder which holds word and excel files that can be viewed/downloaded. Also needing the list to keep updated automatically when a new document is added or edited. Any direction would be greatly appreciated. Thank you for your time!

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Mon Aug 14, 2017 8:34 pm

Try to search for an extension called FolderScan

Good luck


bradf
 
 
Posts: 4
Joined: Thu Aug 10, 2017 12:44 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by bradf » Fri Aug 18, 2017 11:47 am

alex4orly wrote:
Mon Aug 14, 2017 8:34 pm
Try to search for an extension called FolderScan

Good luck
Thank you!

I have installed the PHP File Listing extension, but it crashes Web Builder 12 upon publishing or previewing? Also, in the PHP File Listing Properties, under "Folder to scan", I enter the local path. Not sure what I am doing wrong with this one. Will continue trial and error.

bradf
 
 
Posts: 4
Joined: Thu Aug 10, 2017 12:44 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by bradf » Fri Aug 18, 2017 11:49 am

BaconFries wrote:
Mon Aug 14, 2017 8:38 pm
viewtopic.php?f=42&t=72956
Thank you for the link and info!

I have been messing around with this one, trying to find where to add the folder locations I want to scan and list. Also trying to figure out how to remove some of the fields such as uploading and password requirement etc.. I will continue to research this along with good old trial and error. Appreciate the direction. Hoping I an get one of these to work!

alexmasss
 
 
Posts: 218
Joined: Mon Sep 28, 2015 4:25 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alexmasss » Fri Aug 18, 2017 3:32 pm

You need to specify only the folder name. When uploaded to the server it will look a bit different in comparison with local preview. The only setting is the folder name.

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Fri Aug 18, 2017 8:32 pm

I have one problem with it, when I click on a PDF file (that is the only file type I need in that folder), it comes up with an error instead of open the file to view it, what setting I need to do to change this?

alexmasss
 
 
Posts: 218
Joined: Mon Sep 28, 2015 4:25 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alexmasss » Sat Aug 19, 2017 12:49 am

I don' t encounter any problem with it. It works correct for me. It displays the pdf in the browser on desktop and downloads the pdf on smartphone. It depends on the browser you use. It must be a setting on your device, not the extension settings. However i am curious to know what error do you see.

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Sat Aug 19, 2017 1:50 am

Please click on the following URL to see it

I tried with several different browser and the same result, the files are showing in the list but if you click on any file, ....

http://www.nmaa-rc.org.au/dirlist.php

WWBman
 
 
Posts: 740
Joined: Fri Jan 08, 2010 6:10 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by WWBman » Sat Aug 19, 2017 7:43 am

There is a fullstop after "dirlist.php" in the links.

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Sat Aug 19, 2017 8:10 am

Yes, I noticed this but I didn't insert it there, have no idea where it comes from

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Sat Aug 19, 2017 8:51 am

In the single configuration option there is an input field where I tried the following :

./previousnewsletters - this is the one that comes up with a dot...
/previousnewsletters - this one doesn't show the files in the folder, just a list with a date Jan 1st 1970 for all the files, but no file names
.previousnewsletters - this one doen't show anything

So, where can I go from here
The files are in a subfolder under the root named "previousnewsletters"

alexmasss
 
 
Posts: 218
Joined: Mon Sep 28, 2015 4:25 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alexmasss » Sat Aug 19, 2017 9:07 am

What happens if you just insert the folder name without points or slashes?

User avatar
alex4orly
 
 
Posts: 564
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alex4orly » Sat Aug 19, 2017 9:59 am

Just uploaded it as you suggest, please see

It converts it to this : http://www.nmaa-rc.org.au/dirlist.phppr ... 013_11.pdf

alexmasss
 
 
Posts: 218
Joined: Mon Sep 28, 2015 4:25 pm

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Post by alexmasss » Sat Aug 19, 2017 10:26 am

Strange, it seems to me that you are doing something wrong. Make a page called pdfscan.php drop the extension and set the foldername pdflist ,do not include the pdf in the wbs and upload your test page. Via Filezilla upload the folder pdflist with the pdf files inside to the root, in case the test page is in the root.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests