| Author | Post |
|---|
russia5 Member
| Joined: | Fri Jul 29th, 2005 |
| Location: | |
| Posts: | 9 |
|
Posted: Sat Aug 6th, 2005 11:45 am |
|
| Is it possible to edit php files with Editwrx? If not, does anyone know an online php editor with permissions (or even without editing permissions)
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 583 |
|
Posted: Sun Aug 7th, 2005 03:48 pm |
|
It all depends on what you mean by "php files". EditWrx can edit any file if Admin include that extension in the list of allowed ASCII extensions in Site Parameters.
But, quite often "can I edit php files" means that the pages are not real pages but instead are virtual pages thrown together by PHP on the fly, using various content from templates, MySQL databases and included static files.
EditWrx of course can not edit databased content. If you want wysiwyg editing for content stored in an SQL database you will need to adapt the program that you now use for editing the databased content. http://htmlArea.com has a list of "editor components" that can be adapted for that kind of thing.
EditWrx can only edit static files. But, if you have an area on a page that is inserted from a database or server process that you do NOT want edited, enclose that area in an excludeblock and EditWrx will not make any changes to that part of the page, both in the browser and in the file. If you instead have areas on the page that PHP inserts from static files and you want to edit those static file while editing the page, then enclose those areas in an includeblock and EditWrx will find the included static files and overwrite them with the edits made in the browser.
|
russia5 Member
| Joined: | Fri Jul 29th, 2005 |
| Location: | |
| Posts: | 9 |
|
Posted: Sat Aug 13th, 2005 01:27 pm |
|
Hi Kieth, you completely answered the question. Let me ask you, do you or does anyone have code that automatically makes the block off. What I want to do, is to develop a link page, in which someone can put their link on and post it. Once the link is posted, I need it to move to the next row in the table for the next guy.
An addendum to this, is is there any plugins that make putting the block on a little more user friendly? Maybe where you draw a box around the territory you want to edit or something like that?
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 583 |
|
Posted: Sat Aug 13th, 2005 02:44 pm |
|
Once the link is posted, I need it to move to the next row in the table for the next guy.
That would require a very customized routine to progammatically assume and add a table row.
draw a box around the territory you want to edit
Sounds easy, doesn't it? That's what we thought until we tried to build it. The problem is that when the user "draws the box" they are sectioning off only the visible content, not the underlying code. Consider what happens if the user highlights content spanning across two block level elements and assumes they can make that one editblock, for example, across two table cells.
The potential is very high for making what looks like a working editblock that will actually fracture a table or other block level elements when you save your first edit.
Software developers have the same conduct code as doctors "first, do no harm". We abandoned the idea.
|
 Current time is 05:19 pm | |
|