News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Finding the file to mod the 'search' page

Started by yynwebhsu, June 30, 2006, 04:09:36 AM

Previous topic - Next topic

yynwebhsu

Hey!

New to SMF...

Where can I find the file to mod the 'search' page?

Thanks!
weber

GTSdll

That would be Themes/default/Search.template.php
---> GTSdll Homepage [nofollow] <---

codenaught

Well, that is the right page if you just want to edit the layout of the search section. The core source code behind search can be found in Sources/Search.php
Dev Consultant
Former SMF Doc Coordinator

yynwebhsu


qd-race

I want to add Google search. Which page should I mod. The Themes/default/Search.template.php or Sources/Search.php or both?

Thanks.
http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

qd-race

I can't find the right place to add Google AdSense search code. Could anybody help.
http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

qd-race

Finally, I found the place to add codes.

Find at line 185-189:

echo '
</td>
</tr>
</table>
</form>';


Add Google AdSense Code:

}

function template_results()
{

http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

Advertisement: