|
|
|
|
![]() ![]() |
Mar 26 2007, 04:01 AM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 12 Joined: 26-March 07 Member No.: 21,082 |
I'm trying to set up some tools for a number of developers to use in the creation of a text-based MMORPG. I'd like to be able to show directory structure and allow them to easily see which files are where - then to be able to edit the pages from their browser. It would also be a neat feature that they could upload some files from their computer.
Last time I needed this I built it myself, but it was restricted to 2 directories only and I ended up storing the file structure in text files. Anyways I'm debating rebuilding the entire thing but I can't help wondering if someone somewhere has already built something to this extent and has code available for free somewhere. However, I can't find anything on Google. Maybe someone knows of such a thing? |
|
|
|
Mar 27 2007, 04:23 PM
Post
#2
|
|
|
Member - Active Contributor Group: Members Posts: 83 Joined: 10-November 06 From: Provo, UT Member No.: 17,161 |
I don't understand what exactly you are trying to do, but it seems that you are just maintaining folders of code that the user could edit. If you want to create more than 2 directories, this is pretty simple with recursion. Just recurse through the directories until you find the file you want (or until you display all of the folders/files). If you already have the code for the editor, just add in recursion to get the data from all of the directories. There is plenty of information on the internet if you are confused about recursion.
|
|
|
|
Mar 27 2007, 09:12 PM
Post
#3
|
|
|
Super Member Group: [HOSTED] Posts: 763 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 |
I'm trying to set up some tools for a number of developers to use in the creation of a text-based MMORPG. I'd like to be able to show directory structure and allow them to easily see which files are where - then to be able to edit the pages from their browser. It would also be a neat feature that they could upload some files from their computer. Last time I needed this I built it myself, but it was restricted to 2 directories only and I ended up storing the file structure in text files. Anyways I'm debating rebuilding the entire thing but I can't help wondering if someone somewhere has already built something to this extent and has code available for free somewhere. However, I can't find anything on Google. Maybe someone knows of such a thing? There exists a lot of Browser based editors, take a look to the following ones:
This post has been edited by TavoxPeru: Mar 27 2007, 09:31 PM |
|
|
|
Mar 28 2007, 07:05 PM
Post
#4
|
|
|
Advanced Member Group: Members Posts: 149 Joined: 14-February 07 From: Tuticorin, India Member No.: 20,415 |
TinyMCE is a great Javascript based editor that can be easily integrated into any website or CMS.
you can get Tiny MCE at http://tinymce.moxiecode.com/ |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 05:26 AM |