Skip to content

3.6.9

Choose a tag to compare

@joeworkman joeworkman released this 11 Nov 05:10
· 59 commits to master since this release
3.6.9
0d9e8d3

Added

  • Demo mode puts a site online as a read-only showroom. Set 'demo' => ['enable' => true] in config/tcms.php and anyone can open the admin without signing in and look at everything, with a banner on every page. Save, Delete, uploads, imports and every other change answer "This site is in demo mode, so saving is disabled", and the site's own forms and the MCP server are refused the same way. The Log Analyzer is hidden, since the logs hold visitors' IP addresses. Use it to show a starter before people install it. See Demo Mode
  • A public form can let the visitor's browser fill it in. Fields still turn autofill off by default, which keeps the admin from filling a record with the editor's own details. Give a field an autocomplete attribute, such as {settings: {attributes: {autocomplete: 'tel'}}}, and it now replaces that default, so a booking or contact form fills the visitor's name, phone, email and address. See Autofill on a Public Form in the Form Builder docs
  • Total CMS's own messages follow the language a page was rendered in. A form on a Spanish page now gets its refusals and errors in Spanish, such as demo mode's "saving is disabled", even for a visitor who isn't signed in. This covers the form's own messages ("Please fix validation errors before saving", upload errors) and the security refusals (a failed CSRF check, "Too many requests"). Total CMS ships German, Spanish, Italian, Dutch, Polish and British English as well as American English. A signed-in user's own language still wins in the admin. cms.locale.set() sets that language too: a page that calls {{ cms.locale.set('es') }} shows Spanish form messages and errors as well as Spanish dates and numbers, for that request only. An API client gets the same by sending an X-Locale header, such as X-Locale: es. See Locale
  • tcms mcp:local-key makes an admin key for AI tools on a Total CMS Studio site. Claude Code, Cursor or VS Code working on the local copy get full access through the MCP server. The key works only on a server that accepts local-only keys, as Studio's does, and only from that computer, so it doesn't work on the live site after an upload or through a share link. Running it again replaces the earlier key. Studio's Connect AI tools uses it. See mcp:local-key in the CLI docs
  • An id field can make a new value when a toggle turns on. Set regenerateOn to another field in the form, usually a toggle, and each time it's switched on the field gets a fresh value from its autogen pattern. A value someone typed over is kept. The IndexNow key uses it. See Regenerate When a Toggle Turns On in the ID field docs

Changed

  • The built-in starters have a look of their own. Minimal is warm and soft, Blog reads like a magazine, Business is navy with bright accents, and Portfolio is a dark gallery. Each one installs with pictures: photos on the blog posts and the portfolio projects, and shapes in the starter's colors on Minimal and Business. Portfolio's projects now live in a projects collection, and Business's home page and Services page read from its services collection, so you edit them in the admin instead of the templates. The colors are CSS variables at the top of each starter's style.css. Sites already built from a starter don't change
  • imageShapes draws in your colors. Give the background color as a palette, colors joined with |, such as imageShapes(1280,720,f3e7dc|e07a5f|3d405b): the first color fills the background and the shapes use the rest. A single color still draws gray shapes. See Factory
  • IndexNow gets a new key each time it's turned on. A site copied from another, such as one built from a starter, no longer submits under the other site's key. The new key shows as soon as you flip the switch, and every other save keeps the stored key
  • tcms starter:export turns IndexNow off and leaves out its key. A site built from the starter makes its own key when its owner turns IndexNow on

Fixed

  • A starter's pages appear in the nav in the order the starter lists them. The Business starter's nav came out as Services, Contact, About, Home
  • The starters' Getting Started links open the right docs pages. They pointed at paths the docs had since moved away from
  • A quick share link no longer becomes the site's address for the CLI. One visit through a Total CMS Studio share link on trycloudflare.com made tcms run as that address, which stops working when sharing stops. Quick-link addresses are now ignored, and a custom share domain is remembered as before