9 years ago
4
Topic

Hi,

I read this tuto : http://www.seblod.com/resources/manuals/designer/overriding-a-position
And saw the video.

So I tried to override the mainbody position.

But i did'nt work, so ... something I did a mistake somewhere...

The first, I did'nt really understand the folder structure :/
For exemple : /templates/seb_template/positions/article/content/mainbody.php

Is it right ?

Get a Book for SEBLOD
9 years ago
1
Level 1

Does anyone could confirm me, that for overriding the "mainbody position" in "content view", I have to create a "mainbody.php" in: 

/templates/seb_template/positions/article/content/mainbody.php


Thank you.

164 Posts
redback
9 years ago
0
Level 2

Hi,

directory logic:

templates/[the_name_of_your_template]/positions/[your_content_type]/[view]

I guess your needs are:

templates/seb_blog/positions/[Name of your Contenttype]/site/mainbody.php

templates/seb_blog/positions/article/site/mainbody.php

Best Chris

9 years ago
1
Level 1

Thank you redback.

I tried, but it doesn't work...

My template is look like "seb_one".
I would like too override the mainbody position in content view (no site view or intro view).

164 Posts
redback
9 years ago
0
Level 2

Hi,

i confirm - mainbody and seb_one works with an overwrite. 

You have anywhere a mistake

Best

Get a VIP membership