docs
/
AI skills

Built-in pages — turn them off, replace them, or frame them in the site's design

Every page an Appmint site shows without the site drawing it (the Site Features pages, sign-in, My Account, checkout, order tracking, the 404 and the post preview), and for each one how to switch it off, how a page of the site's own takes its address, and exactly which page wraps it, screen by screen.

A built-in page is one the platform draws for the site: the Site Features pages (/blog, /store, /book, /form …), the sign-in, My Account, checkout and order pages, the 404 screen and the post preview. The site never stores their content. It only decides three things about each one: is it on, which address does it answer at, and which of the site's pages frames it.

This page covers those three jobs for every built-in page. Who owns an address in general (features, pages, fixed routes, the lookup order) is in How a site's addresses route; this page builds on it and does not repeat its tables. The root page (the header and footer around everything) is in Shared header and footer. Building an ordinary page is Build a website page.

"Tested" below means checked on a local site by rendering it in Chrome and reading which wrapper pieces appear, in order. Everything else is read from the code, with the file named.

The three kinds of built-in page

KindAddressesDrawn byCan be switched offCan a page of the site take its addressFramed by
Feature pages/blog, /store, /pay, /form, /book, /support, /services, /table, /gift-card, /community, /content-player, /unsubscribe, /rental, and their sub-paths; plus /join?promotion=…, /confirm-subscription?token=… and /__preview/post/…the site's page renderer (base-app app/[[...slug]]/page.tsx)Yes, in Site Features (except Unsubscribe, promotion sign-up and post preview)Yes, once the feature is off or movedroot + one template page: the page at the feature's address, else the page chosen for Forms, else account-layout, else nothing
Fixed routes/login, /register, /forgot-password, /reset-password, /login/error, /auth/…, /demo, /account, /account/<section>, /checkout, /checkout/success, /order/track, /order/<email>/<number>their own Next.js routes (app/(auth), app/account, app/checkout, app/order)No (checkout follows Storefront/Rental; account sections can be hidden)No. The route always winsone page: root, else the My Account layout page's parent, else that page itself
Not foundany address nothing answersapp/not-found.tsxNoNonothing: a fixed screen with the site's name, logo and description

The difference that trips people up: a feature page gets root and a template page around it (two layers). A fixed route gets one layer, and it is root whenever root is usable. The My Account layout page only frames the fixed routes on a site with no usable root.

Feature pages: which page frames the feature

The order the renderer decides in

For a URL a feature claims (how a feature claims one is in site-page-routing), base-app app/[[...slug]]/page.tsx 264–304 picks the frame like this. The first match wins.

#CaseFrameCode
1The URL has ?embed=true (or embed=1)None. The feature alone, for another site's iframe: no root, no template, no cart, search or audio buttons.page.tsx 271–273; components/embed/is-embed.ts; EmbedFrame.tsx
2Forms, at /form, and Site Features names a page for FormsThe chosen page, then account-layout if that page doesn't exist.page.tsx 289–292, 158–174
3A page record answers the URL and has something in itThat page.page.tsx 283, 293–294
4No page answers the URLaccount-layout, if the site has a page by that name.page.tsx 296–303; feature-template.ts 89
5No page, and no account-layoutNothing at all: not even root.page.tsx 173

Then the frame is drawn around the feature:

root          screens[0]   (header)
template      screens[0]
──────── the built-in feature ────────
template      screens[1]
root          screens[1]   (footer)

(build-studio/html-renderer.tsx 96–176: rootPage is outermost, parentPage inside it, the feature in the middle.)

Tested, all on one site with a two-screen root and an account-layout whose first screen is a spacer:

SetupWhat rendered, top to bottom
Storefront on, no page named store: /storeroot header → account-layout → catalog → root footer
Blog on, chosen page is a two-screen page: /<that page>root header → page screen 1 → blog → page screen 2 → root footer
Same, /blog404 (the address moved)
Blog as a bare name "blog", no page named blog: /blogroot header → account-layout → blog → root footer
Blog chosen page names a page that doesn't exist: /<that name>root header → account-layout → blog → root footer
/unsubscribe, /join?promotion=x, /__preview/post/x (no page at those addresses)root header → account-layout → the panel → root footer
/store?embed=true, /blog?embed=truethe feature only

What the template page's shape does

The same rules apply to a page at the feature's address, a page chosen for Forms, and account-layout (html-renderer.tsx extractWrapperFragments 50–75):

The template page hasWhat showsTested
Two screensscreen 1 above the feature, screen 2 belowyes
One screenthe whole screen above the feature, nothing below. A <footer> inside it stays above too.yes
Three or more screensscreens 1 and 2 only; screen 3 onward never showsyes
Screens and data.htmlthe screens; data.html is ignoredyes
Only data.html, no screensall of it above the featureyes
A parent of its ownthe parent is dropped. The template takes the parent slot, so only root and the template wrap the feature. (On a site with no root, the template's parent becomes the outer layer instead.)yes (page.tsx 171, 294)
Nothing in it (an empty stub)at the feature's own address: the feature bare, with no root header or footer. See the warning below.yes
The old data.content formatdrawn by the older renderer, same screen 1 / screen 2 convention (virtualdom-renderer.tsx 293–335)no

Only the body of each screen is drawn in place. A screen's <head> (its <style> and <link> tags) is put on the page too (html-renderer.tsx 124–163), and the template page's Page settings → Style (css, styleLinks, javascript, scriptLinks) is loaded with root's (app/[[...slug]]/layout.tsx 62–68, page-assets.ts 44–57).

The template page also decides the page's controls: its hiddenControls (cart, search, audio-player, chat) apply to the feature drawn inside it (page-client.tsx 27, 107–113), and its title is the browser title. With account-layout or no template, the title is the site's.

An empty page at a feature's address strips the header and footer. hasRenderableBody counts an empty page as having content when the site has a root (feature-template.ts 17), so the empty page is used as the frame, and an empty frame draws nothing, not even root. Tested: a page with no screens and no html, chosen for Blog, showed the blog with no header and no footer. The same empty page at an ordinary address is a blank 200, not a 404 (tested), although the comment at page.tsx 275–282 says it should be treated as missing. Give a template page two screens, or delete it.

A site with no page named account-layout shows its unframed features with no header or footer at all, because the fallback is that literal name (feature-template.ts 89) and the last resort is a bare page with no root (page.tsx 173). Sites made at sign-up or with POST /site/create-site are seeded with a page named base-layout as the My Account layout (appengine site.service.ts 375, 404–406), not account-layout, and sites made with Studio's New Site (POST /site/add) are seeded with no pages at all (site.service.ts 1697–1803), so a new site's /blog or /book has no header until someone adds an account-layout page or picks a page in Site Features. Not tested (the test site has one); read from the code.

Choosing the template

There are four ways a feature gets a template, and they are the same mechanism seen from different sides:

  1. Choose a page in Site Features (Site Config → Features → the feature's Choose page / Use my own page). For every feature except Forms this moves the feature to that page's address, and the page becomes its frame there. The old address is freed. Studio's picker says so: " takes over the body of the page you choose — the site's header and footer still wrap it" (websitemint site-features-section.tsx 414–416). It stores the page's name in the row's page.
  2. Forms is the exception. Choosing a page for Forms makes it the template without moving /form: /form keeps answering, wrapped in the chosen page, and the chosen page's address answers too (SchemaFormRoute.tsx 94–107, page.tsx 289–292). Tested: both drew the form inside the chosen page. A chosen page that doesn't exist falls back to account-layout (tested).
  3. A page at the feature's own address (e.g. a page named blog while Blog is on at /blog) becomes its frame. The page's own content never shows there. Tested in site-page-routing.
  4. account-layout frames every feature that has no page of its own.

So there is no separate "template" setting per feature. Either the feature lives at a page's address and that page frames it, or it borrows account-layout. To give one feature a different frame from the others, move it to its own page.

Promotion sign-up (/join?promotion=…, /confirm-subscription?token=…) borrows the store page as its frame while Storefront is on, else account-layout (feature-template.ts 62–67). If the store has been moved to a full content page such as products, that page's first screen is drawn above the sign-up panel.

When the engine switches a feature on by itself (ensureFeature, used today for the content player when a BusinessMade course goes live), it also makes the template: a page named after the feature, copied whole from the site's My Account layout page, and published if that layout is (appengine site.service.ts 1416–1480). That page then frames the feature.

Fixed routes: what frames sign-in, My Account, checkout and orders

/login, /register, /forgot-password, /reset-password, /login/error, /auth/…, /demo, every /account/…, /checkout, /checkout/success and every /order/… are drawn inside a single frame picked the same way by all four layouts (app/(auth)/layout.tsx 19, app/account/layout.tsx 28–31, app/checkout/layout.tsx 21–24, app/order/layout.tsx 21):

  1. The layout page. site.data.myAccount.layout is tried, then a page named account-layout. The first one that exists is the layout page (lib/resolve-layout-page.ts 31–66).
  2. The frame. From that layout page, the first usable of: the site's root, the layout page's parent, the layout page itself (lib/layout-template.ts selectLayoutTemplate 17–22).
  3. No layout page at all: root, read directly (components/layout/RootPage.tsx 122–131).
  4. Nothing usable: the screen with no header or footer.

Usable means: data.isRoot: true, or two or more screens, or one screen (or data.html) with no <main> or role="main" in it, or old data.content (layout-template.ts 4–15). A one-screen page that holds a <main> is a standalone page, and is skipped so a second app isn't drawn above the sign-in form.

How the frame is drawn (RootPage.tsx 44–77, 141–156):

The frame page hasWhat shows
Two screensscreen 1 above, screen 2 below
One screen (or only data.html) with a top-level <footer>everything before the first top-level <footer> above, the <footer> and the rest below
One screen with no top-level <footer>all of it above

That split at <footer> happens only on fixed routes. On feature pages and ordinary pages a one-screen frame is drawn whole above the content.

Tested on a site with a two-screen root and myAccount.layout: "account-layout":

AddressStatusWhat rendered
/login, /register, /forgot-password200root header → the form → root footer. No account-layout.
/account, /account/orders, /account/bogus (signed out)307 → /login?redirect=…as /login
/checkout, /checkout/success200 (Storefront on)root header → checkout → root footer
/order/track, /order/<email>/<number>200root header → order screen → root footer
a page with slug: "login" (name skilltest-…)—/login still drew the sign-in screen; the page answered only at its name

With a usable root, the My Account layout page does not frame the fixed routes. root is checked first, so /login, /account and /checkout get exactly root's header and footer, and nothing of the layout page's own screens (tested: no account-layout on any of them). The layout page only matters on a site whose root is missing or unusable. To change what these screens look like, change root, or style them from root's Page settings → Style.

Styling on fixed routes. The CSS and script loaded are the frame page's own Page settings → Style (top-level style.css, styleLinks, javascript, scriptLinks) plus the site's (resolve-layout-page.ts 56, page-assets.ts 44–60). A <style> in a screen's <head> is not loaded here: only the screens' bodies are drawn (RootPage.tsx 47–60). The layout page's own Style is not loaded either when root is the frame.

The look of the built-in forms is site.data.myAccount.preset: default, minimal, modern, elegant, dark or midnight (sdk models/site.ts 534–544). Sign-in, register and the account section all read it (app/(auth)/layout.tsx 17, 32–33; app/account/layout.tsx 23, 43; components/my-account/themes.ts 51–200). Studio does not offer it (its My Account card says "no presets are built", client-portal-drawer.tsx 12, which is out of date); set it with repo_update.

My Account sections. site.data.myAccount.features lists the sections shown. Empty means all. A section not in the list is gone from the menu and its address redirects to /account/overview; overview is always on; returns comes with orders, and store-credit with orders or gift-cards (components/my-account/links.ts 158–166, app/account/[slug]/page.tsx 84–85). The sections the code has are overview, addresses, reservations, tickets, orders, returns, shared-accounts, profile, projects, benefits, affiliates, events, forms, files, wishlists, gift-cards, store-credit, subscriptions, payments, messages, notifications, help, plus sites and stats, which are "Coming Soon" placeholders (app/account/[slug]/page.tsx 30–63). Any other /account/<x> is a 404 when signed in; signed out, every /account/… goes to /login first.

Studio's Sections list (Site Config → My Account) has no Gift cards entry (websitemint client-portal-drawer.tsx 30–49). Once any section is ticked there, /account/gift-cards redirects to the overview. Add "gift-cards" to myAccount.features with repo_update if the site sells gift cards.

The fixed routes keep the platform's default browser title, "Appmint | Revolutionize Your SME with AI-Driven Website Creation, Content" (app/layout.tsx 14). Tested on /login, /register, /checkout and /order/<email>/<number>; /order/track sets its own ("Track Order"). No site setting changes it.

The not-found page

Every 404 on a site with a known host draws SiteNotFound (app/not-found.tsx 9–17, app/[[...slug]]/site-not-found.tsx 13–80): the site's title in capitals, data.logo.url (as the logo and the picture), data.description, and a Go to Homepage button. It is sent with status 404.

  • No frame. Not root, not account-layout. Tested: a 404 on a site with a two-screen root showed none of it.
  • It can't be designed. No setting or page replaces it. A page named 404 or not-found is just a page at that address; the renderer never sends a missing URL there.
  • A page that fails to load (the API errored) shows the same screen with "PAGE DIDN'T LOAD" and Try again (app/[[...slug]]/error.tsx).
  • An unknown host shows the platform's own 404, not the site's.

Settings that shape the built-in store and account pages

These change what is drawn inside the frame. They live in Site Config (Studio /app/welcome → Site Config, websitemint site-config-form.tsx 100–112, 824–860), and are stored on the site record. Write them with repo_update on site, sending the whole storefront or myAccount object.

Site Config → Storefront (site.data.storefront)

Setting (Studio label)Field and valuesWhat it changes on the built-in storeCode
Regions this site servesbusinessLocations: names of business locationsWith one or more: a "Your store: … Change" picker above the catalog and every product page, saved in the storeLocation cookie; the catalog then lists only products sold in that location (sf_product.businessLocations) and prices and stocks them for it. Empty: no picker, no region filter. The engine caches a site's regions for 60 seconds.base-app StoreLocationPicker.tsx 44–70, StorefrontRoute.tsx 130, 153; appengine storefront.catalog.service.ts 37–38, 268–270, site-region.service.ts 22, 94–116
Templatetemplate: default, modern, boutique, nonenone switches the built-in store off at every address while the Storefront switch stays on (/store becomes a 404 or your page; /checkout still works). The other three draw the same store today: the style is passed in and ignored.StorefrontRoute.tsx 38, 60; storefront/index.ts 25–27
Quick viewquickView: none, dialog, drawer-left, drawer-rightThe quick-view button on each catalog card and what it opens. none hides the button. Unset: dialog. (The schema's default, left, isn't one of the values; the code ignores it.)StorefrontRoute.tsx 139; boutique/ProductCard.tsx 65–77, 190
Extra infoextraInfoDisplay: tab, accordion, post, noneHow a product's extraInfo sections show on its product page: extra tabs beside Description / Shipping / Returns, an accordion, stacked sections, or not at all. Unset: tab. Only products with extraInfo are affected.boutique/ProductDetail.tsx 250–262, 514, 530, 559
Filters (position)filtersPosition: none, top, left, right, drawer-left, drawer-right (older sites: filter)Where the catalog's filter panel sits; the drawer values put it behind a Filter button. Unset means no filters (the schema says left; the code uses none).StorefrontRoute.tsx 140; boutique/ProductList.tsx 39–40, 114–170
Filters (the list under it)filters: rows { source: price | category | brand | tags | rating | attribute, name, display: checkbox | select | radio | range-input | range-slider }Which filters the panel offers and how each is drawn. The engine sends the list with the catalog data, filling attribute rows from the matching sf_attribute. Shown only when a position other than none is set.appengine storefront.catalog.service.ts 41, repository.enrichment.service.ts 215–221; sdk models/site.ts 383–440
SearchshowSearchNothing. The catalog's search bar always shows.boutique/ProductList.tsx 74–77 (no read of the field)
CommentsshowCommentsfalse hides the Reviews block on product pages. Unset or true: shown.boutique/ProductDetail.tsx 632–637
ShareshowShareNothing. The share button on product pages always shows.boutique/ProductDetail.tsx 478–484

Catalog deep links take keyword, categories, tags, sort, sortType, maxItems, pageSize, datatype and random as query parameters (StorefrontRoute.tsx 144–147). The store's page itself is not set here: it is the Storefront row's page in Features (older sites: storefront.storePage).

Search and Share are switches in Studio that the store never reads. Turning them off changes nothing. Say so if the person asks for either.

Site Config → My Account (site.data.myAccount)

Setting (Studio label)FieldWhat it changesCode
Layout page (a dropdown of the site's pages, or "Built-in default layout")layout: a page nameThe first candidate for the fixed-route layout page, then account-layout. On a site with a usable root it changes nothing visible (see the important note above). "Built-in default layout" stores "", which leaves only account-layout. Also the page ensureFeature copies when the engine makes a feature page.client-portal-drawer.tsx 136–160; resolve-layout-page.ts 31–66; appengine site.service.ts 1468–1478
Sectionsfeatures: section names; none ticked = allThe menu in the account sidebar and which /account/<section> addresses open (others redirect to /account/overview).components/my-account/Layout.tsx 44–48; links.ts 158–166
(not in Studio)preset: default, minimal, modern, elegant, dark, midnightThe colours and type of the sign-in, register and account screens.(auth)/layout.tsx 17, 32–33; account/layout.tsx 23, 43

What each section shows (app/account/[slug]/page.tsx 30–63, components in components/my-account/). What each one lets the customer do, and what doesn't work yet, is in The customer account portal:

SectionAddressShows
overview/account/overview (and /account)Overview: the dashboard; always on
orders, returns/account/orders, /account/returnsOrders, Returns (returns come with orders)
subscriptions, payments/account/subscriptions, /account/paymentsSubscriptions, PaymentMethods; the pay link uses the Payment feature's page when it's on
gift-cards, store-credit/account/gift-cards, /account/store-creditGiftCards, StoreCredit (store credit comes with orders or gift cards)
wishlists, addresses, profilesame patternWishlist, AddressList, Profile
reservations, events, tickets, formssame patternReservations, Events, TicketsList, Forms
files, projects, shared-accountssame patternFiles, Projects, SharedAccounts
benefits, affiliatessame patternBenefits, Affiliates
messages, notifications, helpsame patternMessages, Notifications, HelpCenter
sites, statssame pattern"Coming Soon" placeholders

Screens or html: which one renders

The page is used asWith data.screens (non-empty)With only data.html
itself (an ordinary page)the active screen only (activeScreenId, else screens[0]); ?screen=<index, id or name> or ?screen=all for others (html-format.ts pickScreensToRender 147–175)all of it
a feature's templatescreens[0] above, screens[1] below; html ignoredall of it above
a fixed route's framescreens[0] above, screens[1] below; one screen splits at <footer>split at the first top-level <footer>
root or a parent of an ordinary pagescreens[0] above, screens[1] belowall of it above

data.screens always wins over data.html when both are there (tested). Build Studio writes html as a mirror of the active screen on every save, so edit the screens. For the shared root page and parent pages around ordinary pages, see Shared header and footer.

Every built-in page

Feature pages

"Off" is the Site Features switch: the bare name removed from site.data.features, or the row removed or set to enabled: false (see site-page-routing). Off, the address is an ordinary address again: a page with that name or slug answers, else 404.

Built-inAddress and sub-pathsQuery parameters it readsOff, the address showsTemplateCode
Blog/blog (list), /blog/<post>post, slug, category, tag, q, searcha page named blog, else 404 (tested)page at its address → account-layoutcomponents/blog/BlogRoute.tsx 27–61
Storefront (storefront / e-commerce)/store, /store/<product slug>, /store/checkout, /store/checkout/success, /store/order/<id>; an unknown slug shows the catalogcategories, tags, keyword, sort on the cataloga page named store, else 404. Also off: site.data.storefront.template: "none" while the switch stays onsamecomponents/storefront/StorefrontRoute.tsx 36–43, 56–135
Payment/pay, /pay/<reference>invoiceNumber, invoice, ref, t, token, order, id (first one found)a page named pay, else 404samecomponents/payment-complete/PaymentCompleteRoute.tsx 30–60
Forms/form, /form/<form name>; also the chosen pageform, collection, code, email, token, sign, mode=group/form 404 (tested); a page with data.formName is no longer a formchosen page → page at /form → account-layoutcomponents/schema-form/SchemaFormRoute.tsx 94–151
Reservations/bookdefinition or reservation (the booking type), manage (find a booking to change)a page named book, else 404page at its address → account-layoutcomponents/booking/BookingRoute.tsx 18–38
Support Tickets (ticket / ticket-support)/support, /support/new, /support/track, /support/<ticket number>ticket or number, emaila page named support, else 404samecomponents/ticket-support/TicketRoute.tsx 23–49
Service Menu/services— (heading from the template page's title, else site.data.serviceMenu.heading; intro from serviceMenu.intro)a page named services, else 404samecomponents/service-menu/ServiceMenuRoute.tsx 19–49
Tables/table, /table/<collection>collection, page, ps, sort, sortType (page size default site.data.tables.pageSize, else 25; only collections listed in site.data.tables.allow render; an unset list publishes none)a page named table, else 404samecomponents/data-table/DataTableRoute.tsx 21–82
Gift Cards/gift-cardcodea page named gift-card, else 404samecomponents/gift-card/GiftCardRoute.tsx 16–40
Community/communitypage, taba page named community, else 404samecomponents/community/CommunityRoute.tsx 17–47
Content Player/content-player (signed in: their programs), /content-player/<post>/<item>code (invitation), langa page named content-player, else 404samecomponents/content-player/ContentPlayerRoute.tsx 37–160
Rental/rental, /rental/<item slug or SKU>—a page named rental, else 404samecomponents/rental/RentalRoute.tsx 21–80
Unsubscribe/unsubscribestatus (ok / error), email, broadcast or b, s (the broadcast link's signature), promotion, t (the promotion link's token), reason. The form unsubscribes only with s or t from the emailed linkcan't be switched off: off, it still answers /unsubscribe (tested)page at its address → account-layoutcomponents/unsubscribe/UnsubscribeRoute.tsx 25–74
Promotion sign-up/join, /confirm-subscriptionpromotion (required on /join), token (required on /confirm-subscription), utm_source, utm_medium, utm_campaignno switch. Without its parameter the address is ordinary (/join alone: a page or 404)store page (Storefront on) → account-layoutcomponents/promotion-signup/PromotionSignupRoute.tsx 16–45
Post preview/__preview/post/<post slug or id>[/<page>]key (one-hour preview key from Content Studio), langno switch; answers on every siteaccount-layout (tested)components/content-player/ContentPlayerRoute.tsx 181–215

Every row above also takes ?embed=true to drop the frame. Moving a feature moves its sub-paths with it (/<page>/<post>, /<page>/checkout, …).

Fixed routes

Built-inAddressQuery parametersTurning it offTemplate
Sign in/login, /login/errorredirect (or callbackUrl, returnTo), email, error, expired, benefit, affiliateno switchthe fixed-route frame (root first)
Register/registerredirect (or callbackUrl, returnTo), email, benefit, affiliate. The extra fields asked come from Site Config → Sign-up (site.data.signupFields, which the engine turns into site.signupForm); see The site's sign-up formno switchsame
Forgot / reset password/forgot-password, /reset-passwordemail, error; reset needs token and email or redirects to /forgot-password?error=…no switchsame
Social sign-in/auth/facebook, /auth/facebook/callback, /auth/complete-login—no switchsame
Theme demo/demo (the six preset looks side by side)—no switchsame
My Account/account → /account/overview, /account/<section>—sections: myAccount.features (above); the account itself has no switchsame
Checkout/checkout, /checkout/success—redirects to / unless Storefront or Rental is on (app/checkout/page.tsx 22–25, success/page.tsx 18–22)same
Order tracking/order/track, /order/<email>/<number>—no switchsame
Not foundany unanswered address—nonone

Ask first

  • Which built-in page, by its address? /blog and /login work completely differently; get the exact URL.
  • Which site? Templates, root and account-layout are per site.
  • Off, replaced, or reframed? Off: the address becomes a 404 or one of their pages. Replaced: a page of theirs at that address, with the feature off. Reframed: the built-in content stays, inside their design.
  • For a replacement: which page, and does it exist? If it doesn't, it's Build a website page first.
  • For a frame: what goes above and below? The words, images and links. Use theirs; don't invent copy.
  • Is anything already linking there? Engine emails link to feature pages (form invitations, booking confirmations, invoices, gift cards). Turning a feature off or moving it changes where those land; see the features table in site-page-routing.

Steps

1. Site Config: read the site and its pages

repo_find on site, then repo_find_one by its id (a find result is partial). Note data.name, data.features (both shapes), data.myAccount (layout, features, preset), data.storefront.template and data.publishedPagesOnly.

Then find the pages that can frame the built-in page, with repo_find on page and { "data.site": "<site>", "data.name": { "$in": ["root", "account-layout", "<myAccount.layout>", "<the address>", "<the feature's chosen page>"] } }, and read each one with repo_find_one. For each, note how many screens it has, whether data.html is set, its parent, and whether it's empty.

Work out the current frame from the tables above before changing anything. Write it down as the stack ("root header → account-layout → blog → root footer").

Hands on: the site's id and its features list exactly as stored; the name and id of each page that frames, or could frame, the built-in page. Check: open the address on the site. The pieces you predicted are there, in that order. Studio: /app/welcome → Site Config → Features and My Account show the same settings.

2. Site Config: turn a built-in page off

Only when asked.

To switch offWriteThe address then
A feature pagethe features list without that name or row, or its row with enabled: false (keeps the chosen page for later)a page with that name, else 404
The built-in store only, keeping the Storefront switch onsite.data.storefront.template: "none" (Site Config → Storefront → Template)a page named store, else 404. /checkout keeps working: it needs only the switch.
A My Account sectionmyAccount.features listing the sections to keep (Site Config → My Account → Sections)redirect to /account/overview
CheckoutStorefront and Rental both offredirect to /
Sign-in, register, account, order pages, Unsubscribe, promotion sign-up, post preview, the 404can't be switched off—

Write features as the whole list, with repo_update on site (patch: { "features": [ … ] }) or POST /repository/update-partial/site/<id> with { "data.features": [ … ] }. The same goes for myAccount: send the whole object (patch: { "myAccount": { "layout": …, "features": […], "preset": … } }) so the other two keys stay.

Never send { "data": { … } } to update-partial. It replaces the whole data, and the site loses its name, home page and domains.

Stop: this changes the live site and where engine emails land. Tell the person what the address will show afterwards ("/blog will be a 404"; "/blog will show your blog page"), and wait for yes.

Hands on: the new features (or myAccount) as stored. Check: repo_find_one on the site shows the change and everything else unchanged. The address returns the status you predicted (curl -s -o /dev/null -w "%{http_code}" <url>).

3. Build Studio: put a page of the site's own at the address

A page only replaces a feature page when the feature isn't claiming the address. While the feature is on there, the page is only its frame and its content never shows. Two ways:

WayDoResult
Switch the feature off (step 2), then make the pagea page named (or slugged) like the address, e.g. blog/blog is the page. The built-in blog is gone from the site.
Move the feature, then make the pagein Site Features, choose another page for the feature (its row's page), then a page named like the old address/blog is the page; the built-in blog now lives at the other page's address, framed by it

Build the page as in Build a website page. If the page already exists, nothing more is needed once the feature lets go.

Fixed routes can't be replaced. They are their own routes, and a page with the same name or slug never shows there (tested with slug: "login"). What can be done instead:

  • Build the replacement at another address (e.g. /sign-in, /registration) and point the site's links there: root's menu, buttons, and the CRM form or automation behind it. A custom page can sign people in with appmint.customer.signIn, signUp, resetPassword in its Page settings JavaScript (base-app runtime/spec.ts 307–323). PhaZZer's 7-step registration is built this way: its own registration page, posting to a CRM form.
  • Know what still goes to the built-in screen: signed-out visits to /account/… redirect to /login?redirect=… (app/account/layout.tsx 17), the forgot-password email links to /reset-password (app/(auth)/forgot-password/page.tsx 50), content-player sign-in links go to /login?redirect=….
  • Reframe it instead (step 5).

Hands on: the page's name and the address it answers at. Check: the address shows the page (200) and not the built-in screen.

4. Build Studio: a template for a feature page

Make the frame as its own page with two screens. Screen 1 is drawn under root's header and above the feature; screen 2 below the feature and above root's footer. Don't repeat root's header or footer in it: they would show twice. No <main>, no <script>.

Create it with repo_create on page. This is the record tested (with the test's markers replaced by real markup):

{
  "name": "blog-frame",
  "slug": "blog-frame",
  "site": "<site name>",
  "appType": "web",
  "title": "Journal",
  "screens": [
    {
      "id": "top", "name": "Top", "slug": "top", "order": 0,
      "attributes": {}, "config": {},
      "html": "<!DOCTYPE html>\n<html lang=\"en\">\n<head><meta charset=\"utf-8\"><style>.bf-hero{padding:64px 24px;text-align:center}</style></head>\n<body>\n<section class=\"bf-hero\"><h1>Journal</h1><p>News and stories from the team.</p></section>\n</body>\n</html>"
    },
    {
      "id": "bottom", "name": "Bottom", "slug": "bottom", "order": 1,
      "attributes": {}, "config": {},
      "html": "<!DOCTYPE html>\n<html lang=\"en\">\n<head><meta charset=\"utf-8\"></head>\n<body>\n<section class=\"bf-cta\"><a href=\"/contact\">Talk to us</a></section>\n</body>\n</html>"
    }
  ],
  "activeScreenId": "top",
  "html": "<the same document as screens[0].html>"
}

Shared CSS for the frame goes in its Page settings → Style with page_write (css, styleLinks), or in the screen's <head> as above; both load on the feature's page.

Then make it the feature's frame, one of:

WantWrite
The feature at the frame's address (/blog-frame shows the blog; /blog is freed)the feature's row { "feature": "blog", "enabled": true, "page": "blog-frame" }, the rest of features unchanged. Studio: Site Config → Features → Blog → Choose page → blog-frame.
The feature at its default address, framedname the frame page like the address (blog) instead. Nothing to change in Site Features.
Forms at /form, framedthe Forms row { "feature": "forms", "enabled": true, "page": "blog-frame" }. /form stays; both addresses show the form inside the frame.
Every feature with no page of its owna page named account-layout in this shape (that name only). It also frames /unsubscribe, /join, /__preview/post/….

For a page that already exists and should stay a page, don't choose it: its content would stop showing. Make a frame page instead.

Stop: choosing a page moves a live address and changes what an existing page shows. Say which addresses change and wait for yes.

Hands on: the frame page's name and id; the feature's address now. Check: open the address. Expect: root header → frame screen 1 → the feature → frame screen 2 → root footer. Open the old address: 404 or the page with that name. In Build Studio (/app/build-studio, open the frame page) both screens are listed.

5. Site Config: the frame for sign-in, account, checkout and orders

These follow root (above). In order of preference:

  1. Change root for the header and footer every fixed route gets. Two screens, no <main>. See Shared header and footer.
  2. Style them from root's Page settings → Style. The fixed routes load root's top-level style and nothing from screen <head>s. Target the built-in markup by its route, e.g. scope rules to a class you set on root's header.
  3. Pick the form look with myAccount.preset (default, minimal, modern, elegant, dark, midnight). /demo shows all six.
  4. Pick the account sections with myAccount.features.
  5. myAccount.layout (Site Config → My Account → Layout page) only frames these screens on a site with no usable root. Then its parent is used if usable, else the layout page itself. Without a layout page found, root is read directly.

To give the fixed routes a frame different from the rest of the site, there is no setting: root is checked first everywhere.

Stop: root and myAccount are on every live page. Show the change and wait for yes.

Hands on: nothing new. Check: open /login, /register and /order/track (and /checkout on a site that sells): root's header and footer once each, styled, with the form between.

6. Check every built-in page you touched

For each address, in a browser (not a grep of the HTML), note the stack top to bottom and the status:

  • the feature's address, its old address if it moved, and one sub-path (/<blog>/<post>, /<store>/checkout);
  • /<address>?embed=true shows the feature alone;
  • /login and /checkout, if root or myAccount changed;
  • a made-up address: the site's 404 screen with status 404;
  • the site's other main pages once, to be sure none lost its address.

/__preview/page/<site>/<page name> shows any page (including a frame page) on its own, for staff.

When it's done

Tell the person, per built-in page: the address, what draws it, and the frame stack ("/journal — the blog, inside journal's two screens, under the site header"). If something was switched off or moved: what each affected address shows now and which emails link where. Open Site Config → Features and the address on the site.

What it can't do yet

  • No per-feature template setting. A feature is framed by the page at its address, or by account-layout. Forms is the only one with a chosen template at its default address.
  • The fixed routes can't be overridden, switched off, retitled or framed differently from root. Their browser title is the platform's default.
  • The 404 can't be designed and has no header or footer.
  • An empty page record breaks the frame: a blank 200 at an ordinary address, and a feature with no header at a feature address (tested). Delete stubs.
  • Only two screens of a frame are used, and a frame's own parent is ignored.
  • One-screen frames behave differently by route: whole above on feature pages, split at <footer> on fixed routes.
  • Sites created now get base-layout, not account-layout, so unframed features have no header until an account-layout page exists (code; not tested).
  • On a site with publishedPagesOnly: true, pages render without root or a parent. The engine attaches root and the parent only to records of type page, and a published copy is stored as type published (appengine repository.enrichment.service.ts 63, repository.crud.service.ts 1731). Tested: with publishedPagesOnly on, a published page renders without the root header (Publish, unpublish and restore a page).
  • On a site with root but no My Account layout page and no account-layout, the fixed routes draw root's header unstyled. The CSS is only loaded when a layout page is found (resolve-layout-page.ts 38–65), and the fallback reads root.data.style, where Build Studio never saves it (RootPage.tsx 127). Code; not tested.
  • myAccount.preset isn't in Studio, and Studio's Sections list misses Gift cards.

Don'ts

  • Don't put a page at a feature's address expecting it to replace the feature. While the feature is on, the page is only its frame.
  • Don't choose a real content page as a feature's page. Its content stops showing there; for Forms it also frames every /form.
  • Don't make a frame page with one screen, a <main>, or nothing in it.
  • Don't copy root's header or footer into a frame page or account-layout; it shows twice.
  • Don't expect myAccount.layout to change /login or /account on a site with a two-screen root.
  • Don't create a page named login, account, checkout or order to replace those screens. Use another address and change the links.
  • Don't try to fix a 404 by making a 404 page; it is never used.
  • Don't write features or myAccount as a partial list or object, and never data: { … } through update-partial.