11 years ago
Topic

I wonder where I can edit the page layout of search results. Because the page brings the results in a disorderly manner, and I wanted to call the fields within certain divs and apply a css. Could anyone help me please?

Get a VIP membership
11 years ago
0
Level 1

Nobody knows?

11 years ago
6
Level 1

Hello Raposa,

it's depending on which list template you use.


If you use the seb_blog to render your content as blog, you will use the tab "item" to add fields to display. In this tab it's the seb_one template which is used. So you can make a position override or create a new variation.


Regards.

Lionel

11 years ago
5
Level 2

Thank you Lionel. But I just wanted to modify the search results, without changing the initial form. I am doing this way: "\seb_one\positions\pesquisa_de_livros\search\mainbody.php" and all research content is modified. How can I change just how to display the results?

11 years ago
4
Level 3

Hello Raposa,

it's why I speek about "Item" tab, and not "Search" tab.


The seb_one template is used for both. so with "\seb_one\positions\pesquisa_de_livros\item\mainbody.php" you will be able to make your own render.


Regards.

Lionel

11 years ago
3
Level 4

It worked! But this part "item" is where displays the results, for example, if I insert some layout there he will be replicated by the number of search results. Wonder where I can enter this part of the layout and then customize searches. For example, I'm doing a site for a bookstore. I wanted to bring all the results of books within a page suitable for this. Bringing only the book cover and the title, but all within a layout that I developed in the HTML.

11 years ago
2
Level 5

Anyone knows?

11 years ago
1
Level 6

Hi Raposa,

You need to understand the difference between the style applied to an item of your results and the style applied on the result list itself.

For exemple the seb_table template manage only result itself and don't use a template applied on each item.

For exemple when you use seb_blog template, this template is applied on the result list and on the item is applied seb_one.

Regards.

11 years ago
0
Level 7

Thanks for the explanation Bes, you were quite clear.

Get a Book for SEBLOD