Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-04-29 05:03:29

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Search I can not choose Template

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

#2 2015-04-29 05:08:12

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

#3 2015-04-29 05:23:07

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

rod barbee wrote:

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.

http://www.sportmackan.se/galleries/test-test/

Offline

#4 2015-04-29 05:46:55

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Search I can not choose Template

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

#5 2015-04-29 05:55:03

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

dl wrote:

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

#6 2015-04-29 06:01:50

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

#7 2015-04-29 06:19:07

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

rod barbee wrote:

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

#8 2015-04-29 06:26:28

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

#9 2015-04-29 06:29:00

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

rod barbee wrote:

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

#10 2015-04-29 06:37:52

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

#11 2015-12-23 11:29:57

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

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

#12 2015-12-23 14:30:05

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

#13 2015-12-23 14:39:31

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Search I can not choose Template

rod barbee wrote:

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?

When I moved the search folder to the root, I get the following error when I search

http://www.sportfoton.se/search/?q=Frölunda

Offline

#14 2015-12-23 14:49:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Search I can not choose Template

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

Board footer

Powered by FluxBB