Forum

Add Tables in Docum...
 
Notifications
Clear all

Add Tables in Document's part

4 Posts
2 Users
0 Reactions
3,825 Views
Antoine
(@eb0z)
Posts: 14
Active Member
Topic starter
 
[#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.


 
Posted : 24 Jan 2013 19H21
(@babynus)
Posts: 14952
Member 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.


 
Posted : 24 Jan 2013 19H44
Antoine
(@eb0z)
Posts: 14
Active Member
Topic starter
 

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

Regards.

Antoine.


 
Posted : 24 Jan 2013 20H32
Antoine
(@eb0z)
Posts: 14
Active Member
Topic starter
 

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.


 
Posted : 25 Jan 2013 12H53
Share:

Scroll to Top