The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Tim Houghton
Forum Replies Created
-
Tim Houghton in reply to:
Search results dates(Private) December 14, 2016 at 6:49 pm #76337Fantastic, that fixes the problem! Cheers!
Tim Houghton in reply to:
Search results dates(Private) December 1, 2016 at 7:50 pm #73514Thanks for the response I’ll look into duping it somewhere and come back to you. For the moment we are just ensuring every item has a different date hehe.
Tim Houghton in reply to:
Search results dates(Private) November 17, 2016 at 1:54 pm #70852Just a polite little bump 🙂 because 90 minutes ago I had a reply on one of my other (far less important 🙂 topics.
Tim Houghton in reply to:
Remove date ranges doesn’t refresh results(Private) November 17, 2016 at 1:50 pm #70848Cool, thanks guys.
Tim Houghton in reply to:
Hide initial results on first page load (continued)(Private) November 16, 2016 at 5:49 pm #70670Thanks for that! Got it working by testing for
($sf_current_query->get_field_string("_th_private_page_category")=="Page Categories: All Page Categories")
You can close this now, cheers.
Tim Houghton in reply to:
Hide initial results on first page load (continued)(Private) November 16, 2016 at 5:17 pm #70658No I’m afraid not, it’s on the client server.
It looks like it might work if I knew how to check for contents of the categories and tags boxes instead of the text search field.
The code you provided looks like ($sf_current_query->get_search_term()==””) checks to see if the text search field is empty. Is there a similar query to check if the categories selection is empty? And the tags selection?
Many thanks.
Tim Houghton in reply to:
Hide initial results on first page load (continued)(Private) November 16, 2016 at 3:55 pm #70591It looks like this:
http://www.site.com/private/pages/my-pages/advanced-search/?_th_private_page_category=recentnewsI also have tags using a similar URL:
http://www.site.com/private/pages/my-pages/advanced-search/?_th_post_tag=activityTim Houghton in reply to:
Remove date ranges doesn’t refresh results(Private) November 16, 2016 at 2:58 pm #70566Yes ‘auto submit form’ is ON, and all the ajax options in ‘Display results’ are ticked. My form has no ‘submit’ button.
It’s the same site I’m afraid, the page that shows these results requires logging in so showing you is difficult.
You can sort of see the same behaviour on your demo http://demo.designsandcode.com/sfpro-movie-reviews/ but you have a submit button there (which seems to have no other purpose than to address this situation :).
Tim Houghton in reply to:
Hide initial results on first page load(Private) November 16, 2016 at 2:30 pm #70556Yes thanks!
Tim Houghton in reply to:
Hide initial results on first page load(Private) November 16, 2016 at 2:09 pm #70551Ah never mind I figured it out. It’s the ID of the search form! 🙂
Code is working, thanks!
-
AuthorPosts