https://github.com/shalithacell/dynamic-file-tree-structure-jquery-php
Generating dynamic file tree structure using file paths.Technologies used: HTML, jQuery and PHP.
https://github.com/shalithacell/dynamic-file-tree-structure-jquery-php
file-tree-view jquery jstree php treeview
Last synced: 5 months ago
JSON representation
Generating dynamic file tree structure using file paths.Technologies used: HTML, jQuery and PHP.
- Host: GitHub
- URL: https://github.com/shalithacell/dynamic-file-tree-structure-jquery-php
- Owner: ShalithaCell
- Created: 2019-06-16T09:10:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-30T06:57:53.000Z (over 6 years ago)
- Last Synced: 2025-08-07T00:46:57.752Z (5 months ago)
- Topics: file-tree-view, jquery, jstree, php, treeview
- Language: JavaScript
- Size: 38.1 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dynamic-File-Tree-Structure-Jquery-PHP
Generating dynamic file tree structure using file paths.Technologies used: HTML, jQuery and PHP.
---
# Purpose
The purpose of this project is for generate file structure tree view with any file path list easily.
---
# Usage
### 1. Go to controller.php file.
### 2. create array with your file paths and replace existng file path array.
```PHP
//create your file path array
$myArr = array("E:/SLIIT/2nd year/testfile.pdf", "E:/Apiit/file/cd/edit.pdf", "E:/SLIIT/file/cd/new/pro.pdf");
```
---
# Development setup
### 1. Retrieve our project (if you haven't done so already)
```git
$ git clone git@github.com:ShalithaCell/Dynamic-File-Tree-Structure-Jquery-PHP.git
```
### 2. Move project folder to htdocs folder.
if you cannot find the htdocs folder please follow the below links,
* [Where to find htdocs in XAMPP Mac](https://stackoverflow.com/questions/45518021/where-to-find-htdocs-in-xampp-mac)
* [Find htdocs path, no matter where file is stored](https://stackoverflow.com/questions/5536730/find-htdocs-path-no-matter-where-file-is-stored)
* [htdocs path in linux](https://stackoverflow.com/questions/1582851/htdocs-path-in-linux)
* [https://stackoverflow.com/questions/1582851/htdocs-path-in-linux](https://stackoverflow.com/questions/44989243/unable-to-find-htdocs-on-xampp)
### 3. start the server and run.
---
# Libraries
* [jQuery](https://jquery.com/)
* [jstree](https://www.jstree.com/)
---
# Screenshots
*
# Contribute
The best way to contribute is by spreading the word about the repo:
* Blog it
* Comment it
* Fork it
* Star it
* Share it
A **HUGE THANKS** for your help.