Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Problem with htmlarea

phpMyEdit General     Problem with htmlarea
Post new topic   Reply to topic    
 
etcetera     Joined: 08 Mar 2004   Posts: 4  
Post Posted: 2004-03-08 18:31
Back to top  Reply with quote     

Good day everyone,

I am trying to incorporate the htmlarea add-on into my forms, but I can't seem to get it working.

When I execute the script, the only thing that displays is the word List in the header of the form.

I have tried so many combinations of changes to the htmlarea script loading and field enabling that I am now at the point where I need help from the pros.

My config and content of my sample scripts are as follows:

1. Unzipped the htmlarea zip file under my /phpMyEdit/htmlarea directory.

2. Loaded htmlArea script in the <head>...</head> section of your phpMyEdit in my my_stores4.php calling program, as show below:

<html>
<head>
<meta http-equiv="content-style-type" content="text/css">
<meta name="googlebot" content="index, nofollow, noarchive">
<meta name="robots" content="index, nofollow, noarchive, nocache, noimageindex, nomediaindex">
<?php require_once('style/blue.php'); ?>
<title>my_stores.php</title>

<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "/phpMyEdit/htmlarea/" ; // URL to htmlarea files
...
...
// --></script>

</head>
<body>

3. Enabled the htmlarea extension as shown below:

// require('phpMyEdit.tabclass.php');
// new phpMyEdit($opts);
require_once 'extensions/phpMyEdit-htmlarea.class.php';
new phpMyEdit_htmlarea($opts);

4. Enabled the htmlarea field, as follows:

$opts['fdd']['Message1'] = array(
'name' => 'Message',
'maxlen' => 65,535,
'required' => false,
'options' => 'ACPVD', // ACPVDFL + RWH
'select' => 'T',
'textarea' => array('html' => 'true', 'rows' => '5', 'cols' => '80'),
'trimlen|LF' => 30,
'help|ACP' => 'Limit 65,535 chars.',
'strip_tags' => true,
'sort' => false
);
// Column type: text - blob

=======================================

Note that my extensions are stored in /phpMyEdit/extensions.

I am hoping that a PME pro will find some time to get me out of this ambush.

Thank you nepto, Doug, and all other contributors for this great piece of work.

Daniel (daniel.dansereau@logikinfo.com)

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy