Modifying default search module
Posted: Wed Oct 28, 2009 1:47 pm
Hello, this is my first post here but I've been playing around with CMSMS for a little while... It's now time for me to progress my understanding of it to the further depths.
I have got a clean installation of 1.6.6 with no additional plugins/addons as of yet.
I'm looking to make a small modification to the default search system and how it displays the search box/button etc.
I have gone through the source code and tracked down to Modules -> Search -> Search.module.php and found:
Now I assumed this was where the input boxes got called out for the page and made some small modifications. However I can see no change on my site. To the extent that when I deleted all the code within the {} it made no difference. Yes I am 100% sure it's be saved to the right place etc.
So am I missing something? Have I edited the wrong file? Or do I need to press a button for CMSMS to pick up the changes I've made?
Thank you for your time and if you have any further questions which will help me solve this problem then please feel free to ask them.
- Monk
I have got a clean installation of 1.6.6 with no additional plugins/addons as of yet.
I'm looking to make a small modification to the default search system and how it displays the search box/button etc.
I have gone through the source code and tracked down to Modules -> Search -> Search.module.php and found:
Code: Select all
{
return '{$startform}
<label for="{$search_actionid}searchinput">{$searchprompt}: </label><input type="text" class="search-input" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" size="20" maxlength="50" value="{$searchtext}" {$hogan}/><input class="search-button" name="submit" value="{$submittext}" type="submit" />
{if isset($hidden)}{$hidden}{/if}
{$endform}';
}
So am I missing something? Have I edited the wrong file? Or do I need to press a button for CMSMS to pick up the changes I've made?
Thank you for your time and if you have any further questions which will help me solve this problem then please feel free to ask them.
- Monk