45 Posts
Sven
6 years ago
Topic

Hello,

I would like to add content and change the markup displayed before the Form of a list and search template. I use a modidied version of the "seb_table" template.

In Detail: I want to change the markup of the headline from h2 to h1 and I want to add some html right after it. I don't know how to do it. I tried to use the "description" field of my menu items to add the extra HTML, but it seems no HTML is accepted here.

Thanks in advance
Sven

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
1
Level 1

if you use modified seb_table aready oyu could add your html there. Or you coud add free text field to the form.

45 Posts
Sven
6 years ago
0
Level 2

Dear Klas,

thank you for your reply. Your suggestion to use a Free Text field worked. Because there is an issue with the JCE-Editor (Changes are not saved if I am in code view, I always have to switch back to the "editor view" before saving), I would prefer adding the html to the template itself as you suggested. But I don't know where to do so. All code added to index.php will be rendered after the form, but I want it right before it.

btw: I was able to change the markup of the headline to h1 by changing the menu item option "show title" to "show". Now I can select the level of the heading manually.

Sven


4229 Posts
Kadministrator
6 years ago
1
Level 1

To add something to search form you can override search form template 

45 Posts
Sven
6 years ago
0
Level 2

Hi Klas, 

thanks, this is a solution that works perfect for me!

Sven

Get a VIP membership