in file page.tpl.php of them garland i see
if ($search_box):

print $search_box

endif;
where $search_box is set ?
then search appear in page (module search must allow)
How i can do the same with module of me make

Comments

stevebayerin’s picture

You need to enable search in the module administration page, it should be under core modules.

yoursite.com/admin/build/modules is usually the address to the module administration page.

nguyenlh’s picture

ex: i make a module and i want set position of it in file page.tpl.php

naveenpl’s picture

Position of module can be set using administer>>site building>>block then select region for the search block. You can use style.css to position your block to any part of that region. This should work.
Another way is that you can code in page.tpl.php. But sometimes it won't work in site.

Hope this will help
Cheers.