• ecWebv4 Sidebar Toggle Button

    From Mindless Automaton@ELDRITCH to DOVE-Net.Synchronet_Discussion on Tue Jul 18 13:34:57 2023
    FYI, setting <!--NO_SIDEBAR:Home--> does not disable the Toggle Sidebar button.

    Thanks!

    Mindless Automaton

    ---
    ■ Synchronet ■ Eldritch Clockwork
  • From Mindless Automaton@ELDRITCH to Mindless Automaton on Wed Jul 19 10:07:10 2023
    On 7/18/2023 1:34 PM, Mindless Automaton wrote:
    FYI, setting <!--NO_SIDEBAR:Home--> does not disable the Toggle Sidebar button.

    Thanks!

    Mindless Automaton

    In index.xjs I just wrapped the code for the button in

    <? if (!(settings.layout_sidebar_off || page_ctrl.options.no_sidebar)) {?> --->button html here<---
    <? } ?>

    and that seems to have fixed my issue. Of course it would only affect
    someone who was doing weird things to begin with. :)

    Thanks!
    Mindless Automaton

    ---
    ■ Synchronet ■ Eldritch Clockwork