Search found 3 matches

by vankev
Dec 19th, '12, 11:03
Forum: ApPHP TreeMenu
Topic: HOW TO use TreeMenu to select a file?
Replies: 3
Views: 10026

Re: How to use TreeMenu to select a file

By getting the value of filename could you then do what you wanted? These are the modifications I made to get the full path of the file selected from the treemenu (dynamically updates) -- using post: In treemenu.class.php: 1. Create a new private data member in class TreeMenu private $selectedPath; ...
by vankev
Dec 19th, '12, 10:47
Forum: ApPHP TreeMenu
Topic: Build nodes from folder paths returned from database
Replies: 2
Views: 6056

Re: Build nodes from folder paths returned from database

I have solved this issue. They key is to create nodes before trying to build from a folder. My SQL script returns: ID, FolderName, FolderPath. Code: $result = dbConn->dbInst->query($sql); $result->setFetchMode(PDO::FETCH_ASSOC); foreach ($result as $row) { $temp = $treeMenu->AddNode($row["Folde...
by vankev
Dec 18th, '12, 14:55
Forum: ApPHP TreeMenu
Topic: Build nodes from folder paths returned from database
Replies: 2
Views: 6056

Build nodes from folder paths returned from database

Hi, I have currently written a script to query a MSSQL database and return the full relative path of a folder if a user has security permissions to see that folder. I want to build the treemenu structure around each of the folders that is returned by this query. In essence, I want each folder to be ...

Go to advanced search