Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 29. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  MCE-CAL Extension: JSCalendar

phpMyEdit Configuration     MCE-CAL Extension: JSCalendar
Odoslať novú tému   Odpovedať na tému   Choď na stránku 1, 2, 3 ... 12, 13, 14  Ďalší  
 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-09-05 14:42
Návrat hore  Odpovedať s citátom     

Hi all

I downloaded JSCalendar from http://sourceforge.net/projects/jscalendar/ and configured my PME script to use the mce-cal extension:

Kód:
require_once 'class/phpmyedit-5.7/extensions/phpMyEdit-mce-cal.class.php';
new phpMyEdit($opts);


The HTML header is:

Kód:
<head>
(...)
<style type="text/css">@import url("class/jscalendar-1.0/calendar-win2k-1.css");</style>
<script type="text/javascript" src="class/jscalendar-1.0/calendar.js"></script>
<script type="text/javascript" src="class/jscalendar-1.0/lang/calendar-pt.js"></script>
<script type="text/javascript" src="class/jscalendar-1.0/calendar-setup.js"></script>
(...)
</head>


And the field using calendar is:

Kód:
$opts['fdd']['Date_Reg'] = array(
  'name'     => 'Date',
  'select'   => 'T',
  'options'  => 'ACPVD',
  'calendar' => array(
    'ifFormat'    => '%Y/%m/%d',
    'firstDay'    => 1,
    'singleClick' => true,
    'weekNumbers' => true,
    'showsTime'   => false,
    'timeFormat'  => '24',
    'button'      => true),
  'required' => true
);


(The simple 'calendar' => true, was tested too)

But ADD/EDIT pages don't shows the calendar icon.

Checking the source code of the HTML page, javascript after <body> calls the filed correctly(?):

Kód:
function PME_js_form_control(theForm)
{

   if (PME_js_trim(theForm.PME_data_Date_Reg.value) == "") {
      alert("Por favor, entre Date.");
      theForm.PME_data_Date_Reg.focus();
      return false;
   }

   return true;
}


And there is no reference to calendar on the form input:

Kód:
<tr class="pme-row-0">
<td class="pme-key-0">Date</td>
<td class="pme-value-0">
<input class="pme-input-0" type="text" name="PME_data_Date_Reg" value="" /></td>
</tr>


Paths to files and directories are correctly: PME and JSCalendar.

Any help?

Thanks!!!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
ajh     Založený: 17.12.2003   Príspevky: 236  
Príspevok Zaslal: 2007-09-05 17:34
Návrat hore  Odpovedať s citátom     

I assume that you have downloaded the mce_cal extension as well?

There is a problem with the extension in that it has not been updated for a while so is probably out of sync with the current released version of PME. It would be worth trying it with the latest CVS version of PME, but I know that this will disable a number of the newer features (such as check boxes).

I've been meaning to update it for a while, but haven't quite got round to it!

 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-09-05 18:05
Návrat hore  Odpovedať s citátom     

ajh Napísal:
I've been meaning to update it for a while, but haven't quite got round to it!


Hi Ajh!

The CVS version don't work too. The checkbox feature is not necessary for me now. In fact, the form_end() function is who write the lines after </form> used by calendar, so I manualy put these code and it will work fine. Like this:

Kód:
// require_once 'phpMyEdit.class.php';
require_once 'class/phpmyedit-5.7/extensions/phpMyEdit-mce-cal.class.php';
new phpMyEdit($opts);

?>

<script type="text/javascript">
  Calendar.setup(
    {
      inputField  : "PME_data_Date_Reg",
      ifFormat    : "%d-%m-%Y",
      button      : "PME_data_Date_Reg"
    }
  );
</script>


And this must be changed on calendar-setup.js file (line 100):

Kód:
  /*  BY VICTOR - HIDE ALERT AT LIST VIEW: */
  if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {
      /* alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code"); */
      return true;
   }

   /* ORIGINAL:
   if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {
      alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code");
      return false;
   }
   */


Don't worry, it works now. I can wait the correct mce-cal version, no problem. :)

Thanks!!!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
Moises     Založený: 09.09.2007   Príspevky: 1  
Príspevok Zaslal: 2007-09-09 16:41
Návrat hore  Odpovedať s citátom     

Olá Vitor
Enfrento esse problema em fazer o calendário funcionar. Segui exatamente os passos que vc indica e n&#227;o há crist&#227;o que faça esse script mostrar o calendário. Na verdade ele mostra o link para o calendário, mas quando eu clico ele me devolve &#224; pagina original. Tentei algumas vers&#245;es anteriores como alguns recomendam, mas os calendários s&#227;o cheio de bugs e ou incompatibilidades. Se vc puder me dar alguma dica agradeço.

 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-09-10 18:20
Návrat hore  Odpovedať s citátom     

Moises Napísal:
Na verdade ele mostra o link para o calendário, mas quando eu clico ele me devolve pagina original.


Olá Moises,

Baixe o JSCalendar do link citado no 1o post e deixe seu código assim:

OBS: Modifique os caminhos conforme sua configuraç&atilde;o.

Kód:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso8859-1">
   <title>fabrimar_cardapio</title>

  <style type="text/css">@import url("../includes/estilo_pme.css");</style>
  <style type="text/css">@import url("../class/jscalendar-1.0/calendar-blue2.css");</style>

  <script type="text/javascript" src="../class/jscalendar-1.0/calendar.js"></script>
  <script type="text/javascript" src="../class/jscalendar-1.0/lang/calendar-en.js"></script>
  <script type="text/javascript" src="../class/jscalendar-1.0/lang/calendar-pt.js"></script>
  <script type="text/javascript" src="../class/jscalendar-1.0/calendar-setup.js"></script>
 
</head>

<body>

<?php

// PHPMyEdit code...

$opts['fdd']['Data_Atual'] = array(
  'name'     => 'Data_Atual',
  'select'   => 'T',
  'options'  => 'ALVD',
  'datemask' => 'd-m-Y',
  'maxlen'   => 12,
  'calendar' => true,
  'required' => true
);

// PHPMyEdit code...

// Now important call to phpMyEdit
require_once '../class/phpMyEdit-5.7/phpMyEdit.class.php';
new phpMyEdit($opts);

?>

<script type="text/javascript">
  Calendar.setup(
    {
      inputField  : "PME_data_Data_Atual",
      ifFormat    : "%d-%m-%Y",
      button      : "PME_data_Data_Atual"
    }
  );
</script>

</body>
</html>


Modifique o arquivo do calendário citado no 1o post tb, sen&atilde;o aparecerá uma msg de erro qdo vc &ntilde; estiver adicionando ou editando algum registro.

No formulário n&atilde;o aparecerá o bot&atilde;o do calendário, mas basta clicar no campo input que ele aparecerá.

Abraço!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
dieglopviana     Založený: 12.09.2007   Príspevky: 13   Bydlisko: Brazil
Príspevok Zaslal: 2007-09-13 21:00
Návrat hore  Odpovedať s citátom     

E aí Victor, kra eu nao entendi onde eu tenho que alterar os códigos sitados por voce acima.
Este:
Kód:
function PME_js_form_control(theForm)
{

   if (PME_js_trim(theForm.PME_data_Date_Reg.value) == "") {
      alert("Por favor, entre Date.");
      theForm.PME_data_Date_Reg.focus();
      return false;
   }

   return true;
}


e este:
Kód:
<tr class="pme-row-0">
<td class="pme-key-0">Date</td>
<td class="pme-value-0">
<input class="pme-input-0" type="text" name="PME_data_Date_Reg" value="" /></td>
</tr>

eu até fiz algumas alteracoes aqui mais deu o erro
Kód:
Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code

Kra, se voce puder me dar um help, dizendo onde eu tenho que alterar essas linhas, eu agradeço muito...Um abraço

 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-09-14 11:59
Návrat hore  Odpovedať s citátom     

Pessoal, vamos la:

(Vou responder em Ingles para q tds possam entender ok!)

First of all, get the last CVS PME class (1.203 now) and change these lines:

Line 1080:
Kód:
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'"';


Change adding this:
Kód:
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'"';
echo ' id="',$this->cgi['prefix']['data'].$this->fds[$k],'"'; // BY VICTOR: INPUT ID IS NECESSARY TO JSCALENDAR.


Line 1226 (now this line is 1227)
Kód:
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="';


Change to:
Kód:
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" id="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="'; // BY VICTOR: INPUT ID IS NECESSARY TO JSCALENDAR.


JSCalendar need the INPUT ID to correct work, so theses changes are necessary.

Now add these lines to your <head> file (change path if necessary):

Kód:
  <style type="text/css">@import url("class/jscalendar-1.0/calendar-blue2.css");</style>
  <script type="text/javascript" src="class/jscalendar-1.0/calendar.js"></script>
  <script type="text/javascript" src="class/jscalendar-1.0/lang/calendar-en.js"></script>
  <script type="text/javascript" src="class/jscalendar-1.0/lang/calendar-pt.js"></script>
  <script type="text/javascript" src="class/jscalendar-1.0/calendar-setup.js"></script>


Call the calendar function:

Kód:
$opts['fdd']['Date'] = array(
  'name'     => 'Date',
  'select'   => 'T',
  'options'  => 'ALVD',
  'datemask' => 'd-m-Y', // PT-BR, use Y-m-d to EN
  'maxlen'   => 12,
  'calendar' => true, // Simple mode, see pme-cal extension for more options.
  'required' => true
);


And this after all PME code:

Kód:
(...)
// Now important call to phpMyEdit
require_once 'class/phpMyEdit-5.7/extensions/phpMyEdit-mce-cal.class.php';
new phpMyEdit($opts);

?>

<script type="text/javascript">
  Calendar.setup(
    {
      inputField  : "PME_data_Date",
      ifFormat    : "%d-%m-%Y",
      button      : "PME_data_Date"
    }
  );
</script>

</body>
</html>


And this must be changed on calendar-setup.js file (line 100):

Kód:
  /*  BY VICTOR - HIDE ALERT AT LIST VIEW: */
  if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {
      /* alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code"); */
      return true;
   }

   /* ORIGINAL:
   if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {
      alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code");
      return false;
   }
   */


To test, run your script on browser and click the Date input field, you will see jscalendar in action.

Best Regards!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
dieglopviana     Založený: 12.09.2007   Príspevky: 13   Bydlisko: Brazil
Príspevok Zaslal: 2007-09-14 14:14
Návrat hore  Odpovedať s citátom     

kra vlw mesmo, deu certo aqui...um abraço...

 
Leopoldika     Založený: 20.01.2010   Príspevky: 1  
Príspevok Zaslal: 2010-01-20 16:24
Návrat hore  Odpovedať s citátom     

Hi
I write a script

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Mice</title>
<style type="text/css"> @import url("MY_STYLE.css"); </style>

<img src="cwt elemei/bgHead_mice.jpg" width="1828" height="92">


<script type="text/javascript" src="./class/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
auto_reset_designmode : true,
width: "800",
height: "200"
});
</script>
<script type="text/javascript" src="class/jscalendar/calendar.js"></script>
<script type="text/javascript" src="class/jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="class/jscalendar/calendar-setup.js"></script>
<link rel="stylesheet" type="text/css" media="screen"
href="class/jscalendar/calendar-system.css">


<style type="text/css">
hr.pme-hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
table.pme-main { border: #006D6C 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
table.pme-navigation { border: #004d9c 0px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
td.pme-navigation-0, td.pme-navigation-1 { white-space: nowrap; }
th.pme-header { border: #C1DFDD 1px solid; padding: 4px; background: #C9E3E0; }
td.pme-key-0, td.pme-value-0, td.pme-help-0, td.pme-navigation-0, td.pme-cell-0,
td.pme-key-1, td.pme-value-1, td.pme-help-0, td.pme-navigation-1, td.pme-cell-1,
td.pme-sortinfo, td.pme-filter { border: #004d9c 1px solid; padding: 3px; }
td.pme-buttons { text-align: left; }
td.pme-message { text-align: center; }
td.pme-stats { text-align: right; }
</style>

</head>
<body>


<?php

/*
* IMPORTANT NOTE: This generated file contains only a subset of huge amount
* of options that can be used with phpMyEdit. To get information about all
* features offered by phpMyEdit, check official documentation. It is available
* online and also for download on phpMyEdit project management page:
*
* http://opensource.platon.sk/projects/main_page.php?project_id=5
*
* This file was generated by:
*
* phpMyEdit version: 5.7.1
* phpMyEdit.class.php core class: 1.204
* phpMyEditSetup.php script: 1.50
* generating setup script: 1.50
*/

// MySQL host name, user name, password, database, and table
$opts['hn'] = 'cwtbudstge01:3307';
$opts['un'] = 'root';
$opts['pw'] = 'Budapest137b';
$opts['db'] = 'mice';
$opts['tb'] = 'ofc';

// Name of field which is the unique key
$opts['key'] = 'ID';

// Type of key field (int/real/string/date etc.)
$opts['key_type'] = 'int';

// Sorting field(s)
$opts['sort_field'] = array('ID');

// Number of records to display on the screen
// Value of -1 lists all records in a table
$opts['inc'] = 25;

// Options you wish to give the users
// A - add, C - change, P - copy, V - view, D - delete,
// F - filter, I - initial sort suppressed
$opts['options'] = 'ACPVDF';

// Number of lines to display on multiple selection filters
$opts['multiple'] = '4';

// Navigation style: B - buttons (default), T - text links, G - graphic links
// Buttons position: U - up, D - down (default)
$opts['navigation'] = 'Dg';

// Display special page elements
$opts['display'] = array(
'form' => true,
'query' => true,
'sort' => true,
'time' => true,
'tabs' => true
);

// Set default prefixes for variables
$opts['js']['prefix'] = 'PME_js_';
$opts['dhtml']['prefix'] = 'PME_dhtml_';
$opts['cgi']['prefix']['operation'] = 'PME_op_';
$opts['cgi']['prefix']['sys'] = 'PME_sys_';
$opts['cgi']['prefix']['data'] = 'PME_data_';

/* Get the user's default language and use it if possible or you can
specify particular one you want to use. Refer to official documentation
for list of available languages. */
$opts['language'] = $_SERVER['HTTP_ACCEPT_LANGUAGE'] . '-windows-1250';

/* Table-level filter capability. If set, it is included in the WHERE clause
of any generated SELECT statement in SQL query. This gives you ability to
work only with subset of data from table.

$opts['filters'] = "column1 like '%11%' AND column2<17";
$opts['filters'] = "section_id = 9";
$opts['filters'] = "PMEtable0.sessions_count > 200";
*/

/* Field definitions

Fields will be displayed left to right on the screen in the order in which they
appear in generated list. Here are some most used field options documented.

['name'] is the title used for column headings, etc.;
['maxlen'] maximum length to display add/edit/search input boxes
['trimlen'] maximum length of string content to display in row listing
['width'] is an optional display width specification for the column
e.g. ['width'] = '100px';
['mask'] a string that is used by sprintf() to format field output
['sort'] true or false; means the users may sort the display on this column
['strip_tags'] true or false; whether to strip tags from content
['nowrap'] true or false; whether this field should get a NOWRAP
['select'] T - text, N - numeric, D - drop-down, M - multiple selection
['options'] optional parameter to control whether a field is displayed
L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view
Another flags are:
R - indicates that a field is read only
W - indicates that a field is a password field
H - indicates that a field is to be hidden and marked as hidden
['URL'] is used to make a field 'clickable' in the display
e.g.: 'mailto:$value', 'http://$value' or '$page?stuff';
['URLtarget'] HTML target link specification (for example: _blank)
['textarea']['rows'] and/or ['textarea']['cols']
specifies a textarea is to be used to give multi-line input
e.g. ['textarea']['rows'] = 5; ['textarea']['cols'] = 10
['values'] restricts user input to the specified constants,
e.g. ['values'] = array('A','B','C') or ['values'] = range(1,99)
['values']['table'] and ['values']['column'] restricts user input
to the values found in the specified column of another table
['values']['description'] = 'desc_column'
The optional ['values']['description'] field allows the value(s) displayed
to the user to be different to those in the ['values']['column'] field.
This is useful for giving more meaning to column values. Multiple
descriptions fields are also possible. Check documentation for this.
*/

$opts['fdd']['ID'] = array(
'name' => 'ID',
'select' => 'T',
'options' => 'AVCPDRL', // auto increment
'maxlen' => 10,
'default' => '0',
'sort' => true
);
$opts['fdd']['EV'] = array(
'name' => 'Year',
'options' => 'PVFL',
'select' => 'T',
'maxlen' => 4,
'default' => '2010',
'sort' => true
);

$opts['fdd']['Type'] = array(
'name' => 'Type',
'help' => '<font color="#000066"><img src="images/star.gif" align="absmiddle"><b> Support type</b>',
'select' => 'D',
'maxlen' => 7,
'values' => array(
"OFC",
"HELP",
"OTHER"),
'default' => 'OFC',
'options' => 'LCA',
'required' => true,
'sort' => true
);

$opts['fdd']['Client'] = array(
'name' => 'Client',
'select' => 'T',
'maxlen' => 50,
'sort' => true
);
$opts['fdd']['Date'] = array(
'name' => 'Date Open',
'help' => '<font color="#000066">- Opening support date',
'select' => 'T',
'maxlen' => 10,
'default' => date('Y-m-d'),
'datemask' => 'Y-m-d',
'options' => 'RLVA',
'required' => false,
'sort' => true
);
$opts['fdd']['Agent'] = array(
'default' => '',
'maxlen' => 4,
'name' => 'User',
'help' => '<font color="#000066">- UtaztatĂł kĂłdja',
'options' => 'ACPVDFL',
'select' => 'D', // drop down
'size|ACP' => 4,
'sort' => true,
'values' => array(
'db' => 'mice',
'table' => 'login',
'column' => 'username' ,
'description'=> array(
'columns' => array('username',),
'divs' => array(),
) ,
// 'filters' => 'col_name = "Pozi_szam"',

)
);
$opts['fdd']['Order'] = array(
'name' => 'Order',
'help' => '<font color="#000066"><img src="images/star.gif" align="absmiddle"><b> Order type</b>',
'select' => 'D',
'maxlen' => 7,
'values' => array(
"PH",
"EMAIL"),
'default' => 'EMAIL',
'options' => 'LCA',
'required' => true,
'sort' => true
);

$opts['fdd']['Tool'] = array(
'name' => 'Tool',
'help' => '<font color="#000066"><img src="images/star.gif" align="absmiddle"><b> Tool type</b>',
'select' => 'D',
'maxlen' => 7,
'values' => array(
"PORTRAIT",
"SBT",
"WHEEL",
"OTHER"),
'default' => '',
'options' => 'LCA',
'required' => true,
'sort' => true
);

$opts['fdd']['Issue'] = array(
'name' => 'Issue',
'select' => 'T',
'maxlen' => 50,
'sort' => true
);

$opts['fdd']['Date_solved'] = array(
'name' => 'date_solved',
'select' => 'T',
'options' => 'ACPVD',
'required' => true,
'calendar' => array(
'ifFormat' => '%Y/%m/%d',
'firstDay' => 1,
'singleClick' => true,
'weekNumbers' => true,
'showsTime' => false,
'timeFormat' => '24',
'button' => true,
'label' => '...',


)
);
/*$opts['fdd']['Date_solved'] = array(
'name' => 'Date_solved',
'select' => 'T',
'maxlen' => 10,
'default' => '0000-00-00',
'sort' => true,

); */

$opts['fdd']['Invoice'] = array(
'name' => 'Invoice',
'select' => 'T',
'maxlen' => 50,
'sort' => true
);
$opts['fdd']['Note'] = array(
'name' => 'Note',
'help' => '<font color="#000066">- Commentaries about',
'select' => 'T',
'options' => 'ACPVL',
'textarea' => array(
'html' => format1,
'rows' => 3,
'cols' => 50)
);

include "includes/header_html.inc";
include "includes/header_index.inc";
// Now important call to phpMyEdit
require_once 'phpMyEdit-mce-cal.class.php';
new phpMyEdit_mce_cal($opts);
require_once 'phpMyEdit.class.php';
new phpMyEdit($opts);
include "includes/bottom_html.inc";



?>

<script type="text/javascript">
Calendar.setup(
{
inputField : "PME_data_Date_Reg",
ifFormat : "%Y-%m-%d",
button : "PME_data_Date_Reg"
}
);
</script>


</body>
</html>

I would like a date picker but not working
why so?
Please help me!
Thanks

zucarino Napísal:
Hi all

I downloaded JSCalendar from http://sourceforge.net/projects/jscalendar/ and configured my PME script to use the mce-cal extension:

Kód:
require_once 'class/phpmyedit-5.7/extensions/phpMyEdit-mce-cal.class.php';
new phpMyEdit($opts);


The HTML header is:

Kód:
<head>
(...)
<style type="text/css">@import url("class/jscalendar-1.0/calendar-win2k-1.css");</style>
<script type="text/javascript" src="class/jscalendar-1.0/calendar.js"></script>
<script type="text/javascript" src="class/jscalendar-1.0/lang/calendar-pt.js"></script>
<script type="text/javascript" src="class/jscalendar-1.0/calendar-setup.js"></script>
(...)
</head>


And the field using calendar is:

Kód:
$opts['fdd']['Date_Reg'] = array(
  'name'     => 'Date',
  'select'   => 'T',
  'options'  => 'ACPVD',
  'calendar' => array(
    'ifFormat'    => '%Y/%m/%d',
    'firstDay'    => 1,
    'singleClick' => true,
    'weekNumbers' => true,
    'showsTime'   => false,
    'timeFormat'  => '24',
    'button'      => true),
  'required' => true
);


(The simple 'calendar' => true, was tested too)

But ADD/EDIT pages don't shows the calendar icon.

Checking the source code of the HTML page, javascript after <body> calls the filed correctly(?):

Kód:
function PME_js_form_control(theForm)
{

   if (PME_js_trim(theForm.PME_data_Date_Reg.value) == "") {
      alert("Por favor, entre Date.");
      theForm.PME_data_Date_Reg.focus();
      return false;
   }

   return true;
}


And there is no reference to calendar on the form input:

Kód:
<tr class="pme-row-0">
<td class="pme-key-0">Date</td>
<td class="pme-value-0">
<input class="pme-input-0" type="text" name="PME_data_Date_Reg" value="" /></td>
</tr>


Paths to files and directories are correctly: PME and JSCalendar.

Any help?

Thanks!!!


 
onglipo1     Založený: 17.09.2011   Príspevky: 1  
Príspevok Zaslal: 2011-09-18 10:40
Návrat hore  Odpovedať s citátom     

Any one solved the jscal issue?


Naposledy upravil onglipo1 dňa 2011-09-18 10:48, celkom upravené 1 krát

 
onglipo1     Založený: 17.09.2011   Príspevky: 1  
Príspevok Zaslal: 2011-09-18 10:40
Návrat hore  Odpovedať s citátom     

With the latest versions of tinymce and jscal 2


Naposledy upravil onglipo1 dňa 2011-09-18 10:49, celkom upravené 3 krát

 
onglipo1     Založený: 17.09.2011   Príspevky: 1  
Príspevok Zaslal: 2011-09-18 10:41
Návrat hore  Odpovedať s citátom     

Check this link for a working version in base class itself.

 
jiuer7845     Založený: 06.10.2020   Príspevky: 122  
Príspevok Zaslal: 2020-12-22 12:27
Návrat hore  Odpovedať s citátom     

Adidas Yeezy

Yeezy

Nike Outlet

Adidas Yeezy

Air Max 720

Nike Air Max 270

Nike Air Force 1

Air Jordan 11

Air Force 1

ADIDAS NMD

Yeezy 700

Air Jordan 1

Nike Jordans

Jordan 1s

Nike Jordan 1

Nike Air VaporMax Flyknit 3

Nike Air Max 270 React

Nike Outlet

Nike Trainers

Nike Outlet Store

Jordan 1

Jordan 11

Nike Jordan

UGGS Clearance Sale Outlet

UGGS Official Site

Nike Air VaporMax

Nike 270

Nike Air Force 1

Nike Vapormax

Nike Vapormax Flyknit

Air Jordan 1 Mid

Yeezy Shoes

Nike Outlet

Yeezy 350

Yeezy Shoes

Yeezys

Yeezy Cinder

Yeezy

Adidas yeezy

Adidas yeezy

Yeezy Shoes

Adidas Yeezy Official Website

Discount UGG Outlet

UGG Outlet

Yeezy 350

Adidas Yeezy

UGG UK

Yeezy 350

UGGS Outlet

Timberland

Timberland Shoes

Air Max 97

Nike Air Max 270

Yeezy Supply

Kobe Bryant Jersey

Kobe Bryant Jerseys For Sale

Kobe Bryant Jersey 24

Kobe Bryant Website Official

Yeezy

Yeezy

Nike Shoes

Nike Shoes

NFL Jerseys

Nike Outlet

Yeezy 380

Yeezy 380

Nike Outlet

Human Races

Human Race Shoes

Basketball Jerseys

Basketball Jerseys

Cheap NBA Jerseys

Nike Outlet

Yeezy Shoes

Yeezy Mafia

Yeezy 350 V2

Yeezys Official Site

Yeezy sliders

NBA Jerseys

NBA Jerseys

NBA Store

Yeezy

Yeezy Sneaker

Adidas Yeezy Official Website

Adidas Yeezy Online Store

Air Max Clearance Sale

NFL Shop Official Online Store

Nike UK

Yeezy

Yeezy 350

Adidas Yeezy

Air Jordan 1

Air Jordan 1

Jordan 1

Jordan 1s

Jordan 1s

Jordan Retro

Jordan Retro 4

Jordan 4 Retro

Jordans Shoes

Jordan 4s

Dior Jordan 1

Air Jordan 1 Mid

Jordan 11 Concord

Jordan 11 Retro

Jordan 1 Low

Jordan 11s

Jordan AJ 1

 
andrewsaw1     Založený: 07.09.2022   Príspevky: 50  
Príspevok Zaslal: 2022-09-07 09:36
Návrat hore  Odpovedať s citátom     

When it comes time for Arlington area residents to insulate their homes and businesses, choosing the proper material can greatly affect their energy costs.
Spray Foam of Arlington

 
robinjack     Založený: 01.03.2021   Príspevky: 8906  
Príspevok Zaslal: 2022-09-18 16:05
Návrat hore  Odpovedať s citátom     

Hi there! Nice post! Please do inform us when we could see a follow up! Amarose

 
Odoslať novú tému   Odpovedať na tému   Choď na stránku 1, 2, 3 ... 12, 13, 14  Ďalší  

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