![]() |
Where is this template?
1 Attachment(s)
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. |
Solved problem myself, thanks for all the help...
|
All times are GMT. The time now is 07:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|