Where is the Search module form template?
Posted: Sun Nov 14, 2010 2:36 pm
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)
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)