• ecWebv4 Sidebar Toggle Button

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

    Thanks!

    Mindless Automaton

    ---
    þ Synchronet þ Eldritch Clockwork
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Wednesday, July 19, 2023 10:07:10
    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