Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Nothing is so often irretrievably missed as a daily opportunity. -- Ebner-Eschenbach


dovenet / Synchronet Discussion / Re: ecWebv4 Sidebar Toggle Button

SubjectAuthor
* ecWebv4 Sidebar Toggle ButtonMindless Automaton
`- ecWebv4 Sidebar Toggle ButtonMindless Automaton

1
ecWebv4 Sidebar Toggle Button

<64B6CD41.170.dove-syncdisc@eldritchclockwork.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1215&group=DOVE-Net.Synchronet_Discussion#1215

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: mindless.automaton@VERT/ELDRITCH (Mindless Automaton)
To: DOVE-Net.Synchronet_Discussion
Subject: ecWebv4 Sidebar Toggle Button
Message-ID: <64B6CD41.170.dove-syncdisc@eldritchclockwork.net>
Date: Tue, 18 Jul 2023 13:34:57 -0400
X-Comment-To: DOVE-Net.Synchronet_Discussion
Path: rocksolidbbs.com!not-for-mail
Organization: Eldritch Clockwork
Newsgroups: DOVE-Net.Synchronet_Discussion
X-FTN-PID: Synchronet 3.20a-Linux master/268893cc9 Jun 3 2023 GCC 11.3.0
X-FTN-MSGID: 50139.sync@1:103/705 291cd54a
X-FTN-CHRS: UTF-8 4
WhenImported: 20230718113527-0700 c1e0
WhenExported: 20230718141435-0700 c1e0
ExportedFrom: VERT sync 50139
WhenImported: 20230718133457-0400 c12c
WhenExported: 20230718143533-0400 c12c
ExportedFrom: ELDRITCH dove-syncdisc 170
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101Thunderbird/102.13.0
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
 by: Mindless Automaton - Tue, 18 Jul 2023 17:34 UTC

FYI, setting <!--NO_SIDEBAR:Home--> does not disable the Toggle Sidebar
button.

Thanks!

Mindless Automaton

---
� Synchronet � Eldritch Clockwork

Re: ecWebv4 Sidebar Toggle Button

<64B7EE0E.175.dove-syncdisc@eldritchclockwork.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1220&group=DOVE-Net.Synchronet_Discussion#1220

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: mindless.automaton@VERT/ELDRITCH (Mindless Automaton)
To: Mindless Automaton
Subject: Re: ecWebv4 Sidebar Toggle Button
Message-ID: <64B7EE0E.175.dove-syncdisc@eldritchclockwork.net>
Date: Wed, 19 Jul 2023 10:07:10 -0400
X-Comment-To: Mindless Automaton
Path: rocksolidbbs.com!not-for-mail
Organization: Eldritch Clockwork
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <64B6CD41.170.dove-syncdisc@eldritchclockwork.net>
References: <64B6CD41.170.dove-syncdisc@eldritchclockwork.net>
X-FTN-PID: Synchronet 3.20a-Linux master/268893cc9 Jun 3 2023 GCC 11.3.0
X-FTN-MSGID: 50145.sync@1:103/705 291e26d0
X-FTN-REPLY: 50139.sync@1:103/705 291cd54a
X-FTN-CHRS: UTF-8 4
WhenImported: 20230719113527-0700 c1e0
WhenExported: 20230719141432-0700 c1e0
ExportedFrom: VERT sync 50145
WhenImported: 20230719100710-0400 c12c
WhenExported: 20230719143533-0400 c12c
ExportedFrom: ELDRITCH dove-syncdisc 175
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101Thunderbird/102.13.0
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
 by: Mindless Automaton - Wed, 19 Jul 2023 14:07 UTC

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


dovenet / Synchronet Discussion / Re: ecWebv4 Sidebar Toggle Button

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor