Forum

[SOLVED] How to Cha...
 
Notifications
Retirer tout

[SOLVED] How to Change Layout/Position of Predecessor, Successor and Linked Elements

20 Posts
2 Utilisateurs
0 Reactions
18.8 K Vu
(@babynus)
Posts: 14952
Membre Admin
 

Field description should be (for instance)

 public $_sec_description;
  public $id;    // redefine $id to specify its visible place 
  public $reference;
  public $name;
  public $idActivityType;
  public $idProject;
  public $externalReference;  
  public $creationDate;
  public $idUser;
  public $idContact;
  public $Origin;
  public $description;  
  public $_sec_treatment;
  public $idActivity;
  public $idStatus;
  public $idResource;  
  public $handled;
  public $handledDate;
  public $done;
  public $doneDate;
  public $idle;
  public $idleDate;
  public $cancelled;
  public $_lib_cancelled;
  public $idTargetVersion;
  public $result;
  public $_sec_Progress;
  public $ActivityPlanningElement; // is an object
   public $_sec_Assignment;
  public $_Assignment=array();
  public $_Note=array();
  public $_sec_Link;
  public $_Link=array();  
  public $_Attachment=array();
  public $_sec_predecessor;
  public $_Dependency_Predecessor=array();
  public $_sec_successor;
  public $_Dependency_Successor=array();
 
  public $_nbColMax=3;

and in /view/objectDetail.php, about line 1676 , values for $arrayPosition , correct

'note'=>          array('float'=>'left',  'clear'=>'left')
'link'=>          array('float'=>'left', 'clear'=>'none'),

Pay attention, these change will have to be reapplied after each upgrade of new version.


 
Posté : 1 Août PM 19:088
(@iconic)
Posts: 280
Active Member
Début du sujet
 

I made the changes, however there was no change. The notes are still showing on the left.

Here is the code to show you that I made the changes

    $arrayPosition=array(
         'treatment'=>     array('clear'=>(($nbCol==2)?'right':'none')),
         'progress'=>      array('float'=>(($nbCol==2)?'right':'left'), 'clear'=>(($nbCol==2)?'right':'none')),
         'predecessor'=>   array('clear'=>(($nbCol==2)?'both':(($classObj=='Activity')?'left':'none'))),
         'successor'=>     array('float'=>(($nbCol==2 or $classObj!='Project')?'left':'right'),  'clear'=>'none'),
        
         //'subprojects'=>   array('float'=>(($nbCol==2)?'left':'left'),   'clear'=>(($nbCol==2)?'left':'none')),
         'versionproject_versions'=>array('float'=>(($nbCol==2)?'right':'left'),  'clear'=>'right'),
         
         'version'=>       array('float'=>(($nbCol==2)?'right':'left'),  'clear'=>'none'),
         'approver'=>      array('float'=>'right','clear'=>'right'),
         'lock'=>          array('float'=>(($nbCol==2)?'left':'right'),  'clear'=>(($nbCol==2)?'none':'right')),
        
         'assignment'=>    array('float'=>'left','clear'=>(($nbCol==2)?'left':'none')),
         'attendees'=>     array('float'=>'left','clear'=>(($nbCol==2)?'left':'none')),
        
        //'periodicity'=>    array('float'=>'left','clear'=>'left'),
        
        'internalalert'=>  array('float'=>'right'),
        
        'expensedetail'=>      array('clear'=>'left'),
         'billline'=>      array('clear'=>'left'),
         'link'=>          array('float'=>'left', 'clear'=>'none'),
         'attachment'=>    array('float'=>'left',  'clear'=>'none'),
         'note'=>          array('float'=>'left',  'clear'=>'left')

 
Posté : 3 Août AM 03:088
(@iconic)
Posts: 280
Active Member
Début du sujet
 

Hi there,
Are they are further updates with regards to this?


 
Posté : 5 Août AM 08:088
(@babynus)
Posts: 14952
Membre Admin
 

No, sorry.
Busy with other things.
No time to support devs if you don't mind investigating yourself.


 
Posté : 5 Août PM 16:088
(@iconic)
Posts: 280
Active Member
Début du sujet
 

That is a bit disappointing. I understand that you are busy with other things, but disappointed.


 
Posté : 10 Août AM 06:088
Page 2 / 2
Share:
Retour en haut