inherit
259698
0
Nov 2, 2024 16:26:30 GMT -8
Tman2010
38
October 2019
tman2010
|
Post by Tman2010 on Nov 4, 2019 16:16:03 GMT -8
Is it possible to add this also to the bottom of each thread below the "reply" box and above the "Shoutbox"?
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Nov 4, 2019 16:31:06 GMT -8
This is called the "Navigation Tree" and you can technically duplicate it, but there are a couple of problems: - It's built using IDs, which in HTML semantics, can only appear once per page
The outer wrapper is visible on the Forum Wrapper layout template and has an ID. This would be easy to change, but unfortunately, the inner HTML that we can't access is also built with IDs.
- The JavaScript that controls the dropdown behavior seems to rely on that unique ID
If you hover over these items, you'll see a dropdown that shows more navigation choices. This behavior is controlled by JavaScript and since it relies on a unique ID, the second appearance of the Navigation Tree is not functional. The dropdown doesn't work.
I wouldn't recommend it, but it is possible.
|
|
inherit
259698
0
Nov 2, 2024 16:26:30 GMT -8
Tman2010
38
October 2019
tman2010
|
Post by Tman2010 on Nov 4, 2019 16:40:06 GMT -8
Thank you elli for the response. A few on my new board were asking and I'm clueless on this. I had to throw the board together in an hour before our old board was closed down.
|
|
inherit
76165
0
Jul 1, 2018 21:15:48 GMT -8
Beckea
Relax with a good book!
933
April 2006
purplescraps
|
Post by Beckea on Nov 4, 2019 18:16:50 GMT -8
This will post that section at the bottom:
_________________________________________ (Lower Navigation Tree)
template> forum wrapper> (below content)
See Kamis post below.
|
|
Kami
Forum Cat
Posts: 40,203
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,203
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 4, 2019 19:28:18 GMT -8
This will post that section at the bottom: _________________________________________ (Lower Navigation Tree) template> forum wrapper> (below content) {if $[navigation.tree]} <div id="navigation-tree"> $[navigation.tree] </div> {/if}
unfortunately, while this may seem to be the correct answer it actually isn't. IDs (in this case, navigation-tree) must be unique per page -- in other words, duplicating the nav tree on the forum wrapper means that there would be 2 divs with the same ID on any forum page, which should not be done. that goes double since each item in the nav tree, as elli mentioned, also has a unique ID. from the opening post it looks like the OP wants two instances, rather than just moving the location. This code from scott appears to be the correct solution: support.proboards.com/thread/655077/duplicating-navbar-bottom?though as a caveat i don't know how or if it addresses elli's concerns above.
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Nov 4, 2019 20:43:30 GMT -8
This works well. It only moves the Navigation Tree between the top/bottom of the page as the user scrolls, so the requirement of a single ID per page is fulfilled and the dropdown functions as it should.
|
|