Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
custom:ssjs_template [2021/01/27 20:48] – created ecbbs | custom:ssjs_template [2021/02/19 10:03] – [The SSJS Template Scheme] mortifis | ||
---|---|---|---|
Line 68: | Line 68: | ||
each of the special codes contained in those files do will follow. | each of the special codes contained in those files do will follow. | ||
- | === Footer | + | === Fооter |
| | ||
../ | ../ | ||
Line 78: | Line 78: | ||
be displayed at the bottom of each page. | be displayed at the bottom of each page. | ||
+ | === Custom .inc === | ||
+ | To Add a custom link to the left side navigation list **using the nightshade theme** edit '' | ||
+ | and add the link to the list. \\ | ||
+ | note: the link expects an html tag "< | ||
+ | |||
+ | <code left_nav> | ||
+ | template.leftnav.push({html: | ||
+ | </ | ||
+ | |||
+ | Here we added the link BBS Links to the left side navigation that points to bbses.ssjs. | ||
+ | Now create the script called '' | ||
+ | |||
+ | <code bbs> | ||
+ | load(" | ||
+ | |||
+ | template.title= system.name + " - BBS Connect"; | ||
+ | |||
+ | template.whatever = "< | ||
+ | |||
+ | var sub = ''; | ||
+ | |||
+ | /* below values are set in ../ | ||
+ | if(do_header) | ||
+ | write_template(" | ||
+ | if(do_topnav) | ||
+ | load(topnav_html); | ||
+ | if(do_leftnav) | ||
+ | load(leftnav_html); | ||
+ | |||
+ | if(do_rightnav) | ||
+ | write_template(" | ||
+ | |||
+ | write_template(" | ||
+ | |||
+ | if(do_footer) | ||
+ | write_template(" | ||
+ | </ | ||
+ | |||
+ | Now you need a corresponding ../ | ||
+ | |||
+ | <code inc> | ||
+ | <!-- $Id: bbses.inc,v 0.1 2021/02/18 02:19:55 lamer Exp $ --> | ||
+ | |||
+ | <!-- Begin BBS Connect Content --> | ||
+ | |||
+ | @@whatever@@ | ||
+ | |||
+ | <!-- End Main Content --> | ||
+ | </ | ||
==== SSJS Theme Support ==== | ==== SSJS Theme Support ==== | ||