Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bryanlittlefield/Magento-local.xml-Template
A great Start for your next Magento Theme's local.xml file
https://github.com/bryanlittlefield/Magento-local.xml-Template
Last synced: about 1 month ago
JSON representation
A great Start for your next Magento Theme's local.xml file
- Host: GitHub
- URL: https://github.com/bryanlittlefield/Magento-local.xml-Template
- Owner: bryanlittlefield
- Created: 2013-03-27T16:26:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-01T20:07:48.000Z (almost 11 years ago)
- Last Synced: 2024-08-01T08:04:05.424Z (4 months ago)
- Size: 138 KB
- Stars: 37
- Watchers: 8
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-magento - Local Xml - A great Start for your Magento Theme's local.xml file (Essentials)
README
Magento-local.xml-Template
==========================A Great Start for your next Magento Theme's local.xml file -
```xml
skin_jsjs/jquery.js
css/local.css
```
Available layout xml handles
==============================```xml
default
catalog_category_default (* also used in directory.xml)
catalog_category_layered (* also used in directory.xml)
catalog_product_compare_index
catalog_product_gallery
catalog_product_send
catalog_product_view (* also used in customeralert.xml, tag.xml)
catalog_seo_searchterm_popular
catalog_seo_sitemap_category
catalog_seo_sitemap_productcatalogsearch_advanced_form
catalogsearch_advanced_result
catalogsearch_result_index
catalogsearch_term_popularcheckout_cart_index (* also used in googlecheckout.xml, paypal.xml)
checkout_multishipping
checkout_multishipping_address_editaddress
checkout_multishipping_address_editbilling
checkout_multishipping_address_editshipping
checkout_multishipping_address_newbilling
checkout_multishipping_address_newshipping
checkout_multishipping_address_select
checkout_multishipping_address_selectbilling
checkout_multishipping_addresses
checkout_multishipping_billing
checkout_multishipping_customer_address
checkout_multishipping_login
checkout_multishipping_overview
checkout_multishipping_register
checkout_multishipping_shipping
checkout_multishipping_success
checkout_onepage_additional
checkout_onepage_index
checkout_onepage_progress
checkout_onepage_review
checkout_onepage_shippingmethod
checkout_onepage_successcms_index_defaultindex
cms_index_defaultnoroutecustomer_account (* also used in newsletter.xml, review.xml, sales.xml, wishlist.xml)
customer_account_create
customer_account_edit
customer_account_forgotpassword
customer_account_index (* also used in catalog.xml, newsletter.xml, poll.xml, review.xml, sales.xml, tag.xml, wishlist.xml)
customer_account_login
customer_address_form
customer_address_index
customer_logged_in
customer_logged_out
customer_account_logoutsuccessgiftmessage_index_edit
giftmessage_index_save
giftmessage_index_removenewsletter_manage_index
paypal_express_review
paypal_express_review_detailsreview_customer_index
review_customer_view
review_product_list
review_product_view
reviewssales_order_details
sales_order_history
sales_order_print
sales_order_viewshipping_tracking_ajax
tag_customer_index
tag_customer_edit
tag_customer_view
tag_list_indexwishlist_index_index
```Available Attributes
==============================```xml
addPriceBlockType: bundlebundle/catalog_product_pricebundle/catalog/product/price.phtmladdItemRender: bundle
bundle/checkout_cart_item_renderercheckout/cart/sidebar/default.phtmladdItem: skin_jsjs/bundle.js
insert: product.info.bundle.optionssetItemLimit: bundle4
setImgSrc: images/media/col_left_callout.jpg
setImgAlt: Our customer service is available 24/7. Call us at (800) DEMO-NUMBER.
setLinkUrl: checkout/cart
addLink: Site MapSite Map
setDefaultListPerPage: 4
setDefaultGridPerPage: 9
addPagerLimit: list6
setToolbarBlockName: product_list_toolbar
addReviewSummaryTemplate: defaultreview/helper/su.phtml
setTemplate: page/one-column.phtml
addJs: scriptaculous/scriptaculous.js
unsetChild: catalog_compare_sidebar
setTierPriceTemplate: catalog/product/view/tierprices.phtml
setColumnCount: 4
setItemLimit: upsell4
addOptionRenderer: textcatalog/product_view_options_type_textcatalog/product/view/options/type/text.phtml
insert: product.tierprices
append: product.info.addtocart
setDataByKey: alias_in_layoutcontainer2
setDataByKeyFromRegistry: options_containerproduct
unsetCallChild: container1ifEquals0alias_in_layoutoptions_container
setTitle: Categories
bindPager: seo.sitemap.pager.top
setItemsTitle: categories
setListOrders:
setListModes:
setListCollection:
addCartLink:
addCheckoutLink:
setCartTemplate: checkout/cart.phtml
setEmptyTemplate: checkout/cart/noItems.phtml
chooseTemplate:
setMethodFormTemplate: purchaseorderpayment/form/purchaseorder.phtml
setInfoTemplate:
setDontDisplayContainer: 1
setBlockId: footer_links
setHeaderTitle: Contact Us
setSaveMode: save
setGoogleCheckout: true
setScriptType: control_script
addCss: css/reset.css
setPollTemplate: poll/active.phtmlpoll
addWishlistLink:
addBodyClass: account
```Block Types
==============================```xml
core/template: This block renders a template defined by its template attribute. The majority of blocks defined in the layout are of type or subtype of core/template.page/html: This is a subtype of core/template and defines the root block. All other blocks are child blocks of this block.
page/html_head: Defines the HTML head section of the page which contains elements for including JavaScript, CSS etc.
page/html_header: Defines the header part of the page which contains the site logo, top links, etc.
page/template_links: This block is used to create a list of links. Links visible in the footer and header area use this block type.
core/text_list: Some blocks like content, left, right etc. are of type core/text_list. When these blocks are rendered, all their child blocks are rendered automatically without the need to call thegetChildHtml() method.
page/html_wrapper: This block is used to create a wrapper block which renders its child blocks inside an HTML tag set by the action setHtmlTagName. The default tag is
if no element is set.page/html_breadcrumbs: This block defines breadcrumbs on the page.
page/html_footer: Defines footer area of page which contains footer links, copyright message etc.
core/messages: This block renders error/success/notice messages.
page/switch: This block can be used for the language or store switcher.
```