Jump to:

2012 Posts in 1438 Topics by 621 members

Form Questions

SilverStripe Forums » Form Questions » Search Form Results - Where is the Styling from?

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

Page: 1
Go to End
Author Topic: 1068 Views
  • BigChris
    Community Member
    63 Posts

    Search Form Results - Where is the Styling from? Link to this post


    I set up a new theme based on Blackcandy. Everything is ok except for the Search Results. The code for black candy search form (the search bar at the top) was copied.

    The results return fine. But there is a serious problem with the Styling of the Navigation menu. For some reason I cant fathom out the Navigation Menu is picking up an old ID Tag for the div. All of the .ss templates have been changed and it is only the search results page which is weird.

    Any ideas where it could be picking it up from?

    I have checked the Page_Results.ss but that is an include and does not have the menu in it. All .ss files for the theme have been looked at. It is almost as though the Results page is somehow cached. I even renamed the Navigation.ss to be Navigation2.ss so that it could not pick up the menu and it loaded an old one.

    Numerous /dev/builds and ?flush=1 have been carried out. This is SilverStripe verison 2.3.4 running on WAMP 2.0 on Windows xp. I have also cleared the cache on Firefox, but opened it on other browsers that had not been used on the site before and no joy.

    Is there away to flush the search results?

    I am clutching at straws now.


  • BigChris
    Community Member
    63 Posts

    Re: Search Form Results - Where is the Styling from? Link to this post

    Solved it.

    I figured out it was the includes that were being cached. i thought a ?flush=1 solved that. Later I stumbled across ?flush=all which clears all caches and fixed the problem.

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.