homepage Welcome to WebmasterWorld Guest from 23.22.2.150
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Folder display as type of tree hierarchy
hierarchy folder tree
Orangutang



 
Msg#: 4227192 posted 6:22 pm on Nov 5, 2010 (gmt 0)

Hi,

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

 

coopster

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



 
Msg#: 4227192 posted 3:44 pm on Dec 15, 2010 (gmt 0)

Did you ever find this solution, Orangutang? I mean, in the non-JS version?

Orangutang



 
Msg#: 4227192 posted 11:44 am on Dec 19, 2010 (gmt 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.

Cheers.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved