Re: Suggestion for new Quickform htmltextarea element
| From: | Dan Rossi | Date: | Sat, 08 Oct 2005 05:23:23 +0000 |
| Subject: | Re: Suggestion for new Quickform htmltextarea element | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21282@lists.php.net to get a copy of this message | ||
Oops almost forgot, I have included the file browser mod aswell, it requires some js config variables to be added underneath the htmltextarea manually to suit like this
<script type="text/javascript">
bio_editor.config.directoryName = 'artists/{artistID}';
bio_editor.config.fileBrowserBasePath = 'images/artists/{artistID}';
</script>
<!-- load the main HTMLArea files -->
This will then load a list of files within that path, which you can select in the popup window and then it will add it to the htmltextarea for you.
On 08/10/2005, at 3:04 PM, Dan Rossi wrote:
Hi there, i made a suggestion earlier this year regarding a new htmltextarea element. I spent some time today doing so, coz i wanted to formulate an element for a project. Its been a while since ive been updating myself of pear stuff so I hope formbuilder and quickform are still current !! :D The editor i use for alot of intranet apps is Dynarchs HtmlArea http://www.dynarch.com/projects/htmlarea/ , the licence is free, but I have yet to speak to him about adding it to pear, so i could need some advise there. I have also modded it to include a file browser/upload plugin. The test url is displayed here http://www.electroteque.org/pear/QuickForm/htmltextarea/ and the source is here http://www.electroteque.org/pear/QuickForm/htmltextarea/htmltextarea.zip Please let me know your thoughts, i have coded it so everything is self contained, all js includes are within the htmlarea element, no need for including stuff in the html headers. Dan --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php