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.
Is there any documentation on how to enable / install the search form at the gallery ?
Offline
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
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
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
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/
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_setupIf 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
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
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?
I just copied that link from the earlier response. Here it is again
http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/
Offline
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
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
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
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
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
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
Excuse me but I can not find in Publisher I have stated INNEBANDY , I have no gallery called INNEBANDY
you have a search form on your Galleries page right now
http://www.sportfoton.se/galleries.phpBut 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
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
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.
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
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
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?
you can have as many publisher templates as you need. Just choose them in Album Setup
Offline
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
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