Call-back icon  Enterprise Sales: +1.310.775.2674 (N. America)   +44 20.3286.4137 (UK)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Full list of available xml handles? 
 
Grayson
Member
 
Avatar
Total Posts:  58
Joined:  2007-11-20
Netherlands
 

I’ve searched the site for the past hour or so but haven’t found an answer to this question:

Is there a complete list somewhere in the documentation of all the handles available for use in the xml files? (And any other set-in-stone-do-not-modify names?) I’ve gone through all the xml files in layout/ and compiled a list, but I’m not sure it’s complete.

Here’s the list I made of available handle names (along with some notes to myself on where they’re used):

======  Available layout xml handles (==available pages to configure):  ======

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.xmltag.xml)
catalog_seo_searchterm_popular
catalog_seo_sitemap_category
catalog_seo_sitemap_product

catalogsearch_advanced_form
catalogsearch_advanced_result
catalogsearch_result_index
catalogsearch_term_popular

checkout_cart_index      
(* also used in googlecheckout.xmlpaypal.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_success

cms_index_defaultindex
cms_index_defaultnoroute


customer_account            
(* also used in newsletter.xmlreview.xmlsales.xmlwishlist.xml)
customer_account_create
customer_account_edit
customer_account_forgotpassword
customer_account_index      
(* also used in catalog.xmlnewsletter.xmlpoll.xmlreview.xmlsales.xmltag.xmlwishlist.xml)
customer_account_login
customer_address_form
customer_address_index
customer_logged_in
customer_logged_out
customer_account_logoutsuccess

giftmessage_index_edit
giftmessage_index_save
giftmessage_index_remove

newsletter_manage_index

paypal_express_review
paypal_express_review_details

print

review_customer_index
review_customer_view
review_product_list
review_product_view
reviews

sales_order_details
sales_order_history
sales_order_print
sales_order_view

shipping_tracking_ajax

tag_customer_index
tag_customer_edit
tag_customer_view
tag_list_index

wishlist_index_index

 
Magento Community Magento Community
Magento Community
Magento Community
 
ohminu
Magento Team
 
Avatar
Total Posts:  173
Joined:  2007-08-07
Portland, OR
 

Hello Grayson smile

The list you have is the full list of currently available handles. However, remember, Magento is built with the idea of upgradibility and further module add-on’s in mind, so that means this handle list may and will grow to be much larger than what you have now.

The XML handles are named using the following convention: module_controller_action. So you can see that should new controllers be added, the list of XML handles will grow. Hope that helps you!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Grayson
Member
 
Avatar
Total Posts:  58
Joined:  2007-11-20
Netherlands
 

Thanks, Minu! This kind of thing would be great to have somewhere in the documentation, especially your explanation about the handle naming convention (teach a man to fish . . .  smile ).

 
Magento Community Magento Community
Magento Community
Magento Community
 
peach
Jr. Member
 
Total Posts:  22
Joined:  2008-01-11
 

thnx for posting your tags! hartelijk bedankt wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
rzazueta
Member
 
Total Posts:  34
Joined:  2008-07-21
 

There are a couple of custom navigational items I want to display on the homepage. I went into catalog.cml and added the following lines:

<cms_index_defaultindex>
        <
reference name="right">
            <!-- 
block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/ -->
            <
block type="core/template" name="right.homepage.sale_callout" template="homepage/sale_callout.phtml"/>
        </
reference>
        <
reference name="centerListing">
            <
block type="catalog/navigation" name="catalog.center" template="catalog/navigation/center_listings.phtml" />
        </
reference>
    </
cms_index_defaultindex>

I’ve placed the .phtml files in their appropriate places in the file hierarchy. When I put the references under <default> they shouw up fine. When I put them under <cms_index_defaultindex> they disappear from the homepage. I don;t want these items appearing anywhere else but on the homepage. How do I accomplish this?

Rob Z.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Scott
Guru
 
Avatar
Total Posts:  324
Joined:  2007-08-31
Northwest Ohio
 

Just add the references to the layout update section of the home page from the CMS section of the admin panel cool smile

 Signature 

Need a Magento designer? I specialize in helping developers and shop owners create Magento themes designed with aesthetic bliss, crisp refreshing style, and usability-focused design. Check out Tealo, the first public Magento theme!

Your Magento Partner for Stunning Creative Work!

 
Magento Community Magento Community
Magento Community
Magento Community
 
dvnitycker
Member
 
Total Posts:  69
Joined:  2008-10-28
 

which one of these reffers to frontpage? Ive tried with cms_index_defaultindex but failed

 
Magento Community Magento Community
Magento Community
Magento Community
 
dvnitycker
Member
 
Total Posts:  69
Joined:  2008-10-28
 

<cms_index_index> references only the homepage

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2009 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
108728 users|479 users currently online|199811 forum posts