Magento Forum

Internal Popup using JQuery - Referencing blocks
 
Locker Rushing
Jr. Member
 
Total Posts:  19
Joined:  2008-12-15
 

Quick rundown:

I am working inside: (Option Select template)

Location: app/design/frontend/default/default/template/catalog/product/view/options/type/select.phtml

Question: How can I use something like:

<?php echo $this->getChildHtml('size_chart'?>

and define size_chart in a layout xml.

I basically want to create a size chart internal popup, and want to store the code for the chart outside the select.phtml file.

I am still having trouble wrapping my head around blocks and the xml. I don’t understand the creation process and which layout xml is being used in which module.

The drop down option says it is using the catalog.xml but I can’t reference any blocks from select.phtml.

Any guidance is much appreciated.

I’m loving Magento! Thanks to the creators!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top