This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 30-Apr-2019 16:06 Last Post By: jGromit
Paul-Gulliver

Posts: 14
Registered: 24-Oct-2010
Album of albums - linking back to index page
Posted: 29-Apr-2019 20:23
 
  Click to reply to this thread Reply
Using this guide https://jalbum.net/help/en/Making_an_album_of_albums_with_web_locations I'm creating a multi-album site using Photoblogger template.
This is my main home page http://jalbum.net/en/browse/user/album/1929311 and this is one of my album pages http://jalbum.net/en/browse/user/album/1929311
To enable a user to get back to my main home page I have added code in the custom content of the header section (Return Home), it works but doesn't look to neat.
Is there a way to add this navigation to the top bar rather that above the top bar as it is at the moment - or any other suggestions to make it look a bit more professional :) - I don't have to use the web locations method if anyone has a alternative/better suggestion.

Thanks,
Paul
jGromit

Posts: 7,706
Registered: 31-Jan-2006
Re: Album of albums - linking back to index page
Posted: 29-Apr-2019 21:48   in response to: Paul-Gulliver in response to: Paul-Gulliver
Helpful
  Click to reply to this thread Reply
A familiar problem, and one that I've wrestled with in my own skins. You often want both kinds of navigation - return to the top of this album (like your "Places of Interest"), and return to a home page that's outside of this album.

Using the current version of Photoblogger, there are a couple of ways of doing this differently.

The most "normal" way is to head for Settings > Pages > Link to home page in each of your separate projects (Places of Interest, Nature, Transport), and plant the link to your real home page, https://paul-gulliver.jalbum.net/Home/. Enter whatever text you want to appear upon mouseover. Then, in each of those albums, the little house icon will take the visitor back to your home page. There will be an up-arrow in the subfolder that takes the visitor back to the top of the current album.
jGromit

Posts: 7,706
Registered: 31-Jan-2006
Re: Album of albums - linking back to index page
Posted: 29-Apr-2019 21:56   in response to: jGromit in response to: jGromit
Helpful
  Click to reply to this thread Reply
The second way to tackle this is really sneaky. What we're going to do is add a custom page to each of the album projects (Places, Nature, Transport) that consists of an instant redirect to your home page. In Places, for example, right-click somewhere other than on one of the thumbnails and choose New page, Empty page. Rename it from New Page.htt to Return Home.htt - this defines the text that will appear in the navigation bar, in this case, "Return Home." Now double-click to open it for editing.

Replace everything you see there, even the things that are labeled "Keep this," with the following:
<!DOCTYPE html>
<html>
<head>
<title>Redirect</title>
<meta charset="UTF-8">
<meta http-equiv="Refresh" content="0; URL=https://paul-gulliver.jalbum.net/Home/">
</head>
</html>
You also need to tell Photoblogger to include pages in the top bar - Photoblogger > Header > Top bar > Include pages.

I've "sort of" tested this, so post back if it does something weird and unexpected. ;)
Paul-Gulliver

Posts: 14
Registered: 24-Oct-2010
Re: Album of albums - linking back to index page
Posted: 30-Apr-2019 10:59   in response to: Paul-Gulliver in response to: Paul-Gulliver
 
  Click to reply to this thread Reply
Thanks for your suggestions, I have incorporated the second suggestion and it works well.

Thanks
jGromit

Posts: 7,706
Registered: 31-Jan-2006
Re: Album of albums - linking back to index page
Posted: 30-Apr-2019 16:06   in response to: Paul-Gulliver in response to: Paul-Gulliver
 
  Click to reply to this thread Reply
Excellent - glad that did the trick. :)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums