Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4921 Lượt xem

I am trying to customize the Employees view via inherited view. Currently, there are a few tabs in the Employee page: Information/.../DriverInfo/TechnicianInfo. ( i added the two pages : DriverInfo & TechnicianInfo to my notebook ) 

For the user 'Administrator', i don't need both DriverInfo and TechnicianInfo.at first, i tried 

<page string="DriverInfo" position="attributes">

    <attribute name='invisible'>1</attribute>

</page>but instead of hiding it, a new page was created with the value 1 !!please kindly,  advise how I could achieve this.

Thanks a lot

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

you can define a group that you want it to see the pages then in page declaration set groups="my_group"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 22
4416
3
thg 9 24
15630
3
thg 3 16
4308
0
thg 2 16
4034
3
thg 11 21
12026