Forum

Add Tables in Docum...
 
Notifications
Retirer tout

Add Tables in Document's part

4 Posts
2 Utilisateurs
0 Reactions
3,824 Vu
Antoine
(@eb0z)
Posts: 14
Active Member
Début du sujet
 
[#914]

Hello babynus,
I have some issues about customizing projectorria.
I would add fields in Document's list part. (Text inputs for dates)
My problem is how to add a block like approvers or like versions and where can I do that.
First, I have tried in objectDetail.php. But it did not work properly.

I added this code in objectDetail.php l.290 and myFunction()

else if (substr($col,0,15)=='_DeliveryDate') {
	myFunction($val, $obj, false);

It goes into my function but appears inside approvers' table.

Then, I have also added these fields in Document.php, I get datas back but in the document's list not in the specific's document's description.

public $_internalDelivery;
public $_externalDelivery;

What should I try ?

Thanks for your help and congratulations for the updates you have done.
Regards.
Antoine.


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

You just have to name fields in document.php exactly as in the database, without underscore. And place them in the list of fields where you want to display them in the screen.
If dispaly is just a date, then you don't have to update objectDetaol.php : formating is based on format in database.


 
Posté : 24 Jan PM 19:011
Antoine
(@eb0z)
Posts: 14
Active Member
Début du sujet
 

Alright, I will try to do it.
Thank you for you answer.

Regards.

Antoine.


 
Posté : 24 Jan PM 20:011
Antoine
(@eb0z)
Posts: 14
Active Member
Début du sujet
 

Hello Babynus,
it works perfectly.
I added

$_sec_delivery;

in public declarations to get the title bar before my content.

Thank you for your explanations

Regards.


 
Posté : 25 Jan PM 12:011
Share:
Retour en haut