Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
基礎から実践まで!スタジオ・ウミと学ぶDrupalテーマ開発 / Theming Drupal
Search
アクイアジャパン Acquia Japan
December 09, 2020
Programming
210
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
More Decks by アクイアジャパン Acquia Japan
See All by アクイアジャパン Acquia Japan
Auth0 by OktaとDrupalで実践!認証付きアプリケーションの新しいアプローチ
acquiajp
0
230
Drupal 10.3の新機能紹介ウェビナー
acquiajp
0
270
DrupalCon Portland 2024 総まとめウェビナー
acquiajp
0
130
開発者必見!Acquia Cloud IDEで最高のDrupal開発を始めよう
acquiajp
0
230
触って学ぶ!デジタルアセット管理 Acquia DAM ハンズオンウェビナー
acquiajp
0
56
DrupalCon Lille 2023 総まとめウェビナー
acquiajp
0
100
コンテンツ設計手法で変更に強いアプリケーションを実現する〜ローコードによるWebアプリのバックエンド実装 #CNDF2023
acquiajp
0
410
DrupalCon Pittsburgh 2023 総まとめウェビナー
acquiajp
0
110
Acquia製品概要&Site Studioデモのご紹介
acquiajp
0
140
Other Decks in Programming
See All in Programming
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
510
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
220
源内ハンズオン概要編
hideg
0
170
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
140
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
640
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
120
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
270
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
330
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
110
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
400
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
150
Featured
See All Featured
Practical Orchestrator
shlominoach
191
12k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
250
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
520
Optimising Largest Contentful Paint
csswizardry
37
3.9k
The SEO identity crisis: Don't let AI make you average
varn
0
530
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
410
Measuring & Analyzing Core Web Vitals
bluesmoon
9
950
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
430
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
370
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Transcript
جૅ͔Β࣮ફ·Ͱʂ ελδΦɾϛͱֶͿ 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