This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
13 Posts
dr
3 years ago
Topic

Hello All,

Does the seb_minima 'mainbody' position override work for the item view?

I have a search list that uses seb_blog for the list template. I have assigned seb_minima as the item template and can change other values in the 'Item - Template' tab of my list form (e.g. Hide Titles, set css class), so I am sure things are setup properly.  I have placed a file in:

/templates/seb_minima/positions/content/item/mainbody.php  // does not work

(content is my type name) according to https://www.seblod.com/resources/manuals/designer/overriding-a-position. This is working for other position overrides, e.g.

/templates/seb_minima/positions/content/content/mainbody.php // works

Does anyone have an idea why the first override does not work?

Thanks in advance!

-dr

Get a Book for SEBLOD
4229 Posts
Kadministrator
3 years ago
1
Level 1

try

/templates/seb_minima/positions/SEARCH_TYPE_NAME/item/mainbody.php

13 Posts
dr
3 years ago
0
Level 2

Argh! That was it. The example in https://www.seblod.com/resources/manuals/designer/overriding-a-position misled me. I should have read the directions up top.

Thank you.

Get a VIP membership