Repository navigation
Entries
An entry is one piece of content of a content type: a page, a post, a product. It holds a value per field, and one per language for translatable fields.
Choose a content type in the site's column to see its entries: the current ones, the published ones, the archive and the bin. Write a new entry opens a form made from the type's fields. For fields that differ by language, switch the language at the top; languages that still miss a required value are marked. Formatted text has a preview. Links to other entries are chosen from a list, blocks are added, moved and removed as cards. Save draft keeps your changes for later, Save and publish makes them what visitors read; a short "why" is shown in the history. Problems found when saving are shown at the field they belong to.
Each entry has a History: every version with who made it (a person, or a person through an AI program), when and why; any two versions compared, texts line by line; and Go back to this version.
Every entry has a draft and, once published, a published version. Changes go into the draft; visitors keep reading the published version until the entry is published again. An entry is:
| Status | Meaning |
|---|---|
| draft | never published, or taken offline |
| published | published, and the draft has no other changes |
| changed | published, and the draft has changes that are not published yet |
| archived | put away: offline and left out of lists, but kept |
| deleted | in the bin, for 30 days |
A draft may be incomplete. Publishing needs every required field filled in the site's default language; other languages may be left out.
Each entry has a short name used in addresses, unique within its content type. When none is given, OwnCMS makes one from the title (the first text field), e.g. "Grüße aus Köln" becomes gruesse-aus-koeln; a second one with the same title gets -2.
A change names only the fields it changes. For a translatable field, the languages given replace those languages and the others stay. A value of null removes a field or a language. Two people (or programs) changing the same entry at once cannot overwrite each other: the second change is refused and asks to load the entry again.
References to other entries must point to entries of the same site, of the content types the field allows.
Every change can carry a reason in one sentence; AI programs must give one. The activity log shows it next to the change.
Every change of an entry is kept as a revision: its values, its short name and whether it was published, with what was done, who did it (a person, or a person through an AI program), when and why. Creating, changing, publishing, taking offline, archiving, deleting, restoring and fitting an entry to a changed content type all leave one.
- Compare any two revisions: field by field and language by language; texts are compared line by line.
- Go back to an earlier revision: its values become the draft again, as a new revision, so going back can be undone too. Visitors see it only after publishing. Values that no longer fit the content type are left out and named in the reason.
A site keeps all revisions unless its settings say to keep only the newest ones of each entry (2 to 10 000); older ones go with the next change of the entry.
Deleting moves an entry to the bin; while it is there visitors cannot read it, and restoring brings it back as it was, published or not. From there it can be restored as it was for 30 days, unless another entry took its short name meanwhile. After that it is removed for good.
Adding fields never touches entries. A change that would remove values (a field removed, a different kind, a choice no longer offered, a language the site no longer has) says how many entries it affects and which values, and is only made after a confirmation. Archived and deleted entries are fitted too, so nothing breaks when they come back.
Administrators and editors who work on a site write, publish, archive and delete its entries; access tokens with access "read" only read.
OwnCMS: https://github.com/ownlabs-dev/owncms. This wiki is generated from the wiki/ folder in the repository; edit the files there, not in the wiki.
OwnCMS
Using it
- Getting Started
- Sites
- Content types
- Entries
- Media
- Reading content
- People
- Two-factor sign-in
- AI programs
Running it
Background