Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Folder display as type of tree hierarchy

hierarchy folder tree

6:22 pm on Nov 5, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:July 13, 2010
votes: 0


I apologise in advance if this question should be in another forum but I've come to trust it here and I'm lost as to where to start to look with this one.

I want to build a catalogue, when I click the hyperlink to the catalogue page I want the catalogue to be organised/displayed in the same format as you view with windows explorer. IE One folder at the top with a little plus sign on the left, click the plus and opens up that folder. I would need to be able to provide functionality for a user to build their own catalogue structure and use their own folder names.

I saw it a few years ago on an online app so I know it can be done but I'm not sure where to start to look.

I know I can do it with js but that wasn't what I saw before and I want js disabled browsers to see it that way.

Hopefully I've explained things clear enough and any pointers as to how to go about making a start would be much appreciated.

Many thanks in advance O
3:44 pm on Dec 15, 2010 (gmt 0)


WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
votes: 2

Did you ever find this solution, Orangutang? I mean, in the non-JS version?
11:44 am on Dec 19, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:July 13, 2010
votes: 0

Hi coopster,

Progress has been made, cmnetworx sent me a link by stickymail which is virtually exactly what I was looking for. It displays the folders and files as I wanted and its all done in xhtml, css and php.

Unfortunately I'm still going to need to dissect it and change some things to give me what's needed and looking at the code its a bit beyond my ability.

Hopefully over the next few months I can familiarise myself with it while I keep building the application.

It has cleared up exactly what I'm looking for though. I need to enable my client to build an internal catalogue so other employees can place an order from it. At present I've got the following set-up:

At the top of the page an add category input box enables the client to create a category. Further down the page an add product form enables the product to be added and a select list displays the categories previously created so the product can be placed in a category. I then display all the results in a table which displays all the products added and is ORDER BY category to keep it neat.

I want to make it so there's a holistic view of the catalogue while it's being created.