0

i'm working with magento 1.9.0.1 with b-responsive theme.there are two static blocks in my backend inside CMS (1) footer_links (2)footer_links_company. inside my app\design\frontend\b-responsive\enterprise\template\page\html\footer.phtml its is called as:

<?php echo $this->getChildHtml('footer_links') ?>

and here is the content inside that static block:

<ul id="Footer">
<li><a href="{{store direct_url="about-magento-demo-store"}}">About Us</a></li>
<li><a href="{{store direct_url="customer-service"}}">Customer Service</a></li>
<li class="last privacy"><a href="{{store direct_url="privacy-policy-cookie-restriction-mode"}}">Privacy Policy</a></li>
</ul>

but when i remove this code then nothing is happening in frontend means the links are showing there after removing this code. i have flush my cache but nothing happening.

Here is the code inside my page.xml file:

<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
 <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
 <label>Page Footer</label>
 <action method="setElementClass"><value>bottom-container</value></action>
 </block>
 <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
 <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
 </block>
asked Oct 17, 2014 at 7:15
7
  • remove var/cache folder manually Commented Oct 17, 2014 at 7:19
  • is it safe to remove that folder manualy?? i'm a newbie to magento. Commented Oct 17, 2014 at 7:24
  • yes.. its safe. There magento keeps all cache datas. Dont need to be afraid. Feel free to remove it Commented Oct 17, 2014 at 7:27
  • ok i have removed my cache folder from root directory/var/cache/mage-1 and so on. but still nothing happened..:( Commented Oct 17, 2014 at 7:29
  • are you sure about the theme that you are using ? Commented Oct 17, 2014 at 7:35

2 Answers 2

1

Check in page.xml (or local.xml if the theme only uses this) for the following:-

<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml">
 <action method="setTitle"><title>Quick Links</title></action>
</block>

The layouts may be controlling the footer link blocks in the footer.

answered Oct 17, 2014 at 7:58
2
  • i have updated my question with page.xml code please check. Commented Oct 17, 2014 at 8:17
  • You have to specifically look for the blocks for each of the footer_links. Like my example above. If you disable the static block and the links still show in the frontend (disable cache first) then it is being rendered from elsewhere. Commented Oct 17, 2014 at 8:29
1

Go to System -> Configuration -> ADVANCED -> Developer Change 'Current Configuration Scope:' to your frontend website (you'll find this in top-left corner of the page)

In Debug section, select yes in "Template Path Hints" and "Add Block Names to Hints". Now, refresh the frontend page! You will see each blocks location printed in red in your frontend website. Check the footer block it's loading, then disable it or change the code from backend.

answered Oct 17, 2014 at 10:31

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.