Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Linktree
« on March 12th, 2012, 05:24 PM »
We gotta fix this, it's missing a few things that I think need fixing; it's most prominent to me because of the theme work I've been doing.

* when in the board index, there's nothing in the linktree, and it should really have something
 (site name > Community?)

* when in a given category specifically
 (site name > Community > Category?)

Thoughts?
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

spoogs

  • Posts: 417
Re: Linktree
« Reply #1, on March 12th, 2012, 06:21 PM »
Wouldn't site name and community be linking to the same thing ; the board index?
Stick a fork in it SMF

PantsManUK

  • [me=PantsManUK]would dearly love to dump SMF 1.X at this juncture...[/me]
  • Posts: 174
Re: Linktree
« Reply #2, on March 12th, 2012, 06:35 PM »
I can think of conditions where they wouldn't (me, f'rinstance...) but in some cases they would go to the same place.
« What is this thing you hoomans call "Facebook"? »

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Linktree
« Reply #3, on March 12th, 2012, 06:46 PM »
No, that's the thing, the front page is not the board index.

spoogs

  • Posts: 417
Re: Linktree
« Reply #4, on March 12th, 2012, 06:47 PM »
Ah then yes I agree.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Linktree
« Reply #5, on March 14th, 2012, 10:55 AM »
Quote from Arantor on March 12th, 2012, 05:24 PM
We gotta fix this, it's missing a few things that I think need fixing; it's most prominent to me because of the theme work I've been doing.

* when in the board index, there's nothing in the linktree, and it should really have something
 (site name > Community?)
It's not 'should', rather 'may need to'...
It's actually a design choice on my part, back from the early days when I imported the Noisen code.
And it could be argued, for instance, that the owner wants the forum homepage to point to other areas that aren't maintained by Wedge and as such don't use a breadcrumb system.
Quote
* when in a given category specifically
 (site name > Community > Category?)
Just had a look and... Heck, looks like the category links are not even working...?!!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Linktree
« Reply #6, on March 14th, 2012, 12:34 PM »
Quote
And it could be argued, for instance, that the owner wants the forum homepage to point to other areas that aren't maintained by Wedge and as such don't use a breadcrumb system.
Actually, I'd argue this should be related to the new menu item; if the new menu item is set, the first item in the linktree should point to that, with Community then being present to point to the forum itself.

Right now though there's a lack of linktree items until you actually get inside a board...

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Linktree
« Reply #7, on March 14th, 2012, 08:16 PM »
Quote from Nao on March 14th, 2012, 10:55 AM
Quote
* when in a given category specifically
 (site name > Community > Category?)
Just had a look and... Heck, looks like the category links are not even working...?!!
Fixed in the latest commit.
Just so you know -- Subs-BoardIndex.php was indeed an oversight of mine, but I committed the Load.php change in rev 1013, and you (yes Pete, I'm talking to you :P) reverted it by mistake in rev 1016 by committing your plugin work...
I admit that it was a very large commit to make, and I'm to blame just as you are because I try to check all of your commits one by one, but I hope this didn't happen in other areas... :^^;: Hopefully with the latest TortoiseSVN this should no longer happen, should it...? It always tells me to update my stuff before I commit into a file that's been modified.

As for linktrees... Ah, well, it's up to you. Nobody cares but me, and you have as much to say about it, so do it your way and if I really can't adjust to it, I'll say it ;)

spoogs

  • Posts: 417
Re: Linktree
« Reply #8, on March 17th, 2012, 12:53 PM »
Indeed this does need some tending to, it more evident now using Wedge here, I can't get back to the index well unless i do/boards.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Linktree
« Reply #9, on March 17th, 2012, 12:54 PM »
Or the home page (first item in the linktree), or indeed using the dropdown menu that's the first menu item ;)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Linktree
« Reply #10, on October 19th, 2012, 02:46 PM »
Bumping this old topic, because it's better than using the thought system for that...

So, this is the best I could come up with. As you can see, it has two drawbacks:
- it's a circle, not an arrow...
- it's pointed to the left, not to the right. It goes against the 'established standards'.

The advantages, though:
- I can set a box-shadow on it.
- I can add hover effects that change the background entirely. (Except for the current entry, because I haven't been able to extend the background width to the entire rest of the line without resorting to HTML...)

What do you think is best..? Current[1], or proposed?

I, myself, have a small preference for the current one. I think I can get around the lack of border by adding another pseudo-element behind it... Hmm, well, I'm not so sure actually, because the current implementation relies on transparent backgrounds a bit too much...
 1. See in the Wuthering skin...

📎 inverted-breadcrumb.png - 4.08 kB, 363x50, viewed 174 times.


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Linktree
« Reply #11, on October 19th, 2012, 02:50 PM »
I quite like it actually.

Though the arrow or similar would be better if at all possible.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Linktree
« Reply #12, on October 19th, 2012, 02:56 PM »
I'm doing my best, at this point... It's like I'm throwing all of my CSS super-skills into the game.
There's a way to invert the 'arrow' direction, but it involves at least 500 bytes of extra CSS... Meh!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Linktree
« Reply #13, on October 19th, 2012, 03:12 PM »
Even when compressed?

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Linktree
« Reply #14, on October 19th, 2012, 03:15 PM »
Oh, it probably compresses better, than it's still not a very exciting implementation to have...

It's basically the same as here:
http://stackoverflow.com/questions/2345132/reversing-z-index-based-from-page-render-order

Not exciting, I told you!
Posted: October 19th, 2012, 03:14 PM

Of course, I could work a bit harder and try to use linear-gradients for the arrow, which would solve all of our problems, but I'm way, way behind CSS gurus when it comes to manipulating gradients... (e.g. Lea Verou)