Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to use a different search image for a particular block? I need to switch the color of the search button image.
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedI've just pushed changes to the DEV version. There's now a image setting for each block.
Please test & review.
Comment #2
xeraseth CreditAttribution: xeraseth commentedI see no change, I checked the block and all the Custom Search config pages. Its still showing as version 1.7, not 1.x-dev (I did download the dev version)
Comment #3
jdanthinne CreditAttribution: jdanthinne commentedYou have to go to the Block admin page to see the new Image settings for each block.
Be sure to have the latest dev version (because it is regenerated only twice a day)
Comment #4
xeraseth CreditAttribution: xeraseth commentedSorry I was being dumb and was putting it in the wrong directory. Looks good and working so far. One issue other people might have is that the blocks don't default to the image that was selected in the Custom Search config area.
Comment #5
xeraseth CreditAttribution: xeraseth commentedalso Thank you!
Comment #6
jdanthinne CreditAttribution: jdanthinne commentedYou're welcome!
And you're right, I have to make an upgrade routine for those who will install the new version.
Comment #7
jdanthinne CreditAttribution: jdanthinne commentedAdded an upgrade path.
Comment #8
xeraseth CreditAttribution: xeraseth commentedI'll give it a go tonight