Edit MySQL content directly from text editor?
March 1, 2006 11:57 AM
Subscribe
I use
Textpattern to manage my Web site. I really want to use my
text editor to edit my templates.
This is how editing templates in Textpattern normally works:
- Open template in the adminstration interface.
- Select the contents of the textarea and Copy it.
- Switch to text editor of choice
- Paste template code into text editor
- Edit template
- Select the template code in the text editor and Copy it
- Switch back to browser.
- Paste template code into textarea.
- Hit the submit button.
I want to be able to edit my templates
directly from my text editor. Since the template code is stored in a database, this means there has to be some intermediary interface. My first thought was to somehow mount the textpattern database directly to the filesystem, perhaps using
FUSE, but I can't figure out how to get that to work.
Any ideas?
posted by rossmeissl to computers & internet (2 comments total)
You could also add an editor to TextPattern.
Textpattern WYSIWYG editor plugin, similar plugin, both use TinyMCE.
Another one that uses XStandard.
(If you're using a Mac, these will most likely work on Firefox but not Safari due to JavaScript compatibility.)
posted by kirkaracha at 12:54 PM on March 1, 2006