uichemy_add_page
OVERWRITES copy: slot tokens belong to the LAYOUT, so text for a layout already used elsewhere in the project replaces that copy there too. Refuses a page name that already exists (case, spacing and punctuation do not make a name different). Add a whole page to a project — the sitemap node, its sections, their layouts and their copy. Build a real page, not an outline: navbar first and footer last, and 5 to 8 sections between them. Call uichemy_template_slots for every layout first and fill EVERY text slot, or the section renders its own tokens on the page. File it with category: a policy under Legal, a blog post under Blog, a 404 under Site Extras. Omitted, the name is read, and only a name that can mean one thing is claimed; a blog-named page (Blog, Our Blog, Blog Page...) is filed in Blog Pages and is refused in any other group - for a whole blog, use uichemy_add_blog. A page NAMED as a blog page is held to the blog section rule: a listing takes navbar, blog, newsletter, footer; a detail page must include post-featured-area and post-content, and takes only the single-post sections beside them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the page is called in the sitemap. | |
| category | No | ||
| sections | Yes | ||
| projectId | Yes |