FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: echicken
To: poindexter FORTRAN
Date: 2019-03-14 10:40:14
Subject: Changes to echicken/synchronet-web-v4

  Re: Changes to echicken/synchronet-web-v4
  By: poindexter FORTRAN to echicken on Wed Mar 13 2019 20:09:53

 PF> When I update ecwebv4 from Github, and try to hit the main page 
 PF> I'm getting an error in index.xjs.ssjs line 75, page_ctrl is undefined.

Check your web/pages/000-home.xjs file (or webv4/pages/000-home.xjs, can't
remember where it normally is) and see if it has a line like this near the top:

<!--Home-->

The first *comment* line in an HTML, XJS, or SSJS Page is the "control
line",
which includes the title and a few optional settings:

https://github.com/echicken/synchronet-web-v4/wiki/Customization#pages

Problems will occur if the control line is missing, although that's not great
and I should do something about it.

It's also possible that I've broken some part of this in the recent changes,
but I'm not sure how.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
  Synchronet  electronic chicken bbs - bbs.electronicchicken.com
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/848
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>