Skip to main content

DIRECTUS COLLECTION: site_settings

  • Type: Singleton
  • Trang tương ứng: Global (Dùng chung cho toàn bộ Website)
  • Mục đích: Chứa toàn bộ thông tin cấu hình chung như Logo, Hotline, Email, Mạng xã hội, Địa chỉ và Google Maps embed.

1. Danh sách Fields (Trường dữ liệu)​

Field NameTypeInterfaceDirectus Note / Descriptioni18n
idInteger / UUIDPrimary KeyID duy nhấtKhông
site_nameStringInputTên Website (Yata Wellness)Không
logo_lightMany-to-OneImageLogo nền sáng (Media Library)Không
logo_darkMany-to-OneImageLogo nền tối (Media Library)Không
instagram_urlStringInputhttps://www.instagram.com/yatawellness.sanctuary/Không
whatsapp_numberStringInput+84784444182Không
whatsapp_urlStringInputhttps://wa.me/84784444182Không
zalo_numberStringInput0784444182Không
zalo_urlStringInputhttps://zalo.me/0784444182Không
contact_emailStringInputyatawellness.sanctuary@gmail.comKhông
address_textStringInputĐịa chỉ chi tiếtCó (Translation)
google_map_urlStringInputLink Google Maps (https://maps.app.goo.gl/j5Bfyd4cQRdAHmkm7)Không
translationsTranslationsDirectus TranslationsBảng chứa các trường đa ngôn ngữCó

2. Bảng Đa Ngôn Ngữ (site_settings_translations)​

Field NameTypeInterfaceDescription
idInteger / UUIDPrimary KeyID
site_settings_idForeign KeyRelationalLiên kết tới site_settings.id
languages_codeForeign KeyRelationalMã ngôn ngữ (en-US, vi-VN)
address_textStringInputĐịa chỉ chi tiết theo ngôn ngữ
footer_textTextText AreaGhi chú chân trang / Copyright text

3. Phân Quyền (Permissions)​

  • Public Role: Read
  • Admin Role: Full Control