Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
When I try to do a search from the Search Page on my site (www.collinsnet.us ), I am bounced to my Backlight login screen. I did not have this problem with Backlight 1.
Any ideas as to what I am doing wrong?
Thanks,
Doug
Offline
That's a weird one.
Are the .htaccess files in their proper places?
The one inside the backlight/ folder of the unzipped installer download needs to be inside the site's backlight/ folder (same with the index.php)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod,
Thanks for your ideas. I am sure I put all of the files in the correct locations, and other than this problem, my site seems to be working fine. For example, the Contact form works. I don't know what might be different about the Search page.
I will keep "searching" for an answer. :-)
Doug
Offline
Hi Doug, can you provide the URL to your site so that we can take a look?
Offline
Hey Ben,
It’s in text in the original post http://www.collinsnet.us
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Ben and Rod,
I have been playing around with Search in Backlight 2. If I add the Search function to my Main page template so the search icon appears in the top right of all but my Home page, the search function sort of works as I desire, but does not pick up the formatting of my site.
In addition, I changed the Default Menu for the Search Page (Designer-Menu Sets-Default-Design-Search) to "URL backlight/search/". I had not made any changes to this previously, it was just "as delivered" with Backlight 2. You can try this on my site ( https://www.collinsnet.us )and see what you get with that. The search field does appear and works (not quite how I would like), but I can't seem to include any text on that page (for search instructions), although I have put Search template information in the Backlight 2 Main Settings.
When I say the search "sort of works", I mean that it returns some correct results, but it also returns many results that do not match my search criteria. For example, if I search van Gogh with the intent of finding photos of van Gogh paintings, I get results that include van Gogh paintings, but I get many other results as well. Can the search function be modified so it only returns results for photos that have the search criteria (in this case van Gogh) in the photo Caption?
Thanks for your help.
Doug
Offline
If I add the Search function to my Main page template so the search icon appears in the top right of all but my Home page, the search function sort of works as I desire, but does not pick up the formatting of my site.
Go to Settings > Publisher > Search Template and pick your main template.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
In addition, I changed the Default Menu for the Search Page (Designer-Menu Sets-Default-Design-Search) to "URL backlight/search/".
That shoujld be /backlight/search/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
but I can't seem to include any text on that page (for search instructions), although I have put Search template information in the Backlight 2 Main Settings.
In Settings > Publisher use the Search Intro to add your instructional text
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
When I say the search "sort of works", I mean that it returns some correct results, but it also returns many results that do not match my search criteria. For example, if I search van Gogh with the intent of finding photos of van Gogh paintings, I get results that include van Gogh paintings, but I get many other results as well. Can the search function be modified so it only returns results for photos that have the search criteria (in this case van Gogh) in the photo Caption?
here's a blog post with a whole lot about search: http://theturninggate.net/2018/02/19/ma … ts-search/
including a link to documentation: http://backlight.theturninggate.net/doc … t_s_search
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod,
Thanks so much for your prompt reply. Between your suggestions and Matt's blog, most of my questions have been answered.
Unfortunately, I still can't get my custom text to appear on my Search page. It seems like my template should make that happen, but no luck.
Also, it seems that there is no way to have the search limited to photo captions. That would be my first choice. With the current "catch all" search criteria, I get too many irrelevant hits that mask what is useful to me.
Thanks again for your help.
Doug
Offline
The custom text is not related to the template.
I was having the same problem with text entered in the Search Intro field not appearing. But after some time, it finally appeared. I don’t know why there is such a delay but it happened to two of my test sites.
Let me ask you if the Search Title is appearing on your Search page. I can’t get that to show up either.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I don’t believe there is any way to limit the metadata fields that search uses
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod,
Again, thanks so much for your help.
The Search title is not appearing on my Search page. "search" does, of course, appear in the address field, i.e., https://collinsnet.us/backlight/search/ , when I go to my Search page. You can click on that link if you want to see for yourself what my Search page looks like.
One more question: Where is the "Search Entry field" to which you refer, or are you referring to the entry field on the Search page? That field is blank on my Search page (i.e., it does not have the instruction text that appears when I click on the Quick Search icon). When I type text into the entry field on my Search page (or the Search Field that shows up on the simple Search page that appears when I click on the Quick Search icon), the text I type does appear immediately.
Doug
Offline
Where is the "Search Entry field" to which you refer
That's Search Intro field. It's in Backlight Settings > Publisher > Search
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
???
I have been to "Backlight Settings > Publisher" many times. I do not find "> Search" , only "Search Template", which I early on created and selected in this location.
Offline
My bad, going from memory.
It's in Lanuages
From the Backlight menu, hover over Settings, then click on Languages.
click on Manage Language. Scroll down to the Publisher section
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks. That's an interesting place for all of that stuff. I would never have thought to look there. Maybe Matt describes all of that in his documentation.
Offline
Thanks. That's an interesting place for all of that stuff.
Publisher related to all things to do with the content of your albums - albums, album sets, photos, and searching for that content.
Offline
I don't see a resolution for the initial question and I too am experiencing this issue. It looks like the page that loads when you press the search button is missing the /search/ in between the /backlight/ and the /?q=<searchterm>. It only happened after updating to the most recent version of the site. I checked to see if all of the .htaccess files are in the correct locations and they appear to be. I cleared template cache as well, but to no avail. Manually adding /search/ into the url shows a result, but it won't get there on its own!
Any thoughts on how to correct this?
Edit: I used this link and for some reason it is now working again! https://<mysite>/backlight/search/?reCache (obviously changing <mysite> to the correct domain).
Last edited by divinemayhemstudios (2019-02-17 06:24:19)
Offline
So all is good?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1