It can be done by editing core files. Ragtek is making an add-on and it should be released soon, with some hope.So I take it that the answer to my question in post #63 is that it "currently" can't be done?
It can be done by editing core files. Ragtek is making an add-on and it should be released soon, with some hope.
No.so its not a free mod...you have to pay for it 10 euro...is that correct?
IMHO that's tricky BUT POSSIBLE.What if I'd want to create a new tab that basically contains links to a whole bunch of add-on tabs (Instead of showing the individual tabs, I'd prefer merging them all under a single "tools" tab, to save space on my navigation bar).
At this moment, I have done it manually in the navigation template. However, that gives me two issues:
1) When the tab is selected, it shows on the forums home page.
2) The tabs from the add-ons were created with linkstemplates. In other words, when clicking the tab itself (say, lnblogs), a template is loaded showing additional links below the navigation bar. By using the manual process, I loose these links.
Would I be able to write my own tab, and somehow manage to ensure I do not loose functionality from the combined navtabs?
Thanks.
IMHO that's tricky BUT POSSIBLE.
You would need to create an event listener at the navigation_tabs event and give it a VERY HIGH execution order to be sure that this code RUNS AS THE LAST!
This code should unset all the positions (or the tabs) and store it in an other "global variable".
As next you would need to create a second plugin, which gets the extratabs, builds a own tab and includes them into this.
BUT
you woun't be able to set the router for this (so you'll have no selected tab on 3rd party pages, if you don't hack around with the router, that's something i'm doing in my page tabs add-on )
and there's a second problem: you won't be able to get the second menu template (View attachment 15182 ) from the 3rd party tabs
Yea, it's trickybut failed to get things to properly work. Shame, but oh well.
There is an example in this tutErm, not to be a troll but I'm new to all this and I have no idea what a classfile or a code event listener is and how to create them. Can you please tell me in a noob-friendly way?
Did you even read the above? It tell you all about classesHow do I create a classfile? Help. A video tutorial would do awesome.
Your class file depends on your class name.How do I create a classfile? Help. A video tutorial would do awesome.
We use essential cookies to make this site work, and optional cookies to enhance your experience.