What exactly is Mike's addon doing to the tab? This addon already provides dropdown menus for node tabs, so I question using a different addon for this.
Node tab dropdown menus normally consist of child nodes. The menu is standard within XF's nav system, so I'm not sure what could be wrong if not some conflict between the two addons.
Your add-on nicely adds dropdown for node tabs, BUT leave it without dropdown when it's activated (its dropdown menu's clicked)
What Mike's addon (and I) try to achieve is to make this activated tab doing the same as the non selected tabs (showing dropdowns when they're hovered) AND to omit the submenu (whatever the name) beneath the activated tab after the click.
Your add-on nicely adds dropdown for node tabs, BUT leave it without dropdown when it's activated (its dropdown menu's clicked)
What Mike's addon (and I) try to achieve is to make this activated tab doing the same as the non selected tabs (showing dropdowns when they're hovered) AND to omit the submenu (whatever the name) beneath the activated tab after the click.
You likely just need to apply those same modifications to the extraTabs skeletons (there are 3 such blocks) in the navigation template. This addon uses the extraTabs skeletons.
You likely just need to apply those same modifications to the extraTabs skeletons (there are 3 such blocks) in the navigation template. This addon uses the extraTabs skeletons.
I did that before, Jake. I applied Mike's modification to the '<!-- extra tabs: home -->' as I use your 'nodes as tabs' in the '<!-- extra tabs: home -->' for all of my catgories.
All is working well until I activate the tabs (by clicking the subforum's link inside the dropdown) ....
AFTER I clicked one of the links listed in the dropdown, the subforums of each forum seems like making their own dropdown layer, leaving the forums list on the last dropdown layer
I think something must've gone wrong after a tab (with subforum arranged by "nodes as tabs") was selected (clicked), since the other tabs' dropdown remain nicely sorted
Have you enabled Popup Links As Columns? That actually breaks from the standard nav structure by creating multiple lists of child links under the tab. That might be conflicting. Just a guess.
Have you enabled Popup Links As Columns? That actually breaks from the standard nav structure by creating multiple lists of child links under the tab. That might be conflicting. Just a guess.
Enabling "Popup Links As Columns" will only result to the same issue, Jake (dropdown being layered apart after its subforum's clicked)
I think it's because the enabling of "Popup Links As Columns" will only affect how the dropdown's shown when it have not been selected (its subforum haven't been clicked)
Without Mike's addon being set up, either enabled or disabled "Popup Links As Columns" will show the css portion of '.navTabs .navTab.selected .tabLinks'
Basically, what I'm trying to achieve as an additional things on your addon are : 1. omitting the additional bar containing '.navTabs .navTab.selected .tabLinks' after a specific 'nodes as tabs' (its dropdown subforum's link) is clicked 2. having the same 'nodes as tabs' cool dropdown after a specific 'nodes as tabs' (its dropdown subforum's link) is clicked
I did got this with Mike's modification (with your addon being implemented, indeed), BUT sadly resulting in the issue I showed you above.
Inside this spoiler is an interesting one (at least for me )
I hope it's relevant with this issue
this is what I find out from the element portion (css) from a NORMAL dropdown (dropdown's subforum which have NOT BEEN selected by clicked)
It seems that the normal dropdown, briefly, shows a structure like this:
Code:
<div><div>CATEGORY 1</div><ul>
Forum 1-1 (li class="natMenuLevel0")
SubForum 1-1-1 (li class="natMenuLevel1")
Forum 1-2 (li class="natMenuLevel0")
SubForum 1-2-1 (li class="natMenuLevel1")
SubForum 1-2-2 (li class="natMenuLevel1")
</ul></div>
while the defaced one shows something like this:
Code:
<div><div>CATEGORY 1</div><ul>
Forum 1-1 (li class="Popup PopupControl PopupClosed")
Forum 1-2 (li class="Popup PopupControl PopupClosed")
</ul></div>
<div><ul>
SubForum 1-1-1 (li class="natMenuLevel0")
</ul></div>
<div><ul>
SubForum 1-2-1 (li class="natMenuLevel0")
SubForum 1-2-2 (li class="natMenuLevel0")
</ul></div>
I'm not quite sure what is wrong, I would like to change "Donations" tab color into "yellow (bold)" but it doesn't change color when I apply this code to EXTRA.css
However, if I change "donations" to "forums" (of course without "") it works, what should I do to make donations tab change color into yellow (bold)?
Thanks!
I'm not quite sure what is wrong, I would like to change "Donations" tab color into "yellow (bold)" but it doesn't change color when I apply this code to EXTRA.css
However, if I change "donations" to "forums" (of course without "") it works, what should I do to make donations tab change color into yellow (bold)?
Thanks!
This addon already uses some hints and template modifications. I intentionally stayed with hooks for the node add/edit pages because it's cleaner matching, and it's hinted. I expect template hooks will be fully retired in XF 2.0 at which point I will obviously release an update. I suppose I could hint the controller and view extensions. I could really use this feature though: