[Phpmyadmin-devel] Plugin - TinyMCE for PMA

Michael Keck sfnet at michaelkeck.de
Tue Oct 17 15:08:24 CEST 2006


Hi again,

I've made some little mods on tinyMCE and the tinyMCE is under GPL,
I will ask the author.
Some other projects like Mambo or Typo3 hav included the tinyMCE
too. I think, there would'nt be problem to include.

I've made under my server http://keck.dnsalias.org/samples/pma/
a little demo.
Just come in and try it. Username: demo, password: test.
Simple click on (I hope it would not be deleted) on the table 'test_title'
and insert a new entry. The field 'content' has an little icon above.
Click on it, and the editor will be opened.

The mods on Tiny:
- tabs for 'edit' and 'preview'
- tinymce.php
- some patches on some scripts
- some basic configurations

The mods on PMA:
- file 'tbl_change.php' modifed
     the edit button only displayed on text / longtext fields
- file 'config_inc.php' modified
    $cfg['PluginPath'] = '../plugins';
    $cfg['PluginWYSIWYG'] = 'tinymce.php';
- new icon:
    editor.png

General:
- new directory: plugins

Todo:
- discussion about external plugins, path, setup and so on
- and then, perhabs fix some files like tbl_change.php

How it works:
 - gets the data form the selected PMA field
 - after 'apply' writes the data (html-code / plain text) into the
   selected PMA field.

Regards
Michael


--- Original Message ---
Mail from: Marc Delisle
Date: 17.10.2006 14:28
>> Another:
>> I've patched tinymce (http://tinymce.moxiecode.com/) as plugin
>> for phpmyadmin.
>
> Interesting!
> What was the needed work? Can we generalize it into a plugin interface?
>
> - link/icon positionning in PMA
> - data exchange between PMA's interface and external code
> - other?
>
> Also, does their license permit us to include their code in PMA?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20061017/89290601/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20061017/89290601/attachment.sig>


More information about the Developers mailing list