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-03-13 22:35:51

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

Enable / install the search form at the gallery

Is there any documentation on how to enable / install the search form at the gallery ?

Offline

#2 2015-03-13 23:23:57

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

Re: Enable / install the search form at the gallery

Do you mean in a gallery page? Or to do you mean for the entire site?
Because you can simply include a link in your navigation to the search page following the documentation:
http://ce4.theturninggate.net/docs/doku … arch_setup

Or you can add a search form to any page.
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/

The search will still be global and not restricted to that particular gallery page.


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-03-14 04:07:09

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

Re: Enable / install the search form at the gallery

I do not have Aouto index, my album is directly under Gallery. I want to be able to search for a spelre with his name. Is it possible? which documents the links should I use?

Offline

#4 2015-03-14 04:39:16

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

Re: Enable / install the search form at the gallery

you don't need autoindex for search to work. You need Publisher and Gallery

which documents the links should I use?

The simplest thing to do is to add a search link to your navigation (well, it's simple if you're using phplugins to manage your navigation)

In the publisher/ folder that you placed on line there is a search/ folder. Place that folder in the root of your site. Add a link to you navigation that goes to /search/
that's covered in this documentation: http://ce4.theturninggate.net/docs/doku … arch_setup

If you don't want to add a search link to your navigation but instead want to have a search form on, say, your Galleries page, then do what I outlined here:
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/

You will still need to copy the search folder from ttg-be/publisher/ to the root of your 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

#5 2015-03-14 22:51:26

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

Re: Enable / install the search form at the gallery

Thanks for the info, that sounds easy to fix. will see if I can handle it.The last link does not work.

The folder search is moved =Check
Add a search link to your navigation = Check but I get the following error when I search for a name that is tagged in the picture
The template ttg-be/templates/autoindex/InnebandyGallery could not be found. Create this template with CE4 Gallery then upload it to your server.


Link = http://www.sportfoton.se/galleries/2015 … pixbo-aik/

rod barbee wrote:

you don't need autoindex for search to work. You need Publisher and Gallery

which documents the links should I use?

The simplest thing to do is to add a search link to your navigation (well, it's simple if you're using phplugins to manage your navigation)

In the publisher/ folder that you placed on line there is a search/ folder. Place that folder in the root of your site. Add a link to you navigation that goes to /search/
that's covered in this documentation: http://ce4.theturninggate.net/docs/doku … arch_setup

If you don't want to add a search link to your navigation but instead want to have a search form on, say, your Galleries page, then do what I outlined here:
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/

You will still need to copy the search folder from ttg-be/publisher/ to the root of your site

Last edited by sportfoton (2015-03-14 23:11:58)

Offline

#6 2015-03-14 23:14:05

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

Re: Enable / install the search form at the gallery

I just copied that link from the earlier response. Here it is again
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/


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-03-14 23:17:02

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

Re: Enable / install the search form at the gallery

I changed the post during the time you wrote, looking back what I got wrong mess. Is it possible to get a smaller search box?

rod barbee wrote:

I just copied that link from the earlier response. Here it is again
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/

Offline

#8 2015-03-14 23:23:20

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

Re: Enable / install the search form at the gallery

I believe that's an incorrectly worded error. The real error should be that the template cannot be found in ttg-be/templates/gallery/
The template you've chosen in Publisher setup to be used as the search template does not exist. Check your spelling of the template name or upload the correct 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

#9 2015-03-14 23:26:03

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

Re: Enable / install the search form at the gallery

To change the size, try targeting #search with custom css


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2015-03-14 23:29:10

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

Re: Enable / install the search form at the gallery

I put mine in the sidebar so the size is dictated by the width of the 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

#11 2015-03-14 23:51:44

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Re: Enable / install the search form at the gallery

For changing the size with custom css, use:

#search {
    max-width: XXXXpx;
    }

and set the max width of the search box to whatever you want.

Last edited by kmlucy (2015-03-14 23:52:47)


Kyle Lucy Photography
kylelucy.com

Offline

#12 2015-03-14 23:55:05

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

Re: Enable / install the search form at the gallery

rod barbee wrote:

I put mine in the sidebar so the size is dictated by the width of the sidebar

So I made this! I moved the search folder to the root of my website. In Pages I wrote the code <div id = "search" class = "collapse clearfix">
<h2> Photo Search </ h2>
<form action = "/ search" method = "GET">
<input type = "text" id = "q" name = "q" value = "" />
<button type = "submit"> Search </ button>
</ form>
</ div> <! - #search -> in the Gallery page in the field Pages copy (MD)
but it does not work yet, what am I doing wrong?

Offline

#13 2015-03-15 00:24:07

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

Re: Enable / install the search form at the gallery

you have a search form on your Galleries page right now
http://www.sportfoton.se/galleries.php

But you still don't have a template for it. In your Publisher setup in ttg-be you have the name of a template for the search page.
That name is InnebandyGallery. But that template does not exist. If you go to http://www.sportfoton.se/ttg-be/templat … ndyGallery
you'll see the Page not Found error.

So either you misspelled the name of the template in the Publisher set up in ttg-be or you never uploaded a template with that name.

So make sure that you have a CE4 Gallery template named InnebandyGallery in your ttg-be/templates/gallery folder
or correct the name of the template in Publisher set up in ttg-be.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2015-03-15 00:48:24

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

Re: Enable / install the search form at the gallery

Excuse me but I can not find in Publisher I have stated INNEBANDY , I have no gallery called INNEBANDY

rod barbee wrote:

you have a search form on your Galleries page right now
http://www.sportfoton.se/galleries.php

But you still don't have a template for it. In your Publisher setup in ttg-be you have the name of a template for the search page.
That name is InnebandyGallery. But that template does not exist. If you go to http://www.sportfoton.se/ttg-be/templat … ndyGallery
you'll see the Page not Found error.

So either you misspelled the name of the template in the Publisher set up in ttg-be or you never uploaded a template with that name.

So make sure that you have a CE4 Gallery template named InnebandyGallery in your ttg-be/templates/gallery folder
or correct the name of the template in Publisher set up in ttg-be.

Offline

#15 2015-03-15 00:52:14

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

Re: Enable / install the search form at the gallery

I have no gallery called INNEBANDY

I know. that's the problem

I can not find in Publisher I have stated INNEBANDY

log in to ttg-be.
hover over Dashboard and click on Publisher Admin
Click on Publisher Settings
See Search Template at the bottom of the Search 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

#16 2015-03-15 01:02:43

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

Re: Enable / install the search form at the gallery

Thank you very much, it works now! Just one question I can not have different gallery for different albums? I have example: a gallery for football and handball. will not it work? When I create an album of handball I use the gallery handball and football, I use a gallery called football.

rod barbee wrote:

I have no gallery called INNEBANDY

I know. that's the problem

I can not find in Publisher I have stated INNEBANDY

log in to ttg-be.
hover over Dashboard and click on Publisher Admin
Click on Publisher Settings
See Search Template at the bottom of the Search section

Offline

#17 2015-03-15 01:03:44

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

Re: Enable / install the search form at the gallery

you can have as many publisher templates as you need. Just choose them in Album Setup


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#18 2015-03-15 01:22:39

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

Re: Enable / install the search form at the gallery

You have an awesome support! Thank you very much . One last question . I have a single picture of a hockey player named Per Ledin. when I was looking at him , I get a lot of machter where he is not around. What is this?

rod barbee wrote:

you can have as many publisher templates as you need. Just choose them in Album Setup

Offline

#19 2015-03-15 03:09:34

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

Re: Enable / install the search form at the gallery

If you want just to find Per Ledin, you have to use double quotes: "Per Ledin"

More on search and its features at http://ce4.theturninggate.net/docs/doku … ith_search


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#20 2015-03-15 05:22:21

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

Re: Enable / install the search form at the gallery

also, see this from the Publisher documentation: http://ce4.theturninggate.net/docs/doku … ith_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

Board footer

Powered by FluxBB