Forum

Direct acces to pro...
 
Notifications
Retirer tout

Direct acces to projects

22 Posts
2 Utilisateurs
0 Reactions
23.1 {numéro}K Vu
(@liolic)
Posts: 15
Active Member
Début du sujet
 

Hi,

I checked all files as you asked me:

1) Content of /tool/checkAlertToDisplay.php

is exactly as you described.

2) there is no "echo" in your parameter.php file

there are no echo command in this file.

3) There is no active "echo" command in /model/persistence/SqlElement.php

All "echo" commands are like commentaries

//echo

or

/*echo

4) Check that you did not add an "echo" command in /tool/projector.php file or other file

here are all echo commands:

 if ( ! is_file($parametersLocation) ) {
    echo " ERROR *
"; echo " parameter file not found at '" . $parametersLocation . "'
"; echo " Check file '/tool/parametersLocation.php' or remove it to use '/tool/parameters.php'.
"; echo "
"; echo " If problem persists, you may get some help at the forum at projectOr web site ."; exit;

______________________________________________________________

if (is_file("login.php")) {
      include "login.php";
    } else {
      echo '';
      echo '';    
      echo '' . i18n('errorConnection') . '';
    }
    exit;

______________________________________________________________

if ( $changePassword ) {
		      if (is_file("passwordChange.php")) {
		        include "passwordChange.php";
		      } else {
		        echo '';
		        echo '';    
		        echo '' . i18n('invalidPasswordChange') . '';
		      }
		      exit;  

______________________________________________________________

function throwError($message, $code=null) {
	global $globalCatchErrors;
  echo 'ERROR : ' . $message . '';
  echo '';
  echo '';
  echo '';
  if (! $globalCatchErrors) {
    exit();

______________________________________________________________

if ( ! file_exists($dir) ) {
      echo '
' . i18n("invalidLogDir",array($dir)) . ''; } else if ( ! is_writable($dir)) { echo '
' . i18n("lockedLogDir",array($dir)) . ''; } else { writeFile( $msg,$file); }

______________________________________________________________
The others are like commentaries

//echo

I added nothing by myself. The oly transformations that I did are in lang. file,

$firstPage="planningMain.php";

in main.php file, change the menu order in tables and finally as you asked me, I changed the receivers list (checkboxes) in "Parameters"/"Controls & automations"/"Indicators" - and deleted old messages.

Perhaps I can send to you all my php files. I did not upgrade yet to the new version, as I had no time.

That's all.
Thank you for your help.
Best regards,
Olivier


 
Posté : 9 Jan PM 22:011
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Here is just a workaround.
Replace in /view/js/projectorDialog.php

function checkAlertRetour(data) {
  if (data) {
	var reminderDiv=dojo.byId('reminderDiv');
	var dialogReminder=dojo.byId('dialogReminder');
	reminderDiv.innerHTML=data;
	//dojo.parser.parse(reminderDiv);
	dojo.style(dialogReminder, {visibility:'visible', display:'inline', bottom: '-200px'});
	//alertDisplayed=true;
	var toColor='#FFCCCC';
    if (dojo.byId('alertType') && dojo.byId('alertType').value=='WARNING') {
		toColor='#FFFFCC';
	}
	if (dojo.byId('alertType') && dojo.byId('alertType').value=='INFO') {
		toColor='#CCCCFF';
	}
	dojo.animateProperty({
        node: dialogReminder,
        properties: {
            bottom: { start: -200, end: 0 },
            right: 0,
            backgroundColor: { start: '#FFFFFF', end: toColor }
        },
        duration: 2000
    }).play();
	
  } else {
	setTimeout('checkAlert();',alertCheckTime*1000);  
  }
}

with

function checkAlertRetour(data) {
  if (data) {
	var reminderDiv=dojo.byId('reminderDiv');
	var dialogReminder=dojo.byId('dialogReminder');
	reminderDiv.innerHTML=data;
	if (dojo.byId('alertType')) {
		//dojo.parser.parse(reminderDiv);
		dojo.style(dialogReminder, {visibility:'visible', display:'inline', bottom: '-200px'});
		//alertDisplayed=true;
		var toColor='#FFCCCC';
	    if (dojo.byId('alertType') && dojo.byId('alertType').value=='WARNING') {
			toColor='#FFFFCC';
		}
		if (dojo.byId('alertType') && dojo.byId('alertType').value=='INFO') {
			toColor='#CCCCFF';
		}
		dojo.animateProperty({
	        node: dialogReminder,
	        properties: {
	            bottom: { start: -200, end: 0 },
	            right: 0,
	            backgroundColor: { start: '#FFFFFF', end: toColor }
	        },
	        duration: 2000
	    }).play();
     }
  } else {
	setTimeout('checkAlert();',alertCheckTime*1000);  
  }
}

if this fixes the issue, it will be included in V2.0.


 
Posté : 10 Jan AM 11:011
(@liolic)
Posts: 15
Active Member
Début du sujet
 

Hi Babynus,

There is no such files

/view/js/projectorDialog.php

but I foud a

/view/js/projectorDialog.js

so I tried to modify this file and it seems that alerts have disapeared.
It seems that you got it!
I you think that version 2.0 will be ready soon, I will wait to upgrade and forget the 1.9.1 version that seems not to be a major update. The 1.9.0 works fine for me now.
Thanks for your help.

Best regards,
Liolic


 
Posté : 12 Jan AM 03:011
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
Happy to know this fixes the issue.
It is included in V2.0 (coming about end of january or beging of fevruary)

You're right, V1.9.1 is not a major version.
Fixes included mostly concerns some planing improvements that apeared in some specific cases.


 
Posté : 12 Jan AM 11:011
(@liolic)
Posts: 15
Active Member
Début du sujet
 

Hi,

Thanks for info about the release date of v2.0.
If you think that there will be a possibility to include in this version an option to display by default (not radio button) the Gantt diagram on full project, from the date of the first beginning to the last end of the project, with a monthly or a year view, it will be great.
Each time at the entering in Gantt menu, it is necessary to click on radio button to have a monthly view and to chose the date. But if I enter a new work and after that want to verify the result on Gantt diagram, it is again necessary to chose parametters. It would be great to put those parametters in a permanent option.
Oh sorry perhaps is it better to write this improvement in an other part of the forum?

Regards,
Liolic


 
Posté : 12 Jan PM 12:011
(@babynus)
Posts: 14952
Membre Admin
 

Evolution is planned to automatically reposition planning parameters as last selected for start date and scale.
It is planned in V2.1.
I'll check ths possibility to include it in V2.0.


 
Posté : 12 Jan PM 13:011
(@liolic)
Posts: 15
Active Member
Début du sujet
 

Thanks a lot for this info.
Merci beaucoup.
Best regards,
Olivier


 
Posté : 12 Jan PM 18:011
Page 2 / 2
Share:
Retour en haut