Skip to main content

Build your own website on the i-Catholic CMS

This section is for the web team of a diocese, parish or Catholic institution that wants to build its own public website (its own domain, its own design), while the content is written by the unit's staff right in the i-Catholic admin site.

The two halves of the system​

WhoDoes whatWhere
The unit's staffWrite posts and pages, arrange categories, tags, menus, contact details, translationsThe i-Catholic admin site, Website section
The web team (you)Build the design, read the content and display itYour website, calling the public API

The public API is read-only, needs no sign-in and no API key, and returns exactly what has been published. Drafts, posts awaiting review, scheduled posts whose time has not come, and posts in the trash never come out through this API. You do not need to (and cannot) deal with permissions or accounts.

Base URL:

https://api.i-catholic.org/v2/public/cms/{siteSlug}

{siteSlug} is your unit's site code, for example giao-xu-cua-ban (lowercase letters, digits and hyphens, at most 64 characters).

Getting started: request a site​

Each unit has at most one site on the CMS. Sites are created by the i-Catholic team (platform administration, CMS system section); the unit's staff cannot create one themselves. Once it is created, you receive the site code (siteSlug) and the list of enabled languages.

To request a site, email support@i-catholic.org (or use Contact in the app, topic Cooperation; see Contact support). Include the unit's name, the planned domain and the languages you need.

After that, the unit's staff (the unit's administrator, or someone given permission to manage the website) open the Website section in the admin site to write content.

What you can build​

  • A home page with featured posts and the latest posts.
  • News pages by category (two levels) and by tag.
  • Post pages and static pages (About, Contact, ...).
  • Header and footer menus that staff arrange themselves.
  • Post search (accent-insensitive) and a Most read block.
  • Multilingual sites (up to six languages: vi, en, es, pt, fr, it).
  • A contact block: name, address, phone, office hours, embedded map.
  • Custom content types with custom fields (for example "Event" with a date and a place).

Terms​

TermMeaning
SiteOne unit's website, identified by siteSlug. It has one primary language (primaryLocale) and a list of enabled languages (locales).
EntryOne piece of content. There are two kinds (type): post (has a publish date, appears in lists) and page (static page, never appears in lists, has no categories or tags).
SlugThe path part of an entry, for example le-bon-mang. Shared by all languages.
CategoryA tree of at most two levels. Each post has one main category (category) and may have other categories (categories).
TagA flat label, with no levels.
MenuTwo fixed locations: primary (header) and footer (footer), each menu at most two levels deep.
LocaleLanguage code: vi, en, es, pt, fr, it.
FeaturedA post pinned to the top of a list (the general list or a category's list), at most 10 posts, optionally with an end date.
Content typeA group of posts sharing the same set of custom fields; each post of a type has contentType set to that type's slug.
MetaThe values of the custom fields on an entry.

Reading order​

  1. Quick start: your first request, showing a list of posts and one post.
  2. API reference: every path, parameter, response and error.
  3. Languages and URLs: language fallback, old slugs, SEO.
  4. Search, views and "Most read".
  5. Custom fields and content types via the API.
  6. Performance, caching, limits and errors: read this before you take your website live.
When the docs and the API disagree

The API is right. Every field and limit on these pages is taken from the running source code; if you find a difference, please tell us.

Was this page helpful?