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  »  Using Extensions

phpMyEdit General     Using Extensions
Odoslať novú tému   Odpovedať na tému    
 
msta     Založený: 15.09.2008   Príspevky: 24  
Príspevok Zaslal: 2008-10-06 12:55
Návrat hore  Odpovedať s citátom     

I have some problem with using extensions:
For example using phpMyEdi-htmlarea extension

I try to work according to manual.
Everything seems to be clear except the requirement:

"Load htmlArea Script in the <head>...</head> section of your phpMyEdit calling program as described in htmlArea manual.

At first I do not know there such maual can be found.

Second, I do not know, about which script we are talking about. Is this the script show bellow?


$opts['fdd']['Uwaga'] = array(
'name' => 'Uwaga',
'select' => 'T',
'options' => 'ACPVD',
'required' => true,
'maxlen' => 65535,
'textarea' => array(
'html' => true,
'rows' => 11,
'cols' => 90),
'sort' => true
);

Or there is some other script?

If this is the script then I added it to my program and the result was not too good.
1. In the view mode the collumn, in which the html area was added is not visible.

2. In the edit mode all rows are visible (including the one with html code), but no icons for html text manipulating are visible.

Bellow please find an entire code od my program. Maybe it helps to find out what is wrong.


<?php
require_once('config.db.php');
require_once('config.table.php');

$opts['tb'] = 'Uwagi';
$opts['fdd']['ID'] = array(
'name' => 'ID',
'select' => 'T',
'options' => 'AVCPDRH', // auto increment
'maxlen' => 3,
'default' => '0',
'sort' => true
);

$opts['fdd']['Uwaga'] = array(
'name' => 'Uwaga',
'select' => 'T',
'options' => 'ACPVD',
'required' => true,
'maxlen' => 65535,
'textarea' => array(
'html' => true,
'rows' => 11,
'cols' => 90),
'sort' => true
);

$opts['fdd']['Odpowiedz'] = array(
'name' => 'Odpowiedz',
'select' => 'T',
'maxlen' => 65535,
'textarea' => array(
'rows' => 5,
'cols' => 90),
'sort' => true
);

$opts['fdd']['Status'] = array(
'name' => 'Status',
'select' => 'T',
'maxlen' => 65535,
'textarea' => array(
'rows' => 5,
'cols' => 90),
'sort' => true
);

require_once('header.php');
require_once('extensions/phpMyEdit-mce-cal.class.php');
new phpMyEdit_mce_cal($opts);
//require_once('phpMyEdit.class.php');
//new phpMyEdit($opts);
require_once('footer.php');
?>


regards
Marek

 
ajh     Založený: 17.12.2003   Príspevky: 236  
Príspevok Zaslal: 2008-10-07 11:48
Návrat hore  Odpovedať s citátom     

Don't use htmlarea, it's deprecated. The htmlarea editor is no longer being developed.

Use mce_cal instead, it is based on the TinyMCE editor which is in active development. The full installation instructions are in the comments on the extension file.

 
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