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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
アクイアジャパン 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
250
Drupal 10.3の新機能紹介ウェビナー
acquiajp
0
310
DrupalCon Portland 2024 総まとめウェビナー
acquiajp
0
150
開発者必見!Acquia Cloud IDEで最高のDrupal開発を始めよう
acquiajp
0
250
触って学ぶ!デジタルアセット管理 Acquia DAM ハンズオンウェビナー
acquiajp
0
70
DrupalCon Lille 2023 総まとめウェビナー
acquiajp
0
130
コンテンツ設計手法で変更に強いアプリケーションを実現する〜ローコードによるWebアプリのバックエンド実装 #CNDF2023
acquiajp
0
420
DrupalCon Pittsburgh 2023 総まとめウェビナー
acquiajp
0
120
Acquia製品概要&Site Studioデモのご紹介
acquiajp
0
150
Other Decks in Programming
See All in Programming
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
220
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
610
Spec-driven Development with AI
simas
PRO
0
2.3k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
300
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Next.js: The final boss of Web Performance
guaca
0
400
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
750
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
3
1.7k
ActionController meets Protocol Buffers
sorah
1
800
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
260
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
A better future with KSS
kneath
240
18k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Navigating Weather and Climate Data
rabernat
0
590
Un-Boring Meetings
codingconduct
0
490
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
300