解決 Drupal 9 Media 列表縮略圖無法生成問題 Jun 24, 2022 2 min read drupal If you use AWS S3 to store files, you may try refreshing file metadata cache in S3 File System settings to resolve the Drupal 9 "source image not found while attempting to produce derivative image" error.
Google Universal Analytics 遷移至 Google Analytics 4(GA4) May 31, 2022 2 min read Web Analytics 如果你在從UA遷移到GA4時遇到困難,不要擔心,這篇文章將幫助你完成遷移過程。只要遵循文中這些步驟,就可以獲得谷歌分析GA4的無縫過渡。
Drupal 9 Views 分頁器設置首頁顯示不同的條目個數 May 27, 2022 1 min read drupal 本文示例了如何在Drupal9 Views中設置分頁首頁的顯示的條目,如在Views中設置Items to display 為 12,那麼首頁顯示11個條目,但其餘分頁顯示12個條目。
Cross-Origin Resource Sharing (CORS) 跨來源資源共用錯誤解決方法 May 20, 2022 3 min read web develop 解決AWS S3上svg圖片的XMLHttpRequest 和React Fetch 自定義Header違反同源政策(same-origin policy)HTTP請求被瀏覽器阻擋問題。
Drupal 9 多語言站點解決 Paragraphs 字段在custom block 中I18翻譯無法正確顯示問題 Apr 8, 2022 1 min read drupal Drupal 9 多語言站點啟用 Paragraphs 模組 [https://www.drupal.org/project/paragraphs],如果在 custom block [https://www.drupal.org/docs/core-modules-and-themes/core-modules/block-module/managing-blocks] 中使用了 paragraphs 類型的字段 ,會遇到字段內文字的翻譯無法顯示問題。該 paragraphs 字段的內容始終加載的是 default 的語言內容(通常是英文)