Jump to content

Recommended Posts

Posted

Hi,

Anyone know of an extension in Joomla where you can show the contents of a folder and list it in a nice html page ?

 

We are hoping to do a section on "Letter sent home" and if they are saved in a folder on the system it would be nice for Joomla to be able to list the contents of the folder and enable staff to download them.

Posted (edited)

If your running old 1.0 or 1.5 in legacy then you can use Docman to store all your letters and then just stick a link to the appropriate url - e.g - click on the newsletters link to view all the schools recent newsletters.

 

Same system would do for letters home.

 

I did develop similiar functionality using some PHP code directly read a folder and display the files - All Saints CE Primary & Nursery School - Newsletters and you can have a copy of the code but you'd have to adapt in for Joomla.

 

regards

 

Simon

Code attached

filelist.zip

Edited by SimpleSi
  • Thanks 1
Posted (edited)

I used 1.5 native, and used remository to similar effect here see newsletters, calander, useful downloads etc.

 

Although the NM that took over the site when I left has fluffed it up by submitting the newsletters out of order....

Edited by mossj
Posted

Hi, I've done exactly what you are after. On our school Windows system, there is a shared folder where teachers can dump files (e.g. letters). I use a free ftp sync program to sync this local folder to a directory on the FTP server where Joomla is installed. The ftp sync program is run as a scheduled task 4 times a day, making sure it's up-to-date.

 

So assuming the letters are on a directory on the server, I created an article page in Joomla called letters.

 

I then wrote a content plugin which has the tags {dirlist myfolder/letters} and this will recursively display the files/folders listed in myfolder/letters. It displays a simple table with date and size, and is ordered according to date modified, showing newest file at the top. For sub directories, it will put the subfolder name in bold and list the files below it, then leave a blank and go to the next file/folder. Security is handled by the Joomla web server.

 

You can see an example of it in School Letters or Showcase Area

 

In the letters example, the artcile/page simply looks like:

{dirlist letters/whole_school}

{dirlist letters/lower_school}

{dirlist letters/upper_school}

etc.

 

Donations appreciated, but you're welcome to it all if it sounds good.

  • Thanks 2
Posted
Hi, I've done exactly what you are after. On our school Windows system, there is a shared folder where teachers can dump files (e.g. letters). I use a free ftp sync program to sync this local folder to a directory on the FTP server where Joomla is installed. The ftp sync program is run as a scheduled task 4 times a day, making sure it's up-to-date.

 

So assuming the letters are on a directory on the server, I created an article page in Joomla called letters.

 

I then wrote a content plugin which has the tags {dirlist myfolder/letters} and this will recursively display the files/folders listed in myfolder/letters. It displays a simple table with date and size, and is ordered according to date modified, showing newest file at the top. For sub directories, it will put the subfolder name in bold and list the files below it, then leave a blank and go to the next file/folder. Security is handled by the Joomla web server.

 

You can see an example of it in School Letters or Showcase Area

 

In the letters example, the artcile/page simply looks like:

{dirlist letters/whole_school}

{dirlist letters/lower_school}

{dirlist letters/upper_school}

etc.

 

Donations appreciated, but you're welcome to it all if it sounds good.

 

 

 

You should release that in the extensions directory! it's an excellant way of doing things!

 

BUT you should bar your teachers from putting (shudder) word documents on there... PDF's are the way forward and look more professional!

Posted

I know there's a php based doc-to-pdf script, but haven't had time to integrate it yet. I'm a full time teacher, as well as the network/technical manager for the school, so it keeps me busy...

 

I've tried to release it to the Joomla extensions repos, but it's too complicated. I went through the process, but got a message saying I couldn't used a file hosting site to upload the plugin, but then couldn't see where to upload the file to. Should be much easier IMHO.

 

The good thing is that the teachers just copy a paste files into the shared folder. They have been warned that the files will go straight to the website (somepoint that day, anyway).

  • 1 month later...
Posted

Hi! I'm a teacher from Luxembourg (EU) and I also look for such a solution!

I looked everywhere, but didn't find a thing!

Could you please tell me where I can find the plugin file that displays the files?

 

It would be very useful for our school!

  • 1 year later...
  • 3 months later...
Posted

Hi,

 

I'm interested on that .pdf file lister on joomla articles... I mean the folder file lister. Email it to kuupik(at)gmail.com please?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...