By honorfield on
Hey there!
I'd like to have a frontpage for my Drupal site without without footer and left and right sidebar. And i'd like to get the searchbar from the sidebar into the body in the middle. I was researching and found that views is probably the best way for me to do this. I change the start page from node to frontpage already. But i can't figure out how to change the search field just for the frontpage into the body.
I would be very happy for any kind of help. I'm still new with Drupal.
Thanks a lot.
honorfield
Comments
The search function is
The search function is associated with a block. Go to Site Building>Blocks>list at the bottom of page you'll see the blocks currently disabled. Enable the search box and then only show it on front page - this control is in the configure portion of the blocks.
ALternatively you could probably use something like composite module.
Thanks for your suggestions!
Thanks for your suggestions! As far as i understand i can't have the search block only to be shown on the front page because i still need the search bar for the rest of the page in the right sidebar. Or is there any way to activate a block in different areas in different nodes? Sorry for the question, it seems such a easy thing to do but i can't figure it out.
I also installed the composite layout module. And i created a new content type with cck which i called "startpage". Than i went to the composite layout settings of the new startpage content type. But it seems not possible to create a node which that only shows the body and no blocks.
Do you have any tip how to do that? I would be really grateful for you help!
Regards
honorfield
.
There is also a setting in Site building > Themes > Configure > Global to disable or toggle the search box.
On some sites, I have edited the theme page.tpl file and moved the search box