Suche senden
Hochladen
Magento20100313
•
1 gefällt mir
•
1,266 views
Hirokazu Nishi
Folgen
OSC2010Kansai@Kobeで使用したMagentoのデザインカスタマイズ資料です
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 47
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Magento20100709
Magento20100709
Hirokazu Nishi
Magento20100807
Magento20100807
Hirokazu Nishi
Bài 12: JSF-2 - Lập Trình Mạng Nâng Cao
Bài 12: JSF-2 - Lập Trình Mạng Nâng Cao
Tuan Nguyen
Cara memperbaiki google
Cara memperbaiki google
Syafi'i Syafii
날로 먹는 Django admin 활용
날로 먹는 Django admin 활용
KyeongMook "Kay" Cha
Django Admin: Widgetry & Witchery
Django Admin: Widgetry & Witchery
Pamela Fox
How to create a magento controller in magento extension
How to create a magento controller in magento extension
Hendy Irawan
How to Create A Magento Adminhtml Controller in Magento Extension
How to Create A Magento Adminhtml Controller in Magento Extension
Hendy Irawan
Empfohlen
Magento20100709
Magento20100709
Hirokazu Nishi
Magento20100807
Magento20100807
Hirokazu Nishi
Bài 12: JSF-2 - Lập Trình Mạng Nâng Cao
Bài 12: JSF-2 - Lập Trình Mạng Nâng Cao
Tuan Nguyen
Cara memperbaiki google
Cara memperbaiki google
Syafi'i Syafii
날로 먹는 Django admin 활용
날로 먹는 Django admin 활용
KyeongMook "Kay" Cha
Django Admin: Widgetry & Witchery
Django Admin: Widgetry & Witchery
Pamela Fox
How to create a magento controller in magento extension
How to create a magento controller in magento extension
Hendy Irawan
How to Create A Magento Adminhtml Controller in Magento Extension
How to Create A Magento Adminhtml Controller in Magento Extension
Hendy Irawan
Profit statement 00
Profit statement 00
Sandro Suzart
Working with the django admin
Working with the django admin
flywindy
Inchoo s magento posts
Inchoo s magento posts
Tuyến Trần
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
flywindy
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Hendy Irawan
Magento 2.0: Prepare yourself for a new way of module development
Magento 2.0: Prepare yourself for a new way of module development
Ivan Chepurnyi
May the core be with you - JandBeyond 2014
May the core be with you - JandBeyond 2014
Chad Windnagle
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Books
bisg
DJango admin interface
DJango admin interface
Mahesh Shitole
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
sroo galal
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
Yuichi Sakuraba
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Cavatex
Ôn tập KTTMDT
Ôn tập KTTMDT
mrcoffee282
Система рендеринга в Magento
Система рендеринга в Magento
Magecom Ukraine
Drupal Module Development
Drupal Module Development
ipsitamishra
Drupal Development
Drupal Development
Jeff Eaton
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Presentation
Presentation
Arnold Stellio
Melody Designer Training
Melody Designer Training
Byrne Reese
Magento20100226
Magento20100226
Hirokazu Nishi
Toutch Jquery Mobile
Toutch Jquery Mobile
Jinlong He
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
crokitta
Weitere ähnliche Inhalte
Was ist angesagt?
Profit statement 00
Profit statement 00
Sandro Suzart
Working with the django admin
Working with the django admin
flywindy
Inchoo s magento posts
Inchoo s magento posts
Tuyến Trần
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
flywindy
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Hendy Irawan
Magento 2.0: Prepare yourself for a new way of module development
Magento 2.0: Prepare yourself for a new way of module development
Ivan Chepurnyi
May the core be with you - JandBeyond 2014
May the core be with you - JandBeyond 2014
Chad Windnagle
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Books
bisg
DJango admin interface
DJango admin interface
Mahesh Shitole
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
sroo galal
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
Yuichi Sakuraba
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Cavatex
Ôn tập KTTMDT
Ôn tập KTTMDT
mrcoffee282
Система рендеринга в Magento
Система рендеринга в Magento
Magecom Ukraine
Drupal Module Development
Drupal Module Development
ipsitamishra
Drupal Development
Drupal Development
Jeff Eaton
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Presentation
Presentation
Arnold Stellio
Melody Designer Training
Melody Designer Training
Byrne Reese
Was ist angesagt?
(19)
Profit statement 00
Profit statement 00
Working with the django admin
Working with the django admin
Inchoo s magento posts
Inchoo s magento posts
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Magento 2.0: Prepare yourself for a new way of module development
Magento 2.0: Prepare yourself for a new way of module development
May the core be with you - JandBeyond 2014
May the core be with you - JandBeyond 2014
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Books
DJango admin interface
DJango admin interface
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Ôn tập KTTMDT
Ôn tập KTTMDT
Система рендеринга в Magento
Система рендеринга в Magento
Drupal Module Development
Drupal Module Development
Drupal Development
Drupal Development
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Presentation
Presentation
Melody Designer Training
Melody Designer Training
Ähnlich wie Magento20100313
Magento20100226
Magento20100226
Hirokazu Nishi
Toutch Jquery Mobile
Toutch Jquery Mobile
Jinlong He
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
crokitta
An Introduction to HTML5
An Introduction to HTML5
Steven Chipman
Movable Type Seminar 2011
Movable Type Seminar 2011
Six Apart KK
Attractive HTML5~開発者の視点から~
Attractive HTML5~開発者の視点から~
Sho Ito
Struts portlet-1
Struts portlet-1
AbhishekSRC
Bootstrap 3 in Joomla!
Bootstrap 3 in Joomla!
Hans Kuijpers
Taking your Web App for a walk
Taking your Web App for a walk
Jens-Christian Fischer
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
iWebkit
iWebkit
Ryan Chung
HTML 5 Fundamental
HTML 5 Fundamental
Lanh Le
Resource Registries: Plone Conference 2014
Resource Registries: Plone Conference 2014
Rob Gietema
Creating a basic joomla
Creating a basic joomla
shailendra vishwakarma
Jsf2.0 -4
Jsf2.0 -4
Vinay Kumar
jQtouch, Building Awesome Webapps
jQtouch, Building Awesome Webapps
Home
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Leonardo Balter
Creating GUI container components in Angular and Web Components
Creating GUI container components in Angular and Web Components
Rachael L Moore
Schoology tutorial[1]
Schoology tutorial[1]
Rafael Muñoz Espinosa
Joomla! Template for Beginners
Joomla! Template for Beginners
Slashes & Dots Sdn Bhd
Ähnlich wie Magento20100313
(20)
Magento20100226
Magento20100226
Toutch Jquery Mobile
Toutch Jquery Mobile
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
An Introduction to HTML5
An Introduction to HTML5
Movable Type Seminar 2011
Movable Type Seminar 2011
Attractive HTML5~開発者の視点から~
Attractive HTML5~開発者の視点から~
Struts portlet-1
Struts portlet-1
Bootstrap 3 in Joomla!
Bootstrap 3 in Joomla!
Taking your Web App for a walk
Taking your Web App for a walk
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
iWebkit
iWebkit
HTML 5 Fundamental
HTML 5 Fundamental
Resource Registries: Plone Conference 2014
Resource Registries: Plone Conference 2014
Creating a basic joomla
Creating a basic joomla
Jsf2.0 -4
Jsf2.0 -4
jQtouch, Building Awesome Webapps
jQtouch, Building Awesome Webapps
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
Creating GUI container components in Angular and Web Components
Creating GUI container components in Angular and Web Components
Schoology tutorial[1]
Schoology tutorial[1]
Joomla! Template for Beginners
Joomla! Template for Beginners
Mehr von Hirokazu Nishi
Magento Meetup Tokyo 14 〜メンテナンス画面を極める
Magento Meetup Tokyo 14 〜メンテナンス画面を極める
Hirokazu Nishi
JP_Stripes Vol3 発表資料
JP_Stripes Vol3 発表資料
Hirokazu Nishi
20170626 さくらインターネット Stripe Magento
20170626 さくらインターネット Stripe Magento
Hirokazu Nishi
How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2
Hirokazu Nishi
Magento cafe plus #12
Magento cafe plus #12
Hirokazu Nishi
第9回 Magento Cafe Plus
第9回 Magento Cafe Plus
Hirokazu Nishi
第1回 Magento Cafe Plus Kansai ~ Magentoカスタマイズ入門
第1回 Magento Cafe Plus Kansai ~ Magentoカスタマイズ入門
Hirokazu Nishi
第8回 Magento cafe plus
第8回 Magento cafe plus
Hirokazu Nishi
第7回 Magento Cafe Plus
第7回 Magento Cafe Plus
Hirokazu Nishi
Magento Cafe Plus #6
Magento Cafe Plus #6
Hirokazu Nishi
第4回Magento Cafe Plus〜Rewriteと独自テーブル
第4回Magento Cafe Plus〜Rewriteと独自テーブル
Hirokazu Nishi
第4回Magento Cafe Plus〜最近のMagento
第4回Magento Cafe Plus〜最近のMagento
Hirokazu Nishi
第3回 Magento Cafe Plus モジュール開発入門
第3回 Magento Cafe Plus モジュール開発入門
Hirokazu Nishi
第2回 Magento cafe plus 〜新・Magentoカスタマイズ入門
第2回 Magento cafe plus 〜新・Magentoカスタマイズ入門
Hirokazu Nishi
Akeneo PIM Overview
Akeneo PIM Overview
Hirokazu Nishi
Magento2 Overview
Magento2 Overview
Hirokazu Nishi
Magento cafe tokyo2~デザイナー向けMagentoの歩き方
Magento cafe tokyo2~デザイナー向けMagentoの歩き方
Hirokazu Nishi
最新・Magentoを日本語で使うイロハ
最新・Magentoを日本語で使うイロハ
Hirokazu Nishi
加速していくMagento 〜MDP2011参加レポート〜
加速していくMagento 〜MDP2011参加レポート〜
Hirokazu Nishi
Mehr von Hirokazu Nishi
(19)
Magento Meetup Tokyo 14 〜メンテナンス画面を極める
Magento Meetup Tokyo 14 〜メンテナンス画面を極める
JP_Stripes Vol3 発表資料
JP_Stripes Vol3 発表資料
20170626 さくらインターネット Stripe Magento
20170626 さくらインターネット Stripe Magento
How to implement payment gateway integration for non-credit card on Magento2
How to implement payment gateway integration for non-credit card on Magento2
Magento cafe plus #12
Magento cafe plus #12
第9回 Magento Cafe Plus
第9回 Magento Cafe Plus
第1回 Magento Cafe Plus Kansai ~ Magentoカスタマイズ入門
第1回 Magento Cafe Plus Kansai ~ Magentoカスタマイズ入門
第8回 Magento cafe plus
第8回 Magento cafe plus
第7回 Magento Cafe Plus
第7回 Magento Cafe Plus
Magento Cafe Plus #6
Magento Cafe Plus #6
第4回Magento Cafe Plus〜Rewriteと独自テーブル
第4回Magento Cafe Plus〜Rewriteと独自テーブル
第4回Magento Cafe Plus〜最近のMagento
第4回Magento Cafe Plus〜最近のMagento
第3回 Magento Cafe Plus モジュール開発入門
第3回 Magento Cafe Plus モジュール開発入門
第2回 Magento cafe plus 〜新・Magentoカスタマイズ入門
第2回 Magento cafe plus 〜新・Magentoカスタマイズ入門
Akeneo PIM Overview
Akeneo PIM Overview
Magento2 Overview
Magento2 Overview
Magento cafe tokyo2~デザイナー向けMagentoの歩き方
Magento cafe tokyo2~デザイナー向けMagentoの歩き方
最新・Magentoを日本語で使うイロハ
最新・Magentoを日本語で使うイロハ
加速していくMagento 〜MDP2011参加レポート〜
加速していくMagento 〜MDP2011参加レポート〜
Kürzlich hochgeladen
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Pim van der Noll
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
Ravi Sanghani
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
marketing932765
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
Kari Kakkonen
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Kaya Weers
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Nikki Chapple
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
itnewsafrica
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Kürzlich hochgeladen
(20)
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Magento20100313
1.
Magento
2010/03/13 Magento-JP User Group 2010 3 14
2.
•
• Magento • Twitter@hirokazu_nishi 2010 3 14
3.
•
Magento • Magento • XML • Block • • Tips 2010 3 14
4.
Magento 2010
3 14
5.
app
code core community local design frontend adminhtml etc locale lib js javascript skin frontend adminhtml 2010 3 14
6.
2010
3 14
7.
design frontend default
default layout XML locale template foo bar 2010 3 14
8.
design frontend default
default layout XML locale template foo bar 2010 3 14
9.
design frontend default
default layout XML locale template foo bar 2010 3 14
10.
Magento 2010
3 14
11.
•
• • 2010 3 14
12.
-Scalena News- 2010
3 14
13.
<?php $collection =
$this->getItems(3); ?> <?php if ( count($collection) == 0 ) : ?> <p><?php echo $this->__('No news yet...'); ?></p> <?php else : ?> <dl> <?php foreach ( $collection as $_item ) : ?> <dt><a href="<?php echo Mage::helper('snews')->getUrl($_item['identifier']); ?>"><?php echo $_item['title']; ?></a></dt> <dd><?php echo $_item['date']; ?></dd> <dd> <?php if ( Mage::helper('snews')->getListLimitDescription() == 0 || strlen($_item ['description']) < Mage::helper('snews')->getListLimitDescription() ) : ?> <?php echo $_item['description']; ?> <?php else : ?> <?php echo substr($_item['description'], 0, Mage::helper('snews')- >getListLimitDescription()); ?>... <?php endif; ?> </dd> <dd><a href="<?php echo Mage::helper('snews')->getUrl($_item['identifier']); ?>"><?php echo $this->__('Learn more...'); ?></a></dd> <?php endforeach; ?> </dl> <?php endif; ?> 2010 3 14
14.
• if
endif; • foreach endforeach; • $this->hogehoge • PHP 2010 3 14
15.
•
• XML 2010 3 14
16.
• page
• • 2010 3 14
17.
XML 2010
3 14
18.
XML
• XML • • • XML 2010 3 14
19.
2010
3 14
20.
2010
3 14
21.
XML 2010
3 14
22.
XML
-Scalena News- 2010 3 14
23.
<?xml version="1.0"?>
<layout version="0.1.0"> ! <default> ! ! <!-- ! ! <reference name="right"> ! ! ! <block type="snews/block" name="snews.block" as="newsBlock" template="scalena/ news/block.phtml"/> ! ! </reference> ! ! --> ! </default> ! <snews_index_index> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/items" name="snews.news" template="scalena/news/ news.phtml"> ! <block type="snews/pagination" name="snews.pagination" as="pagination" template="scalena/news/pagination.phtml"/> </block> </reference> </snews_index_index> <snews_index_view> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/item" name="snews.detail" template="scalena/news/news- detail.phtml" /> </reference> </snews_index_view> </layout> 2010 3 14
24.
•
block • reference • action • remove 2010 3 14
25.
block
• • • <block type=”foo” name=”foo” template=”foo.phtml” /> 2010 3 14
26.
<?xml version="1.0"?>
<layout version="0.1.0"> ! <default> ! ! <!-- ! ! <reference name="right"> ! ! ! <block type="snews/block" name="snews.block" as="newsBlock" template="scalena/ news/block.phtml"/> ! ! </reference> ! ! --> ! </default> ! <snews_index_index> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/items" name="snews.news" template="scalena/news/ news.phtml"> ! <block type="snews/pagination" name="snews.pagination" as="pagination" template="scalena/news/pagination.phtml"/> </block> </reference> </snews_index_index> <snews_index_view> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/item" name="snews.detail" template="scalena/news/news- detail.phtml" /> </reference> </snews_index_view> </layout> 2010 3 14
27.
reference
• name=”foo” • <reference name=”foo”> 2010 3 14
28.
<?xml version="1.0"?>
<layout version="0.1.0"> ! <default> ! ! <!-- ! ! <reference name="right"> ! ! ! <block type="snews/block" name="snews.block" as="newsBlock" template="scalena/ news/block.phtml"/> ! ! </reference> ! ! --> ! </default> ! <snews_index_index> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/items" name="snews.news" template="scalena/news/ news.phtml"> ! <block type="snews/pagination" name="snews.pagination" as="pagination" template="scalena/news/pagination.phtml"/> </block> </reference> </snews_index_index> <snews_index_view> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/item" name="snews.detail" template="scalena/news/news- detail.phtml" /> </reference> </snews_index_view> </layout> 2010 3 14
29.
action
• block • block • • <action method=”foo”> </ action> 2010 3 14
30.
<?xml version="1.0"?>
<layout version="0.1.0"> ! <default> ! ! <!-- ! ! <reference name="right"> ! ! ! <block type="snews/block" name="snews.block" as="newsBlock" template="scalena/ news/block.phtml"/> ! ! </reference> ! ! --> ! </default> ! <snews_index_index> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/items" name="snews.news" template="scalena/news/ news.phtml"> ! <block type="snews/pagination" name="snews.pagination" as="pagination" template="scalena/news/pagination.phtml"/> </block> </reference> </snews_index_index> <snews_index_view> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</ template></action> </reference> <reference name="content"> <block type="snews/item" name="snews.detail" template="scalena/news/news- detail.phtml" /> </reference> </snews_index_view> </layout> 2010 3 14
31.
remove
• • <remove name=”foo”/> • 2010 3 14
32.
•
CMS • • • XML 2010 3 14
33.
Block 2010
3 14
34.
Block
• XML block • .phtml • XML public • XML 2010 3 14
35.
Block
<block type="foo/foo" name="foo.foo"> <block type="foo/bar" name="foo.bar" as="bar"/> </block> 2010 3 14
36.
• $this->getChildHtml(‘foo’);
• 2010 3 14
37.
•
Mage_Core_Model_Layout createBlock • core grep • XML 2010 3 14
38.
• CMS
XML • • Free_CMS 2010 3 14
39.
• 1.3
{{block type=”cms/block” block_id=”hoge” template=”cms/content.phtml”}} • 1.4 {{widget type="cms/widget_block" template="cms/widget/static_block/ default.phtml" block_id="5"}} 2010 3 14
40.
• <block type=”cms/block”
name=”hoge” (before|after)=”foo”> <action method=”setBlockId”> hoge </action> </block> 2010 3 14
41.
2010
3 14
42.
•
HTML • JS CSS • 2010 3 14
43.
•
OK • • CSS JS 2010 3 14
44.
Tips 2010
3 14
45.
<remove name=”breadcrumbs” />
<reference name=”breadcrumbs”> <action method=”addCrumnb”> <label>home</label> <params> <label>home</label> <title> </title> <link>home</link> <first>true</first> </params> </action> <action method=”addCrumnb”> <label>foofoo</label> <params> <label> </label> <title> </title> <link/> <last>true</last> </params> </action> </reference> 2010 3 14
46.
<reference name=”top.links”>
<action method=”addLink” translate=”label title” module=”customer”> <label> </label> <url>/hogehoge</url> <title> </title> <prepare/> <urlParams/> <position>90</position> </action> <action method=”addLink” translate=”label title” module=”customer”> <label> </label> <url>/fugefuge</url> <title> </title> <prepare/> <urlParams/> <position>100</position> </action> </reference> 2010 3 14
47.
2010
3 14
Jetzt herunterladen