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
Hello,
I am helping a friend put up his TTG page. But I do not get search to work. When I go into the TTG / cart and choose Edit TTG BE Settings, then I can not choose Template.
I have uploaded a gallery template .. What can I miss?
Offline
choose the template you want to use for Search results in the Publisher settings, not Cart.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
choose the template you want to use for Search results in the Publisher settings, not Cart.
HI! I checked Publischer settings, and I have chosen the right gallery, but I will not give up the search box in the gallery.
Offline
Search seems to be working: http://www.sportmackan.se/search/
Rod wrote about this on his blog how to add a search box to a gallery or another page: http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Search seems to be working: http://www.sportmackan.se/search/
Rod wrote about this on his blog how to add a search box to a gallery or another page: http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/
I have written the below code in the box Sidebar copy (MD) into Pages - the gallery pages
<div id="search" class="collapse clearfix">
<h2>Bild Sökning</h2>
<form action="/search" method="GET">
<input type="text" id="q" name="q" value=""/>
<button type="submit">Sök</button>
</form>
</div> <!-- search -->
Offline
it doesn't look like the sidebar has been activated on the Galleries page. Be sure that the Galleries page is set to two-column
http://ce4.theturninggate.net/docs/doku … e4_sidebar
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
it doesn't look like the sidebar has been activated on the Galleries page. Be sure that the Galleries page is set to two-column
http://ce4.theturninggate.net/docs/doku … e4_sidebar
Thank you.
Now I get the search box when I go into the gallery.
http://www.sportmackan.se/galleries.php
But I go into the album, I get no search box.
http://www.sportmackan.se/galleries/test-test/
but perhaps it should be so?
Offline
But I go into the album, I get no search box.
but perhaps it should be so?
no, not unless you place it in the sidebar of the template. But that seems to be overkill when you can just place a search link in your menu and then have it available everywhere.
And the search won't be limited to just that album, if that's what you were wanting. It will still search the whole site.
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 go into the album, I get no search box.
but perhaps it should be so?
no, not unless you place it in the sidebar of the template. But that seems to be overkill when you can just place a search link in your menu and then have it available everywhere.
And the search won't be limited to just that album, if that's what you were wanting. It will still search the whole site.
Then I understand, thank you very much for your help.
Can you remove cart-default and CRG-defult in the folder Cart \ Templates \ Gallery?
I get double the search window when I search for something.
http://www.sportmackan.se/search/?q=5515
Last edited by sportfoton (2015-04-29 06:32:03)
Offline
Can you remove cart-default and CRG-defult in the folder Cart \ Templates \ Gallery?
As long as you've provided and chosen a gallery template for the cart and a CRG template for CRG (set in ttg-be), then I suppose so. Give it a try. If it messes things up, then just put them back
I get double the search window when I search for something.
This is because you've included a search form in the template you're using for search. Remove the form from the template's sidebar.
Also, the template name has a space in it. This can lead to problems. For web files and folders using only letters, numbers, dashes, or underscores in names. No spaces or special characters.
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 opens the this thread again, then i have almost the same problem now as then. When i search I do not get up any search results, but i end up on a WordPress error page.
Go to http://www.sportfoton.se/image/galleries.php and search on "Frolunda" coming to http://www.sportfoton.se/search?q=Frölunda
If i go to http://www.sportfoton.se/image/search/ into the browser and search for "Frolunda" works. What could this be due to?
Offline
It probably has to do with the level you have ttg-be and the search folder installed in. I believe the search/ folder needs to be in the root of your site
http://ce4.theturninggate.net/docs/doku … arch_setup
Since this is a Publisher issue. Can you post this specific problem in the Publisher forum so Ben will have a better chance of seeing it?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
It probably has to do with the level you have ttg-be and the search folder installed in. I believe the search/ folder needs to be in the root of your site
http://ce4.theturninggate.net/docs/doku … arch_setupSince this is a Publisher issue. Can you post this specific problem in the Publisher forum so Ben will have a better chance of seeing it?
When I moved the search folder to the root, I get the following error when I search
Offline
Then go ahead and post this new problem in the Publisher forum so Ben will have a better chance of seeing it
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