10 years ago
Topic

Hello,

I want to perform template override for #Mainbody in ITEM view of Search Type I named "Search". What is the right path for it ?

/mysite/templates/seb_one/positions/...?

(sorry for any English mistakes...)

Thank you very much.

Get a VIP membership
10 years ago
2
Level 1

I just wanted to clearify my question: 

How do I override search type item in, for example RIGH-B position ? What is the correct path and filename?

Thank you :) 

27 Posts
jsfernando
10 years ago
1
Level 2

Ofer1984,

I've done it and it works like this:
\ templates \ seb_one \ positions
1) in positions you create a folder with the name of your search;
2) inside that folder you create the file as the name of the location, eg right-b.php and works there with the content they want to be shown ...

to work with the fields you created looks like this:
echo $ cck-> get ('field_name') -> value;

sorry my english is not real, because I'm from Brazil

10 years ago
0
Level 3

Hi jsfernando,

Thanks for the answer!

I appreciate it.

Ofer.

Get a VIP membership