Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Search button icon

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1526 Views
  • unicorn7
    Avatar
    Community Member
    9 Posts

    Search button icon Link to this post

    Hi guys

    I am currently rebuilding the blackcandy theme into a customer version and it's going pretty smoothly. I just want to make some custom alters to the generic search function which is no problems regarding the css and php. My problem is that I can't find the search button graphic so that I can replace it with my own. Any hints where this might be located?

    cheers
    bren

  • JoshuaLewis
    Avatar
    Community Member
    76 Posts

    Re: Search button icon Link to this post

    I'm looking at the default Blackcandy theme and the submit button for the search field is just the default button rendered by the browser so there isn't an image to find.

    If you want to have a custom button then do a search for "custom submit button" and you should find everything you need.

  • unicorn7
    Avatar
    Community Member
    9 Posts

    Re: Search button icon Link to this post

    thanks for response, Joshua.

    did a full search on 'custom submit button' on my hard disk and on the internet. seems like it is hard coded, however I have discovered the xhtml necessary to change the button to anything I like.

    Problem now is that i cannot find where to enter the xhtml line that alters the <input> tag. i have opened up everything to do with the search and I only get php stuff. can't seem to figure out how or where they call on the submit function.

    if any of the moderators are out there, it would be really cool to find this out as I would most likely implement it on all of my silverstripe sites.

    cheers
    unicorn7

    1526 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.