When I do
<% if ClassName = HomePage %> it returns ture on my search results! There are some bits that I don't wish to show on the results page that are on the Home page (for example I have a flash carousel that is controlled with a checkbox 'has_carousel').
I tried something like this:
<% if hasFlashCarousel %>
<% if ClassName = Page_results %>
... do nothing
<% else %>
include carousel...
<% end_if %>
<% end_if %>
but <% if ClassName = Page_results %> is not working... any ideas how i control this?