Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does my configure run well on the version updated at 9/05/2012, can not run on the others versions updated after 9/05/2012 #92

Closed
SunshineTech opened this issue Sep 29, 2012 · 4 comments

Comments

@SunshineTech
Copy link

In my magento application, there is a configure in layout.xml:

[default]
[reference name="head"]
[action method="setTemplate"][template]SunshineBiz_Permission::page/head.phtml[/template][/action]
[action method="setTitle" translate="title"][title]Backend Admin[/title][/action]
[/reference]
[reference name="menu"]
[action method="setTemplate"][template]SunshineBiz_Permission::menu.phtml[/template][/action]
[/reference]
[reference name="footer"]
[action method="setTemplate"][template]SunshineBiz_Permission::page/footer.phtml[/template][/action]
[/reference]
[/default]

On the version updated at 9/05/2012, it runs well. But it can not run on the version updated at 9/13/2012 and 9/27/2012. It run a long time, and display a blank page. Forthermore, there aren't logs in system.log, no warn, no error, nothing. I have to change the configure by removing the "menu" reference as following:

[default]
[reference name="head"]
[action method="setTemplate"][template]SunshineBiz_Permission::page/head.phtml[/template][/action]
[action method="setTitle" translate="title"][title]Backend Admin[/title][/action]
[/reference]
[reference name="footer"]
[action method="setTemplate"][template]SunshineBiz_Permission::page/footer.phtml[/template][/action]
[/reference]
[/default]

Then it can run. Why is it so? How can I change the menu's template?
Any suggest is welcome!

@Forestsoft-de
Copy link

The Block menu you are reference doesn´t exist !?

@SunshineTech
Copy link
Author

The Block menu exists in Mage_Backend. But the configure ablout Block menu in layout.xm are dfferent in the version updated at 9/05/2012 and the version updated after 9/05/2012.

The configure ablout Block menu in layout.xm in the version updated at 9/05/2012:

[default]
[reference name="root" after="header"]
[block type="Mage_Backend_Block_Menu" name="menu" as="menu" template="Mage_Backend::menu.phtml"]
[block type="Mage_Backend_Block_Menu_Container" name="menu_container_renderer" template="Mage_Backend::menu/container.phtml" /]
[block type="Mage_Backend_Block_Menu_Item" name="menu_item_renderer" template="Mage_Backend::menu/item.phtml" /]
[action method="setContainerRendererBlock"][renderer]menu_container_renderer[/renderer][/action]
[action method="setItemRendererBlock"][renderer]menu_item_renderer[/renderer][/action]
[/block]
[/reference]
[/default]

The configure ablout Block menu in layout.xm in the version updated after 9/05/2012:

[default]
[reference name="root" after="header"]
[block type="Mage_Backend_Block_Menu" name="menu" as="menu" template="Mage_Backend::menu.phtml" /]
[/reference]
[/default]

@magento-team
Copy link
Contributor

Navigation classes were recently refactored. Can you let us know if you solved your issue with your findings from the last comment?

@SunshineTech
Copy link
Author

I can not solve the issue until now!

vpelipenko added a commit that referenced this issue Feb 13, 2015
[Github] Merge public Github commits
mmansoor-magento pushed a commit that referenced this issue Feb 25, 2017
MAGETWO-64999: [GitHub][PR] Fixed crosssells count always null #8602
magento-engcom-team pushed a commit that referenced this issue Apr 13, 2018
MAGETWO-89081: CE edition - Update composer dependencies
magento-engcom-team pushed a commit that referenced this issue Apr 29, 2020
…task-73

#73 :- Page title is empty when admin login as customer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants