Modify Search Form

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Modify Search Form

Post by Elijah Lofgren »

It looks like you'll have to modify a php file as the template does not seem to be flexible enough for changing the submit button to an image.

1. Open:
modules/Search/action.default.php
2. Find this line:

Code: Select all

$this->smarty->assign('submitbutton', $this->CreateInputSubmit($id, 'submit', $submit));
3. Replace it with something like:

Code: Select all

$this->smarty->assign('submitbutton', $this->CreateInputSubmit($id, 'submit', $submit, '', 'admin/themes/default/images/icons/system/info.gif'));
Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Post Reply

Return to “CMSMS Core”