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

While editing a project form, I accidentally deleted the <h1> tag from the 'name' field. Now the project name appears as regular text in the form view. I tried using the node type html_tag and got the error message "Can't Update View".

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

Again you can add h1 tab in view.
Add following code.

<h1>
    <field name="name" class="oe_inline" readonly="1"/>
</h1>

Ảnh đại diện
Huỷ bỏ
Tác giả

Sudhir, how can I add h1 tab in the view? Is there another way besides using view editor? Or if I use view editor, what node type should I use?

How did you edit the view previously?

Tác giả

I used the view editor available in the developer mode.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
1868
0
thg 6 24
155
2
thg 8 19
9876
1
thg 5 16
6692
0
thg 6 20
4651