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
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
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
http://agustinbolzan.com.ar/english/backlight/search/
go there and try to see the galleries clicking on Galleries.....
Offline
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pages: 1