i need help with static blocks

There are 3 static blocks on top and 3 on the bottom, when i change the name or words inside it, all the blocks disappeared. I could seem to change it back.

Same with "ABOUT US" when i change the name that says on there "about-magento-demo-store" to About US, the page dont show up.

Can someone guide me how to fix it so that it shows on the website. Thanks.

3 answers

congtq 0.00 $tone August 6, 2010
Public

These static blocks are defined in app\design\frontend\default\jm_fabian\layout\page. xml.
The bold text is Identifier which set in Admin -> CMS -> Static Blocks. If you change Identifier in Admin, you will also need to change in app\design\frontend\default\jm_fabian\layout\page. xml.

Code:

<!-- Top Spotlight - topsl2 -->
<reference name="topsl2">
	<block type="cms/block" name="freeshipping">
		<action method="setBlockId"><block_id>freeshipping</block_id></action>
	</block>
	<block type="cms/block" name="saleoff">
		<action method="setBlockId"><block_id>saleoff</block_id></action>
	</block>
	<block type="cms/block" name="picknew">
		<action method="setBlockId"><block_id>picknew</block_id></action>
	</block>
</reference>
<!-- Top Spotlight - topsl2 -->
	
<!-- Bottom Spotlight - botsl -->
<reference name="botsl">
	<block type="cms/block" name="address-beauty">
		<action method="setBlockId"><block_id>address-beauty</block_id></action>
	</block>
	<block type="cms/block" name="information">
		<action method="setBlockId"><block_id>information</block_id></action>
	</block>
	<block type="cms/block" name="advetisment">
		<action method="setBlockId"><block_id>advetisment</block_id></action>
	</block>
	<block type="cms/block" name="note">
		<action method="setBlockId"><block_id>note</block_id></action>
	</block>
</reference>
<!-- Bottom Spotlight - botsl -->

Similar, you change to "about-us" you need to change in Admin -> CMS -> Static Blocks -> Footer Links, click "Show / Hide Editor" and change "about-magento-demo-store" to "about-us"

#1
Profile photo of Lily Vo 0.00 $tone August 24, 2010
Public

OMG thank you so much for your help..

However can you also help fix the "contact us" page… I want to add more lines and other words or information such as our address and phone number. I was not able to do that. Your help is appreciated. thanks.

#2

This question is now closed

Written By

Comments