How do I identify a tab in Magento? -



How do I identify a tab in Magento? -

i want replace template comments history tab of sales - order view section of magento's admin. how identify tab , correctly reference it?

i able replace template comments history section of info tab in order view using next layout update:

<adminhtml_sales_order_view> <reference name="order_history"> <action method="settemplate"><template>popcap/sales/order/view/history.phtml</template></action> </reference> </adminhtml_sales_order_view>

i've been using alan storm's layoutviewer module (http://alanstorm.com/2005/projects/magentolayoutviewer.tar.gz) far, can't figure out right reference path.

any help appreciated. give thanks you.

the easiest way turn on template hints admin area executing next query against magento db

insert core_config_data (scope, scope_id, path, value) values ('default', 0, 'dev/debug/template_hints', 1), ('default', 0, 'dev/debug/template_hints_blocks', 1);

you'll able determine relevant template override.

in case it's /adminhtml/default/default/template/sales/order/view/tab/history.phtml

don't forget turn hints off...it makes quite hard navigate around admin area

update core_config_data set value = 0 path 'dev/debug/template_hints%';

magento

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -