Built on WIX Headless

文件 開始使用 新增集合

新增集合

在 CMS for Harmony 中建立 CMS 集合、管理欄位與權限,並為顯示元件準備內容。

集合是結構化內容存放的地方。欄位定義每個項目的形狀;權限控制誰可以編輯。同一後台可選擇設定 Dynamic pages 產生項目網址,或 Enable payments 啟用目錄結帳(Pro)。

建立並為集合建模

  1. 開啟 CMS for Harmony 後台。
  2. 建立集合並清楚命名(Team、Listings、Events)。
  3. 新增與你打算如何顯示內容相符的欄位——在集合列使用 Add field(含 Harmony 原生選擇器沒有的進階類型),或在 Enable payments 內使用 + Create new field…。
  4. 設定權限,讓編輯者與網站角色能存取所需內容。

你也可以從許多小工具的集合下拉選單直接建立新集合,不必離開 Editor。

影片教學

在 YouTube 觀看

Read permissions for displays {#read-permissions-for-displays}

顯示小工具會在正式網站載入集合項目。若 Read 比 Anyone 更嚴格,訪客可能看到空的表格、Repeater、日曆或項目頁,即使 CMS 裡已有項目。

當所連集合的 Read 受限時,Table、Repeater、Slideshow、Media Gallery、Calendar 與 Dynamic Page 會顯示:

  1. Settings → Content 的黃色提示(v17 Manual 的 Content 概覽列也有簡短警告)。
  2. 編輯器畫布上的小工具可關閉橫幅(正式網站不顯示)。
  3. Who can read — 不必離開小工具即可調整集合 Read 層級,或使用 Open collection permissions 開啟完整 CMS 權限矩陣。

公開列表請選 Anyone。若頁面本來就需要登入,僅會員或編輯者可 Read 也合理 — 提示有助及早發現設定不符。

這與小工具 Access(Pro)不同,後者在公開頁面上對會員或定價方案隱藏內容 — 見 Content access。

集合列可顯示 Dynamic 與 Payments 徽章。多數動作位於 ⋯ 溢位選單(Permissions、Enable payments/Edit catalog、Delete);Edit 與 Add field 留在列上。

進階欄位

Harmony 的原生欄位選擇器有限(Text、Rich text、URL、Email、Number、Boolean、Image、Date / Date and time / Time)。在此後台,Add field 可解鎖 Media Gallery、Video、Address、Color、Reference、Tags 等——請見進階欄位。

Enable payments

請見目錄付款。Enable payments(Pro)會將 Name 與 Price(以及選用的 Description、Image、Quantity)對應到 CMS 目錄,讓 Repeater、Table、Dynamic Page、Media Gallery 與 Slideshow 可以顯示 Add to cart/Buy now。

下一步

FAQ

Can I add field types Harmony’s native picker omits?

Yes. Use Add field on the collections dashboard for Media Gallery, Video, Address, Color, Reference, Tags, and more — see Advanced fields.

How do item pages work?

Prefer More actions → Add collection page, then place the Dynamic Page widget. See Dynamic pages.

Do displays need Anyone read permission?

Visitors only see items the collection allows. Display widgets warn when Read is not Anyone.