Hi all,
I have a design to code up into a CMSMS site and the standard search form template will need to be changed... I've had a dig around in the Search module and found the 'GetSearchHtmlTemplate()' function in the Search.module.php file. It returns the HTML template for the search form, so I figured that changing this code would do the trick, but it still seems to be pulling in the old template from somewhere.
There's a file called 'action.updatesearchtemplate.php' which seems to contain some code to do a permission check before running the 'GetSearchHtmlTemplate()' function... do I need to run this action file somehow in order to update the search template? I'm a little lost!
Many thanks
(CMSMS v1.9)
Where is the Search module form template?
-
- Forum Members
- Posts: 53
- Joined: Mon Jul 23, 2007 5:30 pm
Where is the Search module form template?
Last edited by rubberglover on Sun Nov 14, 2010 2:38 pm, edited 1 time in total.
Re: Where is the Search module form template?
You should never do anything to the actual PHP files, I would change them all back then go to the backend/admin > extensions > search and change the template there like you always should...
-
- Forum Members
- Posts: 53
- Joined: Mon Jul 23, 2007 5:30 pm
Re: Where is the Search module form template?
Jeesh, feel a little stupid, had not even noticed the search module options in the extensions menu - not sure how I missed it to be honest! I was thinking it would make life difficult for future upgrades, thanks for pointing me in the right direction 
