Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Problem with htmlarea

phpMyEdit General     Problem with htmlarea
Odoslať novú tému   Odpovedať na tému    
 
etcetera     Založený: 08.03.2004   Príspevky: 4  
Príspevok Zaslal: 2004-03-08 18:31
Návrat hore  Odpovedať s citátom     

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)

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov