Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8525 Näkymät

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
Hylkää
Paras vastaus

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

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

Avatar
Hylkää
Tekijä

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?

Tekijä

I used the view editor available in the developer mode.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 24
1868
0
kesäk. 24
155
2
elok. 19
9876
1
toukok. 16
6692
0
kesäk. 20
4651