@EpsilonAdmin Will do.
Latest posts made by sanfordandson
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin Wow, still didn't work. I even deleted the astra theme's functions.php file from the server, refreshed the browser (it blew up, as expected), then uploaded the modified functions.php file. I did all this to make sure there was no cache issue. Still doesn't work. Real bizarre.
Would it help if I sent you login credentials and ftp credentials via email?
-
RE: How to implement FullTextSearch on a page?
@sanfordandson I know it's a cludge, but could you strip out all occurrences of "https//"? That would make the url correct.
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin 1.7.2 (current version)
-
RE: How to implement FullTextSearch on a page?
@sanfordandson Could there be something in the .htaccess file that is causing this?
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin I replaced esc_url with htmlspecialchars, but that didn't fix the issue. Very strange, indeed.
You can see when you mouseover the Download link that the url is incorrect, right? But the link on the title is correct!
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin Attached is a screen cap of one of the documents. The full link for this document is:
https://staging4.hamlinny.org/documents/assessors-office/assessment-rolls/2019/2019-Final-Roll.pdf
If you go to my documents page here:
[https://staging4.hamlinny.org/document-center/](link url)
and search for the word "Sewer" (without the quotes), this document will be the first one in the search results. Note that the link for the title is correct, while the URL for the Download link is incorrect.
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin This works great except for one small error in the constructed download link. For example, here is the constructed link for one of the search results:
The second occurrence of the "https//" is unnecessary.
I tried to fix this, but php is not my strong point.
Larry
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin Thank you!
On the search results page, when clicking on the titles to open a document, is there a way to make that open in a new browser tab, rather than in the same tab?
Thanks again.
-
RE: How to implement FullTextSearch on a page?
@EpsilonAdmin Ok, so after my last reply, I found this post about the Astra theme not showing Smart excerpts:
So I implemented the solution mentioned in that post, and it helped a lot (but still missing SOME information). To see the current status, go to my Document Search page here:
https://staging4.hamlinny.org/document-center/
and enter "Program Notice" in the search field (without the quotes), and click the Search button. You will now see this search results page:
[https://staging4.hamlinny.org/?wpfts_wdgt=preset_dlp&s=Program+Notice](link url)
You can see that now there is an excerpt shown, along with highlighted references to the search term, and also a Score.
However, is there any way to also get the Article Author/Date and a Download link, like that shown on the previously mentioned site? Shown here:
https://searchannavonreitz.americanstatenationals.org/?s=consent&numberposts=30&results_hide_fields=
I know that the document names that show up on the search results page are hyperlinked to the document, but it would still be nice to get the Download link to appear, like on the previously mentioned site, and also the document date. If that is not possible, is it at least possible to get the hyperlinked document title to open in a new tab?
One last thing: If you enter nothing in the search field, then click the Search button, nothing should happen. Instead, it takes you to the search results page and shows many pages of document titles. Can this be fixed?
Thank you so much!