Closed (fixed)
Project:
zero Lime
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2010 at 03:50 UTC
Updated:
31 Oct 2010 at 08:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
trisz commentedSee the demo website
http://nemketto.neobase.hu
(Use firefox, it was not tested on IE!)
It can be moved to the header, but I don't like it.
It can be shrinked a little, remove the label, move it upward...
Other solution?
Considerations:
The user has to have the possibility to remove this block if it is useless.
The background picture covered partly with the block in the header.
It must work from screen resolution of 800x600.
Comment #2
greggmarshallMost of the themes I've seen that can have the search in the header don't have any kind of background (the light green in your example). It's just the word Search, the input box and the Search button (some don't even have the word Search since it is pretty clear from the input box and a button labeled Search what the function is). See the sample I'm attaching (not that I'm excited by the client's choice of header graphic).
Comment #3
trisz commentedSee the demo site again!
I could hide the unwanted content on css basis, but google's stupid algorithm will blacklist your site.
I could overload the search function in the drupal core, but your site would be broken after a drupal update. Unfortunately, module dependencies of themes are not controlled under drupal.
You can istall a module, like http://drupal.org/project/Custom_Search. You can delete the labels (admin/build/block/configure/search/0, set block title to "none", and admin/settings/custom_search, uncheck Display label).
If you accept this solution, I will upload the new test version to the demo site http://nemketto.neobase.hu in a few day.
Comment #4
greggmarshallSounds like an elegant solution.
How will I move the custom search block into the header since its not a region?
Comment #5
trisz commentedA header region is inserted into the version uploaded to the demo site. (You cannot download it right now, as I am testing it.)
If you use the Custom Search module, do not forget to set the permissions for all of the users! Otherwise only the administrator will not see the label.
Comment #6
greggmarshallThat is really great! Let me know when I can download the updated version.
I appreciate the enhancement.
Comment #7
trisz commentedYou can download the zerolime-6.x-1.2.tar.gz file from the demo website, http://nemketto.neobase.hu.
I will upload to drupal.org as soon as posible.
Don't forget, the header region has been tested only for the search block.
Other blocks will behave strange.
Comment #8
greggmarshallI downloaded the update and installed it.
I'm not seeing the new header region in the blocks definition.
Comment #9
trisz commentedMy solution is:
In the zerolime.info and zerolimepanorama.info files regions[header_region] = Header
In page.tpl.php file line 40
See the screenshot! (fejléc=Header)
Unfortunately this theme has not theme settings file yet.
Comment #10
greggmarshallThanks. I think it was there and I needed to clear the caches to see it.
Comment #11
trisz commentedThis feature has been included in the development version 6.x-1.5-beta2
See http://drupal.org/node/958096.
So I close it.