Where is this template?
Hi, I've been trying to find the part of the script search.php that decides how to show search results. What I want to achieve is add another option so that (for example), instead of there just being "Visible" and "Ignored" there is now a third option which will use a seperate template. What I need to find (think I have but I'm not sure) is the code that decides which template to evaluate and then where the darn existing template is...
(For I can't find it when I search all existing templates in Admin CP for "Ignore")
Anyway, here's the image showing which template I'm on about, and will give you an idea of what I want to replace...
EDIT: Actually, I'll be more clear. I have added another field to the "post" table, and what I need to do is have the field checked (either a 1 or a 0 will show) and then if it use an if/elseif/else loop to show either the normal postbit, the ignored user postbit, or a third new postbit though only in the search page "Post preview" section. The image probably explains more clearly what I'm trying to say.
|