XF 2.0 Navigation sidebar/widget?

Cannabis Ape

Active member
I saw this on a 1x forum but is this possible for XF2?

So a widget that shows all nodes, would really be great.

Cheers.
 
And is that widget complicated? :D

No I mean it was literally basic html + css:

HTML widget:
Code:
<ul class="widget-nodelist"><li><a href="#">Node #1</a></li><li><a href="#">Node #2</a></li><li><a href="#">Node #3</a></li></ul>

CSS in extra.less:

Code:
.widget-nodelist
{
    .m-listPlain();
    a
    {
        display: block;
        padding: 5px 0;
    }
    li
    {
        border-bottom: 1px solid @xf-borderColor;
        &:last-child { border-bottom-width: 0; }
    }
}

Result:
Screenshot_15.webp

Obviously a plugin with permission check would be nice but this is pretty easy to configure on your own.
 
No I mean it was literally basic html + css:

HTML widget:
Code:
<ul class="widget-nodelist"><li><a href="#">Node #1</a></li><li><a href="#">Node #2</a></li><li><a href="#">Node #3</a></li></ul>

CSS in extra.less:

Code:
.widget-nodelist
{
    .m-listPlain();
    a
    {
        display: block;
        padding: 5px 0;
    }
    li
    {
        border-bottom: 1px solid @xf-borderColor;
        &:last-child { border-bottom-width: 0; }
    }
}

Result:
View attachment 181346

Obviously a plugin with permission check would be nice but this is pretty easy to configure on your own.
Unless you are me :P

@SyTry I have a theme of this guy.
 
Back
Top Bottom