[Rumpus-talk] Show "recently added files" on front page
Martin Blom
wu7ang at gmail.com
Fri May 21 05:46:17 PDT 2010
John
Thanks a lot for the reply!
I now have a script that automatically outputs a .txt file with the names of files recently added to the server (the last 5 days).
I would like to display the contents of that text file in a "box" on the front page (not in the welcome pop-up, because it needs to be viewable all the time, when the user is logged in).
Could you maybe tell me how to make this box? (I tried looking at the code but it's a bit confusing) :)
If I get this to work I will share my results (and the script) here, so others can benefit.
Thanks again
Martin
On 19/05/2010, at 14.41, John O'Fallon wrote:
> What you would need is an HTML snippet that would include the file list, and have that inserted into the welcome box. I'll call this "recentfiles.html", and will assume it's stored in the WFM templates folder for each access and delivery by Rumpus.
>
> First, you'll need a script that maintains the recentfiles snippet. I think an AppleScript would probably be best. I don't do much AppleScript, so I can't help with the script, but what it would do is prepend a new file entry to the recentfiles snippet, and remove the last one.
>
> You'd then need to use an embed tag, or more likely a short javascript, to load the recentfiles snippet and insert it into a specified place in the welcome window.
>
> I hope that helps!
>
> John
>
> On May 19, 2010, at 6:07 AM, Martin Blom wrote:
>
>> I would really like to have a box on the front page, after you log in, where users could see the 10 newest files on the server, for example.
>>
>> My users have requested this, because we have several files, in different places on the server.
>>
>> As it is now they have to check each folder and sort by Date, but this is tedious when you have a lot of files/folders (also, they don't always know the names, so a search won't work).
>>
>> A quick overview on the front page of the latest modified (created) files and folders would be very helpful (!)
>>
>> If this isn't something that John would like to do, maybe I could get some pointers on how to do it myself?
>>
>> - Which Rumpus files to edit and if I need to make some kind of script.
>
> _______________________________________________
> Rumpus-Talk mailing list
> Rumpus-Talk at maxum.com
> http://lists.maxum.com/mailman/listinfo/rumpus-talk
More information about the Rumpus-Talk
mailing list