ช่วยเหลือ

0

How to add an html tag in the view editor?

Avatar
Luigi Sison

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".

Avatar
Discard
1 Answer
0
Best Answer

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

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

3 ความคิดเห็น
Avatar
Discard
Avatar
Luigi Sison
-

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?

Avatar
Luigi Sison
-

I used the view editor available in the developer mode.