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


Permlink Replies: 5 - Pages: 1 - Last Post: 11 Jun 25, 06:10 Last Post By: MidTexPhoto Threads: [ Previous | Next ]
MidTexPhoto

Posts: 9
Registered: 5-Mar-2013
Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 7 Jun 25, 15:23
 
  Click to reply to this thread Reply
Attachment Tiger URLs 1.jpg (28.9 KB)
Hello: I unsuccessfully tried searching for an answer to this Q. Sorry if it's a duplicate.

Pls see attached image. I would like to have the two different link icons in the image go to different URLs. I would like the top icon (the home) go to one URL and the Hero title Up arrow go to a different one. Currently, as far as I can discover, I can only make a change to the 'Settings > Pages > Link to external homepage' address, which populates both URL settings.

Am I missing something or do I need to modify the page code somewhere?

Thx in advance for any help!

Nathan

Edited by: MidTexPhoto on 7 Jun 2025, 15:23
Laza

Posts: 1,547
Registered: 6-Sep-2005
Re: Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 8 Jun 25, 07:38   in response to: MidTexPhoto in response to: MidTexPhoto
 
  Click to reply to this thread Reply
No such option exists. (I don't see the point in complicating the user interface further.)
MidTexPhoto

Posts: 9
Registered: 5-Mar-2013
Re: Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 10 Jun 25, 00:54   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza, thank you for the quick replay.

I appreciate not wanting to complicate the interface, but my desire arises from the limitations of jAlbum. Basically, there is not sufficient granular control to make layout or format changes at each folder level, so I have had to create stand-alone albums that serve only as containers for links to other albums.

For example, my top level album will contain web-links to two different 2nd level albums. One of those contains only links to other albums that contain folders of photos. The second will contain folders and links. The basic look and feel for levels one and two are the same, but at the third level, I've made formatting, layout, skin, and other changes suitable to the content.

I know there are other ways to organize things (I've been experimenting for a year!), but none of them gives me the flexibility I want that the current arrangement gives me.

I am not complaining, I assure you; I am happy with the outcome and the look, now I'm just 'tweaking' things.

Which brings me to my desire for different links:

As far as I can tell, the home button in the top bar always goes back to the URL set in the settings. The Hero arrow on the other hand goes up one level in the album unless it's the top level, in which case it goes to the setting URL.

I would like the top bar home icon to always go back to the top level URL (set in settings), and I would like the banner arrow icon to go back to the referrer, even if that referrer is another album. I am sorry if I'm not using the correct terminology here.

To see an example of what I've got so far, you can look at nathansnature.com. The top two levels are container albums. The Trips albums are photo albums w/ subfolders, etc. I've hard-coded the settings in each Trip folder to return to the 2nd level album, which means there is no link back to the Top level album. That's what I'd like to fix.

If that's in the too-much-work-for-too-little-value category, I understand. I can live with and be happy what I've got. If there's an easy way for me to make a change, though, I would welcome the guidance.

Anyway, thanks again as always for a really great product!

Nathan
Laza

Posts: 1,547
Registered: 6-Sep-2005
Re: Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 10 Jun 25, 09:31   in response to: MidTexPhoto in response to: MidTexPhoto
 
  Click to reply to this thread Reply
I think your case is special, and adding another Home page link would confuse most users.

If you insert this code in the Settings / Tiger / Advanced / Custom code / JavaScript box, it'll do what you want.
$('.top-level .title .back-btn').attr('href', '../index.html');
MidTexPhoto

Posts: 9
Registered: 5-Mar-2013
Re: Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 11 Jun 25, 05:45   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thank you!! You may not recall, but that is not the first time you have given me a snippet of custom code to get an album to look the way I want. The last was to make the hero title background a gradient like it was in older version of tiger & turtle. I still use that. And I do understand you have more important things to do, so I really do appreciate the help. If I can ever help with something pls let me know. (I can't imagine what, of course, but I do mean it)

With sincere gratitude,
Nathan
MidTexPhoto

Posts: 9
Registered: 5-Mar-2013
Re: Different URL for the Top Bar Home Icon and the Hero Title 'Up' arrow...
Posted: 11 Jun 25, 06:10   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
A quick follow-up: I needed to tweak the code a little to get it to do exactly what I had in mind, and now it works perfectly. Specifically (see attached image):

1. Change the Setting URL to the top level URL.

2. Remove the link text from the settings page (this prevent the back arrow from using that text).

3. Hard code the next level up into the custom code, e.g., ../Trips/index.html

Now, the House icon goes back to the main page, and the top-level back arrow goes to the hard coded page. Voila!

Thank you again,
Nathan
Legend
Forum admins
Helpful Answer
Correct Answer

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