Forums Forums Search & Filter Pro How to not show results in first search + translate "Older/ newer posts"

  • This topic has 19 replies, 3 voices, and was last updated 8 years ago by Ross.
Viewing 10 posts - 11 through 20 (of 20 total)
  • Trevor
    #68196

    Hi

    I have split the thread from the prior posts. Can you now see the private reply?

    Anonymous
    #68198
    This reply has been marked as private.
    Trevor
    #68200
    This reply has been marked as private.
    Anonymous
    #68220
    This reply has been marked as private.
    Anonymous
    #68257
    This reply has been marked as private.
    Trevor
    #68297

    Good morning. I am waiting on Ross now.

    Anonymous
    #68361
    This reply has been marked as private.
    Trevor
    #68410

    At this stage, just time, as Ross is busy putting the finishing touches to a new release, so I only get limited opportunities to talk to him.

    Anonymous
    #68627
    This reply has been marked as private.
    Ross Moderator
    #69273

    Hey Kevin

    Sorted it!

    Basically what you had done was correct… is_filtered returns true if a filter has been selected.

    This is not true for the search term though, as its not regarded as a filter (perhaps it should be now that I think about it)…

    So what I did was also add a condition to see if a user had typed a search term to your template, and now it works as expected –

    $sf_current_query->get_search_term()==""

    Best

Viewing 10 posts - 11 through 20 (of 20 total)