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 2016-06-06 23:10:16

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Strange issue with Search Page

I have discovered that if I go to the Search Page and from there I try to go to Galleries........Galleries Page appears empty!.....I have to click twice on Galleries in order to see the full Galleries Page......this only happens with the Search Page, from any other Page I can go to Galleries without problems.....any clue about this problem?

Agustin

Offline

#2 2016-06-06 23:27:38

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

Re: Strange issue with Search Page

link?


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 2016-06-06 23:31:31

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

http://agustinbolzan.com.ar/english/backlight/search/

go there and try to see the galleries clicking on Galleries.....

Offline

#4 2016-06-06 23:44:30

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

looking at the links with more detail, it appears that when I am in the Search Page, the links to the other pages apper as something like agustinbolzan.com.ar/?page=xxx (xxx=Home, Galleries, etc.)....and not just agustinbolzan.com.ar/xxx.  I wonder what is the reason for the presence of "?page="  in the links

Offline

#5 2016-06-06 23:54:52

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

Re: Strange issue with Search Page

Check the menu set you're using for the search page's page template. Make sure it matches the one you're using elsewhere.


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

Offline

#6 2016-06-07 00:17:41

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

well...that's funny.....I have not created the Search Page because it  appeared by itself once I started the site with a Menu that contained the Search Page......therefore,  I thought that it was an implicit page in Backlight......wrong!.....I will create one right now and see what happens....

Offline

#7 2016-06-07 00:24:26

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

sorry, I have now a doubt: should the Search item in the Menu  point to a "Search" Page  or to the  URL "/backlight/search/?....

to be clear: each item in  my menu links to a Page, EXCEPT, Search, that links to the URL "/backlight/search/.....

Last edited by aebolzan (2016-06-07 00:32:51)

Offline

#8 2016-06-07 00:43:41

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

Re: Strange issue with Search Page

if you don't explicitly assign an album template to the Search page (in the Publisher settings), the standard album template is used.

the link to the Search page should go to /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

#9 2016-06-07 01:27:04

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

well, so it is what I did, but this does not explain why the problem between Search and Galleries.....or at least I do not see it...

Offline

#10 2016-06-07 01:54:50

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

Re: Strange issue with Search Page

Have you checked the menu set used for the album template you're using for the Search 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

#11 2016-06-07 02:20:46

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

what should I check in the menu set?

the album template I am using  in the Search page is the one of the Civilisation Gallery, and I find no problems when I enter in that gallery.....to be clearer: I designed two menu sets, one for the Home Page, that lacks a link to"Home", an another one that includes Home. That's all.  On the other hand, I do not understand the role of the album template in the search page, as the only thing that appears there is a window for searching....

Last edited by aebolzan (2016-06-07 02:21:39)

Offline

#12 2016-06-07 02:27:54

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

Re: Strange issue with Search Page

the search results are an album, therefore it needs an album template.

If you're using the same template for your albums as you are for the Search page, then the Galleries page link is the same. There's probably an issue with the .htaccess file. You can try two things: clearing template cache and updating album files.
Clearing template cache: Designer > Templates > Clear Template Cache
Updating album files: Go to the Publisher dashboard and click the Update Album Files link.


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 2016-06-07 03:29:45

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

I did it, and got the message:

"The album files were updated successfully for 1 Top-level gallery directory, 0 Album Sets and 5 Albums"

and all runs as before.....no way to see the galleries at first chance....

Offline

#14 2016-06-07 03:45:28

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

Re: Strange issue with Search Page

Ben will need to look then.


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

Offline

#15 2016-06-07 06:23:20

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Strange issue with Search Page

Hi, try editing your Menu Set and change the Galleries entry from a Page link to an Album
Set link that points to the Galleries album set.

Offline

#16 2016-06-07 07:08:31

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

when I  set "Album Set" instead of "Page"  link  the only option that appears to the left is "Galleries" and then the options for descending levels, but there is no way to select an Album Set....

Offline

#17 2016-06-07 07:25:25

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

Re: Strange issue with Search Page

Galleries is the album set. It was created automatically by Backlight the first time you published to your galleries/ folder.


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 2016-06-07 07:44:49

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

ops! please, excuse my ignorance!.......I thought that Galleries was a Page, not an Album Set (maybe this would require some clarification in the future documentation of Backligth)

Well, I changed the Gallery entry from Page to Album Set = Gallery, and.....WORKS!, .......now, I am curious.....why it Works now and not before?..what makes a difference between using a Page or an Album Set in the Menu?....just to learn something more about Backlight..

Agustin

Offline

#19 2016-06-07 07:56:15

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Strange issue with Search Page

Hi Agustin, out of the box the Galleries link should just be a URL to /galleries/ on your site.  This is because the database entries from which it can work as an Album Set don't exist until a Publisher instance is created.

The reason it works as a Page at all locations other than Search is because the .htaccess files are configured for Pages to use the format /page/.  Therefore the generated URL in the nav at those locations is identical between Galleries being a Page or an Album Set.  However, there is no .htaccess file under Search, so Backlight instead uses the fallback URL format for Pages, which is index.php?page=galleries.  This is an invalid URL as this URL isn't pointing to the /galleries/ location.

Does that make sense?  I've added an .htaccess file to /backlight/search/ in my working code, which will at least use clean URLs for Page links on the search page.  In your case, for now just leave Galleries as an Album Set menu for now.

Offline

#20 2016-06-07 08:44:23

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Strange issue with Search Page

thanks Ben for the explanation. Now I see all clearer......the problem is that for the moment the documentation of Backlight is scarce (although enough for creating a site), so if by chance things work fine from the very beginning, one finds  no problems, but when one do something unexpected or goes beyond the simple initial steps, well.....we have to bother you or Rod......thanks again!

Agustin

Offline

Board footer

Powered by FluxBB