2
<?xml version="1.0"?>
<layout version="0.1.0">
    <default>
        <reference name="left">
            <block name="customer_test_left" type="core/template" template="customer/form/test.phtml" />
        </reference>
    </default>
</layout>

under app\design\frontend\default\awesome\layout\local.xml

and

<?php echo "Hello World" ?>

under app\design\frontend\default\awesome\template\customer\form\test.phtml

Now the block is not showing in any page under left column

Could any one please help me...

15
  • Make sure you theme is set to awesome in System->Configuration->Design. And clear the cache.
    – Marius
    Mar 12, 2014 at 9:19
  • @Marius theme is set to awesome and package is default and i have disabled cache and still clear the cache, but no use. Mar 12, 2014 at 9:21
  • As Marius said: Code looks good. Mar 12, 2014 at 9:21
  • 2
    Did you set default to awesome or only theme? If only theme, remove it use default OR set layout to awesome too! Mar 12, 2014 at 9:22
  • 2
    then there's something you are not telling to us ;) Mar 12, 2014 at 9:59

2 Answers 2

2

The page which i am looking under left column for particular block, that page xml defines remove name="left". sorry if i not provided complete information. As i m learner of magento, it took some time and provides the needed information.

1
  • Have you managed to solve this issue now? May 22, 2014 at 20:05
1

Not sure what is the problem. I am just guessing what could be the problems:

  • In Admin panel, system -> Design, Check if there are any "Design changes".
  • In Admin panel, system -> Configuration -> Design:

    - In Package section, Current package name should be "default".
    - In Themes section, Default field should have the current theme name i.e "awesome".
    
  • Try adding semicolon at the end of your code in template as shown below:

    <?php echo "Hello World"; ?>
    
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.