2 Posts
lowie
10 years ago
3
Topic
Hi guys,

First time posting here. Really liking seblod. I'm having a little trouble with overriding. I'm using 3.3.1. I've created a custom content type (called staff) and then overrode seb_one/positions/{staff}/content/mainbody.php and it works just fine, but then I tried to do the same with a lists and search type (called staff_search). I've tried overriding

seb_one/positions/{staff_search}/list/mainbody.php
seb_one/positions/{staff_search}/item/mainbody.php and
seb_one/positions/{staff_search}/search/mainbody.php.

I can override the search but not the list or item. Whatever I do it still looks like a list of full staff page html items. Any help would be much appreciated.

Cheers,
Chris


Get a Book for SEBLOD
178 Posts
Jeka
10 years ago
2
Level 1
Hi.
http://www.seblod.com/v2/forum/Search-Types--Lists/40450-SOLVED-Is-it-possible-to-override-a-list-template.html
http://www.seblod.com/community/forums/lists-search-types/list-search-override-not-working

Or use custom template for you list.
2 Posts
lowie
10 years ago
1
Level 2
Hi Jeka... thanks for the reply. I've reviewed the first post and unless I'm missing something I think that's exactly what I'm already doing (which is working fine for the search part but not the item or list). The second link is actually this post.

What do you mean by use a custom template for the list. Do you mean create a new template with only the override views for the list?
178 Posts
Jeka
10 years ago
0
Level 3
Hi.
Second link had to be http://www.seblod.com/community/forums/lists-search-types/can-not-get-template-override-to-work
About custom template:
http://www.seblod.com/products/62
As i know this template does not support override, so you have to modify index.php.
And if you need one more copy of template, just copy folder of template, change templateDetails.xml and use Discover to install template.
Get a VIP membership