+ Post New Thread
Results 1 to 11 of 11
Web Development Thread, Question from BETT - Displaying Folders in Webpage in Coding and Web Development; Would like to show the contents of a folder within our intranet, while maintaining css formating to keep look and ...
  1. #1
    peterv5's Avatar
    Join Date
    Jan 2007
    Location
    Leicester
    Posts
    11
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question from BETT - Displaying Folders in Webpage

    Would like to show the contents of a folder within our intranet, while maintaining css formating to keep look and feel the same.

    Can anyone help?

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Question from BETT - Displaying Folders in Webpage

    If you're using Apache and are using the mod_autoindex module to produce your indexes you can use the 'IndexStyleSheet' directive to indicate a css stylesheet to use.

    http://httpd.apache.org/docs/2.2/mod...ndexstylesheet

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Question from BETT - Displaying Folders in Webpage

    If you run PHP you can use this script.

  4. #4
    peterv5's Avatar
    Join Date
    Jan 2007
    Location
    Leicester
    Posts
    11
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Question from BETT - Displaying Folders in Webpage

    Unfortunately as yet we don't have a server- just a large Buffalo linkstation disk sitting on our network. So my understanding is I can't run CMS software that needs PHP and Apache etc? Yes, a bit dark ages, but...

  5. #5

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Question from BETT - Displaying Folders in Webpage

    Yes, you'd need web server software installed on a server to run a CMS - ideally Apache with PHP, and probably MySQL database (depending on which CMS you use).

  6. #6

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Question from BETT - Displaying Folders in Webpage

    What, a multi-teer solution with the Buffalo as the backend?

  7. #7

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Question from BETT - Displaying Folders in Webpage

    It's possible, just mount one of the buffalo's SMB share on the web server in linux, Map Network Drive to it on Windows.

  8. #8

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170

    Re: Question from BETT - Displaying Folders in Webpage

    If your intranet folder is fairly static, you can use the DirHTML program to produce an html file of a folder (or folders) every now and then.

    You can customise the way the pages produced are displayed but you'd have to play with them to see if you can incorporate CSS ito them (Im not a CSS expert)

    Example that I use it for is here - I just use it to produce a listing of all pdfs in a folder (but you can make it do all files) and then I upload the filelist page (and the latest pdf) to update the website.

    regards

    Simon

  9. #9
    peterv5's Avatar
    Join Date
    Jan 2007
    Location
    Leicester
    Posts
    11
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Question from BETT - Displaying Folders in Webpage

    I think that dirHTML looks at first glance like the answer to a maiden's prayer. Thanks very much, Simon This looks doable!
    Peter

  10. #10

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170

    Re: Question from BETT - Displaying Folders in Webpage

    @webman

    I thought of trying out your code but what on earth is all the
    Code:
    $I['file']='R0lGODlhEAAPA ... etc
    at the beginning of the file 8O

    Will all my computers end up belonging to you

    regards

    Simon

  11. #11

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,422
    Thank Post
    645
    Thanked 967 Times in 667 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Question from BETT - Displaying Folders in Webpage

    It's actually an icon (so it can be distributed as a single file). It's not my own code and I can't remember where I got it from :cry:



SHARE:
+ Post New Thread

Similar Threads

  1. Design - Best Webpage you have ever seen?
    By Zoom7000 in forum General Chat
    Replies: 26
    Last Post: 4th June 2008, 01:03 PM
  2. EduGeek Webpage Icon
    By TechSupp in forum General Chat
    Replies: 26
    Last Post: 4th August 2007, 05:43 PM
  3. Squid Webpage redirect
    By Stese in forum *nix
    Replies: 18
    Last Post: 14th June 2007, 11:57 AM
  4. Database driven webpage
    By DSapseid in forum Web Development
    Replies: 4
    Last Post: 22nd May 2007, 11:46 AM
  5. Quick question about redirecting folders
    By MikeR in forum Windows
    Replies: 30
    Last Post: 3rd November 2005, 01:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •