Ya thats tiny MCE which I want to add to the file manager. which is the first code in the OP
Ya thats tiny MCE which I want to add to the file manager. which is the first code in the OP
At this point, I have no idea what you are trying to do. My take from the post was that you were trying to add the TinyMCE control to an existing page -- which would be as simple as adding the scripts and a textarea. Now, I'm not sure.
Can you describe what you are specifically trying to do? What is the purpose of the TinyMCE control?
Wolffy
.-- ----- ..-. ..-. -.--
Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.
Ok I have a basic php file manager, exTplorer wit the t I think. And I want my dealers to be able to log into the filemanager which will restrict them to their directory. Most of them don't know HTML but I want them to be able to edit the files right there. In plane text. Right now it's just a basic text box that will show the code. But the text field is not a normal text feild. It's near the bottom of that first code I think. I'm on my iPhone till tommrow night so it's hard to look. But it's says textarea and some other stuff. It's not an HTML form which is my problem. It almost seems to be a css kind of thing ( not exactly css but you know what I mean. ) I hope that makes more sense. I can only see 2 lines of type on this thing
OK, lemme see if I get this. This is what I'm seeing in my head. A user will log in to the file manager and be presented with a list of all the files (normal files on the server, not a database) that she has access to. If she then clicks on a specific file, the contents of that file should be displayed in an edit box. User can then make changes to the text in the edit box. When the form is submitted, you want to replace the contents of the file on the server with the updated content from the text box. Right?
Now, the contents of the file is an HTML markup of some kind, so you want the edit box to display the content as if it was displayed in a browser -- kind of a visual HTML editor.
Do I have it sorted now?
Aha! You want to replace the editor in the file manager application with the TinyMCE editor! Si?
Last edited by Wolffy; June 16th, 2009 at 03:22 PM.
Wolffy
.-- ----- ..-. ..-. -.--
Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.
Exactly. LOL. I can be pretty confusing if I want. Lmao. So the way the file editor works is you check the file and click edit. Then it opens an Ajax/javascript type window over the file manager in the same window with out refreshing.
Bookmarks