Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

How to hide complet...
 
Notifications
Clear all

How to hide complete fields section ?

4 Posts
2 Users
0 Reactions
3,301 Views
Kitcat711
(@kitcat711)
Posts: 65
Active Member
Topic starter
 
[#4496]

Hello,

I found this explanation in the forum:
You must update code of the class in /model directory.

Complete the array $_fieldsAttributes to add "theDesiredField"=>"hidden".
The field "theDisiredField" will then automatically be hidden.

On the "Ticket", II am trying to hide some fields, where can I find the list of the fields ? I mean the label and "theDesiredField" are not the same and I faced some confusion trying to find the proper field.

How can I hide a full section like the "Product section" or "Notes" or "Attachments"?


 
Posted : 11 Jul 2017 23H52
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

The same, using the section name (working since 6.2 if my remembering is correct)


 
Posted : 12 Jul 2017 20H21
Kitcat711
(@kitcat711)
Posts: 65
Active Member
Topic starter
 

Yeah, I found the way to doit for the "Orgin Field", but this is not always easy to find the proper field "name".
On this screenshot you can see that I removed the "Links" field, but the section title still remains.
"Elements liés"

How ca I remove the full section here?

Thank you.


 
Posted : 12 Jul 2017 22H33
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

The three sections "Links", "Attachments" and "Notes" have very specific behavior, as they are used on almost all items.
To hide link section, you'll have to comment corresponding line

// public $_sec_Link;

 
Posted : 15 Jul 2017 4H00
Share:

Scroll to Top