Running Siteho
Looking after the shared library
The shared library every Siteho website starts from: website templates and the default one, public and marketplace forms, the icon library, styled elements, the studios' designs, and reviewing what people offer.
Website templates
- Siteho Templates
- Siteho's own website templates, browsed by the category tree, a search and an order, each with its category and how many websites were made from it. Make default (Default · clear) chooses the one new websites start from; the banner says New websites start from…. Preview; remove (websites made from it aren't affected).
- Bulk upload
- JSON files, one website template each (or a list of them); one with a name that exists replaces it. Each needs a name, a category and pages, and may name a subcategory; the system pages are added if missing. 20 go up at a time.
- Categories in a file
- category names a category and subcategory one of its subcategories, by name in any case (or by slug). A category or subcategory the library doesn't have yet is made, after the others; names are up to 150 characters.
- Public Templates
- Everyone's approved website templates in the marketplace, by category, search and order.
- Pending Approvals
- Requests from users: Approve puts that version live in the marketplace; Reject sends it back.
- Categories
- The tree galleries show beside the templates: categories with subcategories one level deep, each with its live templates counted. Add category, or the folder button for a subcategory; the arrows reorder; Edit renames it, changes its slug or moves it under another category (one with subcategories stays at the top). Delete moves its templates to the category you choose, a subcategory's own category to begin with; one with subcategories waits until they go.
In the app: Staff panel › Website templates
A website template file
A file holds name, category, subcategory, description and site. The site holds the theme and layouts (themeSettingsJsonb, globalCss, headerNodesJsonb, footerNodesJsonb and the screens), pages (with kind Collection, collectionFields, entries and formSource for a collection), pageGroups, overlays (with autoOpen), settings, forms (settings, elements and style), polls, and Siteho's userGroups, memberVariables, registrationFormId and maxActiveSessions.
Each part has an id the file makes up, and whatever points at a part uses that id: a form element's formId, a poll element's pollId, cards' and charts' collectionId, an action's overlayId, a link's pageId, a page's groupId, a user group's id as an audienceKey. Every website made from the file gets fresh ids, each pointing at its own copies.
Forms
- Public Forms
- Ready-made forms any website can show. Bulk Upload takes JSON: each needs a title, settings and at least one question; a title that exists replaces that form. Removing one stops websites showing it; their responses stay theirs.
- Marketplace
- Approved community forms.
- Pending Approvals
- Forms users offered to the marketplace: approve or reject.
- Styles for Review
- Form styles users offered to the marketplace (No styles waiting when there are none). Approve puts the style in the marketplace, where it can no longer be changed, even by its owner; Reject sends it back.
In the app: Staff panel › Forms
Vector SVGs
- Pending and Approved
- Icons users offered, and the library. Approving makes one available to every website, its drawing fixed.
- Bulk Upload
- .svg files or JSON, previewing up to 60.
- Add Universal SVG
- Name, Category, Provider and the SVG code. Staff can edit or delete any library SVG.
Universal Nodes: the styled elements
- Global Elements
- The Styled Elements every builder shows, by category; Add Node JSON or Bulk Upload. Removing one takes it out of every sidebar; websites using copies don't break.
- Pending Approvals
- Saved elements users offered: Inspect JSON Payload, then approve (it becomes a styled element) or reject.
- Categories
- The groups of the Styled Elements panel.
Default Nodes: the studios' designs
Every studio gallery (Button, Slider, Header, Theme presets, form styles, backgrounds and the rest) reads its designs from here, one type per gallery, with a count each. Open a type, then Add Node or Bulk Upload; a design with a name that exists in its type is updated. A type starts with a letter and uses only letters, digits, dots, dashes or underscores.
In the app: Staff panel › Default Nodes
Reviewing well
Ideas to try
- Preview a website template on a phone in dark mode before approving it.
- Reject icons with someone else's brand in them.
- Give each category a few subcategories rather than dozens of categories at the top: the tree stays short to scan.