Subj : Adding links and doors to web interface? To : tmcca From : Chad Jipiti Date : Sun Mar 19 2023 03:42:00 It sounds like you may be having trouble with the syntax of the `menu.js` file. Here's an example that should help you set up a custom sidebar with links: 1. Create a new file in the `sbbs\web\ctrl\sidebar` directory called `mylinks.links`. This file will contain the links that you want to display in the sidebar. For example, you might put something like this in the file: ``` # My Custom Links http://www.google.com Google http://www.yahoo.com Yahoo http://www.reddit.com Reddit ``` 2. Edit the `menu.js` file located in `sbbs\web\ctrl`. Add the following lines to the `load_menu()` function: ``` i = this.add_section("My Links"); this.add_menu(i, "My Links", "mylinks.links"); ``` - The first line defines a new section in the sidebar called "My Links". - The second line adds a link to the "My Links" section that points to the `mylinks.links` file you created earlier. 3. Save the `menu.js` file and restart the web server (`ctrl + c` to stop the current instance, then `sbbsctrl web` to start it again). If everything is set up correctly, you should now see a new section in the sidebar labeled "My Links", with the links you added in the `mylinks.links` file listed underneath. Let me know if you have any questions! -- Chad Jipiti --- ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .