Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
基礎から実践まで!スタジオ・ウミと学ぶDrupalテーマ開発 / Theming Drupal
Search
アクイアジャパン Acquia Japan
December 09, 2020
Programming
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
基礎から実践まで!スタジオ・ウミと学ぶDrupalテーマ開発 / Theming Drupal
https://www.acquia.com/jp/resources/webinars/acquia-devchannel-vol17
アクイアジャパン Acquia Japan
December 09, 2020
Transcript
19 slides
جૅ͔Β࣮ફ·Ͱʂ ελδΦɾϛͱֶͿ DrupalςʔϚ։ൃ DrupalͷςʔϚʹ͍ͭͯ ςʔϚ։ൃͷجຊࣝ ελδΦɾϛͰͷςʔϚ։ൃͷํ๏ Q&A
ʰͰͿͪΌΜͶΔʱͱʁ ΞΫΠΞδϟύϯ͕͓ಧ͚͢ΔʰͰͿͪΌΜͶΔʱͰ ɺΤϯδχΞͷΈͳ͞·͕ٳܜ͠ͳ͕Βฉ͚ΔΑ͏ ͳɺΧδϡΞϧͳܗࣜͰςΫχΧϧใΛൃ৴͢Δ։ ൃऀ͚ΣϏφʔͰ͢ɻִिਫ༵ίʔώʔยख ʹ͝ΏΔΓͱ͝ࢹௌ͍ͩ͘͞ɻ ϋογϡλά #AcquiaJP ͰײͳͲᄁ͍͍͚ͯͨͩΔ ͱخ͍͠Ͱ͢ʂ
ຊͷεϐʔΧʔ ΞΫΠΞδϟύϯ ؛ढ़ฌ ιϦϡʔγϣϯΤϯδχΞ ΞΫΠΞδϟύϯ ؙࢁͻ͔Δ ςΫχΧϧτϥϯεϨʔλʔ ͰͿͪΌΜͶΔ ελδΦɾϛ ٱอాޫل
DrupalΤϯδχΞ
ήετͷ͝հɿٱอాޫلʢ͘΅ͨ ͜͏͖ʣ • 1990ੜ·Ε 30ࡀ • ελδΦɾϛʢ2017ೖࣾʣ • Drupalྺ 3
• ϝΠϯϑϩϯτΤϯυ • झຯϚϥιϯɺѪݘͱͷࢄา
ελδΦɾϛ DrupalҰے 15 Drupalઐͷ։ൃձࣾͰ͢ https://www.studio-umi.jp/
DrupalͷςʔϚػೳ ʹ͍ͭͯ
Drupalͷςʔϛϯά ςʔϚͱɿ αΠτͷݟͨΛఆٛ͢Δ ϑΝΠϧͷू߹ମ https://www.drupal.org/docs/theming-drupal
DrupalͷςʔϚͷछྨ͍Ζ͍Ζ ίϯτϦϏϡʔτςʔϚ l DrupalίϛϡχςΟʹد༩͞ΕͨແྉͷςʔϚ ex) https://www.drupal.org/project/business_responsive_theme ΧελϜςʔϚ l θϩ͔Βɺ͋Δ͍αϒςʔϚͳͲΛϕʔεʹ࡞Δ αϒςʔϚ
l ࣗͰΧελϚΠζ֦ͯ͠ுͰ͖ΔΑ͏ʹઃܭ͞Ε͍ͯΔ ex) https://www.drupal.org/project/bootstrap ίΞςʔϚ l DrupalͷίΞʹؚ·Ε͍ͯΔςʔϚ ex) ClassyɺBartikɺSevenɺStableɺStark
ςʔϚ։ൃͷ͖΄Μ
ςʔϚͷσΟϨΫτϦߏ themes !"" contrib # !"" bfd # $"" business_responsive_theme
$"" custom !"" marucha_bootstrap $"" marucha_custom themesͷσΟϨΫτϦߏ ίϯτϦϏϡʔτςʔϚ ΧελϜςʔϚ
ΧελϜςʔϚΛ։ൃ͢Δεςοϓ - ઃఆϑΝΠϧʢ.info.ymlʣͷՃ - CSS/JSϑΝΠϧͷՃ - ςϯϓϨʔτϑΝΠϧͷՃ
ςʔϚͷઃఆϑΝΠϧͱʁ name: Marucha Custom type: theme description: '·ΔͷͨΊͷΧελϜςʔϚ' core_version_requirement: ^8
|| ^9 base theme: classy marucha_custom.info.yml .info.ymlɿ ςʔϚͷجຊใΛDrupalଆʹ͑ΔͨΊͷઃఆϑΝΠϧ ཧը໘Ͱ͜Μͳײ͡ʹදࣔ͞Ε·͢ marucha_custom $"" marucha_custom.info.yml σΟϨΫτϦߏ
ϕʔεςʔϚͱ base themeͰࢦఆ͞Εͨ ςʔϚͷϦιʔεΛܧঝ͢Δ ʢDrupal 9ͰඞਢɺDrupal 8ͰΦϓγϣϯʣ name: Marucha Custom
type: theme description: '·ΔͷͨΊͷΧελϜςʔϚ' core_version_requirement: ^8 || ^9 base theme: classy marucha_custom.info.yml
CSS/JSϑΝΠϧͷՃํ๏ marucha_custom !"" css # $"" styles.css !"" js #
$"" script.js !"" marucha_custom.info.yml $""marucha_custom.libraries.yml σΟϨΫτϦߏ global-styling: version: 1.x css: theme: css/styles.css: {} global-scripts: version: 1.x js: js/script.js: {} marucha_custom.libraries.yml .libraries.ymlɿ ςʔϚ͕Πϯετʔϧ͞ΕͨࡍʹΞηοτϑΝΠϧ܈Λ Drupal͕ಡΈࠐΊΔΑ͏ʹ͢ΔͨΊͷઃఆϑΝΠϧ
CSS/JSϑΝΠϧͷՃํ๏ ᶄ ఆٛͨ͠ϥΠϒϥϦΛςʔϚʹՃ͢ΔͨΊʹ .info.ymlʹه name: Marucha Custom type: theme description:
'·ΔͷͨΊͷΧελϜςʔϚ' core_version_requirement: ^8 || ^9 base theme: classy libraries: - marucha_custom/global-styling - marucha_custom/global-scripts marucha_custom.info.yml ͜ΕͰCSS/JSϑΝΠϧ͕ ϨΠΞτʹө͞ΕΔʂ
ςϯϓϨʔτϑΝΠϧͱ TwigςϯϓϨʔτϑΝΠϧɿ ςʔϚͷHTMLϚʔΫΞοϓ Λੜ https://knowledge.sakura.ad.jp/5885/
ςϯϓϨʔτϑΝΠϧͷՃ marucha_custom !"" css # $"" styles.css !"" js #
$"" script.js !"" marucha_custom.info.yml !"" marucha_custom.libraries.yml $"" templates $"" node--3.html.twig σΟϨΫτϦߏ ϕʔεςʔϚ͔ΒϑΝΠϧΛίϐʔͯ͠ΧελϚΠζ͢Δɻ ΧελϜςʔϚσΟϨΫτϦʹஔ TwigͷσόοάΛ༗ޮԽ͢Δͱɺੜ͞ΕͨHTMLʹ ςϯϓϨʔτϑΝΠϧใ͕ίϝϯτͰදࣔ͞Ε·͢
ͦͷ΄͔ͷઃఆϑΝΠϧ .breakpoint.yml l Ϗϡʔϙʔτͷߴ͞෯Λεςοϓʹׂ͠ɺ͞·͟·ͳσόΠεͰਖ਼͘͠දࣔ ϨεϙϯγϒσβΠϯΛௐ͢ΔͨΊʹ༻ .theme l ςʔϚݻ༗ͷPHPؔɺલॲཧؔɺϑοΫΛ֨ೲ͢ΔͨΊʹ༻
None
More Decks by アクイアジャパン Acquia Japan
See All by アクイアジャパン Acquia Japan
Auth0 by OktaとDrupalで実践!認証付きアプリケーションの新しいアプローチ
acquiajp
0
260
Drupal 10.3の新機能紹介ウェビナー
acquiajp
0
310
DrupalCon Portland 2024 総まとめウェビナー
acquiajp
0
160
開発者必見!Acquia Cloud IDEで最高のDrupal開発を始めよう
acquiajp
0
260
触って学ぶ!デジタルアセット管理 Acquia DAM ハンズオンウェビナー
acquiajp
0
74
DrupalCon Lille 2023 総まとめウェビナー
acquiajp
0
130
コンテンツ設計手法で変更に強いアプリケーションを実現する〜ローコードによるWebアプリのバックエンド実装 #CNDF2023
acquiajp
0
430
DrupalCon Pittsburgh 2023 総まとめウェビナー
acquiajp
0
120
Acquia製品概要&Site Studioデモのご紹介
acquiajp
0
160
Other Decks in Programming
See All in Programming
はじめてのKubernetesコントリビューション
nasa9084
0
330
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
290
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
マルチプロダクトSaaSの アプリ一覧を速くする——複数プロダクトにまたがる「権限行脚」を減らすまで #techramen26conf
mktakuya
1
270
Apache Airflow Introduction
leew
1
100
Debian JP Projectのサーバー構成
uwabami
1
190
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
650
SODA - FACT BOOK(EN)
sodainc
1
310
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
450
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
390
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620
ラッコキーワード サービス紹介資料
rakko
5
6.1M
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Optimising Largest Contentful Paint
csswizardry
37
4k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
570
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
660
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
49k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
The Curse of the Amulet
leimatthew05
4
17k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k