Enviar pesquisa
Carregar
Magento20100226
•
1 gostou
•
1,262 visualizações
Hirokazu Nishi
Seguir
OSC2010 Tokyo/Springで使用した資料です。
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 39
Baixar agora
Baixar para ler offline
Recomendados
Magento20100807
Magento20100807
Hirokazu Nishi
Magento20100709
Magento20100709
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
Drupal Module Development
Drupal Module Development
ipsitamishra
날로 먹는 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
Recomendados
Magento20100807
Magento20100807
Hirokazu Nishi
Magento20100709
Magento20100709
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
Drupal Module Development
Drupal Module Development
ipsitamishra
날로 먹는 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
Inchoo s magento posts
Inchoo s magento posts
Tuyến Trần
Working with the django admin
Working with the django admin
flywindy
MTDDC Meetup TOKYO 2016
MTDDC Meetup TOKYO 2016
bitpart
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Hendy Irawan
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
flywindy
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
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
Yuichi Sakuraba
DJango admin interface
DJango admin interface
Mahesh Shitole
Odoo Experience 2018 - From a Web Controller to a Full CMS
Odoo Experience 2018 - From a Web Controller to a Full CMS
ElínAnna Jónasdóttir
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
sroo galal
Odoo Experience 2018 - The Odoo JS Framework
Odoo Experience 2018 - The Odoo JS Framework
ElínAnna Jónasdóttir
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Cavatex
Ôn tập KTTMDT
Ôn tập KTTMDT
mrcoffee282
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Peter Martin
Jsf lab
Jsf lab
Yu-Ting Chen
Система рендеринга в Magento
Система рендеринга в Magento
Magecom Ukraine
Presentation
Presentation
Arnold Stellio
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Drupal Development
Drupal Development
Jeff Eaton
Magento20100313
Magento20100313
Hirokazu Nishi
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
crokitta
Mais conteúdo relacionado
Mais procurados
Profit statement 00
Profit statement 00
Sandro Suzart
Inchoo s magento posts
Inchoo s magento posts
Tuyến Trần
Working with the django admin
Working with the django admin
flywindy
MTDDC Meetup TOKYO 2016
MTDDC Meetup TOKYO 2016
bitpart
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Hendy Irawan
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
flywindy
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
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
Yuichi Sakuraba
DJango admin interface
DJango admin interface
Mahesh Shitole
Odoo Experience 2018 - From a Web Controller to a Full CMS
Odoo Experience 2018 - From a Web Controller to a Full CMS
ElínAnna Jónasdóttir
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
sroo galal
Odoo Experience 2018 - The Odoo JS Framework
Odoo Experience 2018 - The Odoo JS Framework
ElínAnna Jónasdóttir
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Cavatex
Ôn tập KTTMDT
Ôn tập KTTMDT
mrcoffee282
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Peter Martin
Jsf lab
Jsf lab
Yu-Ting Chen
Система рендеринга в Magento
Система рендеринга в Magento
Magecom Ukraine
Presentation
Presentation
Arnold Stellio
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Drupal Development
Drupal Development
Jeff Eaton
Mais procurados
(20)
Profit statement 00
Profit statement 00
Inchoo s magento posts
Inchoo s magento posts
Working with the django admin
Working with the django admin
MTDDC Meetup TOKYO 2016
MTDDC Meetup TOKYO 2016
How to Develop a Basic Magento Extension Tutorial
How to Develop a Basic Magento Extension Tutorial
Two scoops of django 1.6 - Ch7, Ch8
Two scoops of django 1.6 - Ch7, Ch8
How to Think Inside the Box: Programming Fixed Layout for E-Books
How to Think Inside the Box: Programming Fixed Layout for E-Books
JavaFXで開く新世代GUI
JavaFXで開く新世代GUI
DJango admin interface
DJango admin interface
Odoo Experience 2018 - From a Web Controller to a Full CMS
Odoo Experience 2018 - From a Web Controller to a Full CMS
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
Odoo Experience 2018 - The Odoo JS Framework
Odoo Experience 2018 - The Odoo JS Framework
Links/Деловой и денежный мир
Links/Деловой и денежный мир
Ôn tập KTTMDT
Ôn tập KTTMDT
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Jsf lab
Jsf lab
Система рендеринга в Magento
Система рендеринга в Magento
Presentation
Presentation
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Drupal Development
Drupal Development
Semelhante a Magento20100226
Magento20100313
Magento20100313
Hirokazu Nishi
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
crokitta
The Thinking behind BEM
The Thinking behind BEM
Varya Stepanova
iWebkit
iWebkit
Ryan Chung
Toutch Jquery Mobile
Toutch Jquery Mobile
Jinlong He
JQuery Mobile UI
JQuery Mobile UI
My own sweet home!
HTML 5 Fundamental
HTML 5 Fundamental
Lanh Le
Nyss Open legislation
Nyss Open legislation
GraylinKim
Xxx
Xxx
syfwan
Bootstrap
Bootstrap
Sarvesh Kushwaha
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Peter Martin
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
HTML 5 Drupalcamp Ireland Dublin 2010
HTML 5 Drupalcamp Ireland Dublin 2010
alanburke
Resource Registries: Plone Conference 2014
Resource Registries: Plone Conference 2014
Rob Gietema
Liquibase migration for data bases
Liquibase migration for data bases
Roman Uholnikov
Joomla! Template for Beginners
Joomla! Template for Beginners
Slashes & Dots Sdn Bhd
HTML5
HTML5
Brandon Byars
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
James Pearce
An Introduction to HTML5
An Introduction to HTML5
Steven Chipman
Creating a basic joomla
Creating a basic joomla
shailendra vishwakarma
Semelhante a Magento20100226
(20)
Magento20100313
Magento20100313
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
The Thinking behind BEM
The Thinking behind BEM
iWebkit
iWebkit
Toutch Jquery Mobile
Toutch Jquery Mobile
JQuery Mobile UI
JQuery Mobile UI
HTML 5 Fundamental
HTML 5 Fundamental
Nyss Open legislation
Nyss Open legislation
Xxx
Xxx
Bootstrap
Bootstrap
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
HTML 5 Drupalcamp Ireland Dublin 2010
HTML 5 Drupalcamp Ireland Dublin 2010
Resource Registries: Plone Conference 2014
Resource Registries: Plone Conference 2014
Liquibase migration for data bases
Liquibase migration for data bases
Joomla! Template for Beginners
Joomla! Template for Beginners
HTML5
HTML5
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
An Introduction to HTML5
An Introduction to HTML5
Creating a basic joomla
Creating a basic joomla
Mais de 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
Mais de 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参加レポート〜
Último
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Último
(20)
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Slack Application Development 101 Slides
Slack Application Development 101 Slides
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Magento20100226
1.
Magento
2010/02/26 Magento-JP User Group 2010 2 26
2.
•
• • Magento • Twitter@hirokazu_nishi 2010 2 26
3.
• Magento
• Magento • XML • Block • 2010 2 26
4.
Magento 2010
2 26
5.
app
code core community local design frontend adminhtml etc locale lib js JS skin frontend adminhtml 2010 2 26
6.
2010
2 26
7.
design frontend default
default layout XML locale template foo bar 2010 2 26
8.
design frontend default
default layout XML locale template foo bar 2010 2 26
9.
design frontend default
default layout XML locale template foo bar 2010 2 26
10.
•
• 2010 2 26
11.
Magento 2010
2 26
12.
2010
2 26
13.
2010
2 26
14.
2010
2 26
15.
<?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 2 26
16.
• if
endif • foreach endforeach • $this->hogehoge 2010 2 26
17.
XML 2010
2 26
18.
XML
• XML • • • XML 2010 2 26
19.
XML 2010
2 26
20.
<?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 2 26
21.
•
block • reference • action • remove 2010 2 26
22.
block
• • • <block type=”foo” name=”foo” template=”foo.phtml” /> 2010 2 26
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 2 26
24.
reference
• name=”foo” • <reference name=”foo”> 2010 2 26
25.
<?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 2 26
26.
action
• block • block • • <action method=”foo”> </ action> 2010 2 26
27.
<?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 2 26
28.
remove
• • <remove name=”foo”/> • 2010 2 26
29.
Block 2010
2 26
30.
Block
• XML block • .phtml • XML public • XML 2010 2 26
31.
Block
<block type="foo/foo" name="foo.foo"> <block type="foo/bar" name="foo.bar" as="bar"/> </block> 2010 2 26
32.
• $this->getChildHtml(‘foo’);
• 2010 2 26
33.
• CMS
XML • 2010 2 26
34.
• {{block type=”cms/block”
block_id=”hoge” template=”cms/content.phtml”}} • {{widget type="cms/widget_block" template="cms/widget/static_block/ default.phtml" block_id="5"}} 2010 2 26
35.
• <block type=”cms/block”
name=”hoge” (before|after)=”foo”> <action method=”setBlockId”> hoge </action> </block> 2010 2 26
36.
2010
2 26
37.
•
HTML • JS CSS • 2010 2 26
38.
•
OK • • CSS JS 2010 2 26
39.
2010
2 26
Baixar agora