Jump to:

1259 Posts in 348 Topics by 484 members

Themes

SilverStripe Forums » Themes » Pixelgreen Search

Discuss SilverStripe Themes.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 904 Views
  • jhstripe
    Avatar
    Community Member
    1 Post

    Pixelgreen Search Link to this post

    Hey guys.
    I wonder why the serach form in pixelgreen does not work. I tried to fix it by following the instructions of this tutorial but I wasn't successful (maybe i did something wrong ?)

    Can somebody help me making the serach function in pixelgreen working ?

  • Anonymous user
    Avatar
    Community Member
    1 Post

    Re: Pixelgreen Search Link to this post

    You're right to follow that tutorial, and that should tell you how to get the search going.
    However, Pixelgreen has a (wrongly) hard-coded search form.

    Look for the file:

    themes/pixelgreen/templates/Includes/SideBar.ss

    Look for the code like that below:

    <div class="sidebox">
    <h1>Search Box</h1>
    <form>
    ....
    </form>
    </div>

    Change this, by removing the form, so it looks like:

    <div class="sidebox">
    <h1>Search Box</h1>
    $SearchForm
    </div>

    You may need to play around with the styles or the display of the form, but this should get things going for you.

    Cheers,
    - Luke

    904 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.