cancel
Showing results for 
Search instead for 
Did you mean: 

Static blocks

Static blocks

Hi,

I need your help very much.

I have Magento 1.9.0.1 with template Metroshop from Themoforest.

 

I tried to add some promotional blocks and did it as in manual i.e.

 

CMS/Static blocks:

title: bottom2_promotional_static_block

id: bottom2_promotional_static_block_html  

 

After that I do not see any change (flush Magento was done).

 

Someone said that I should add this block in System/Permission/Blocks - but I do not know what should be correct path...

 

I found info about these promotional blocks in file /template/catalog/produkt/home.phtml

 

in example:

 

<!--banner content static block content-->
<div class="main span12"><?php echo $this->getLayout()->createBlock('mlayer/mlayer')->setTemplate('mlayer/mlayer.phtml')->toHtml(); ?></div>
<div class="promoBox span12"><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('bottom2_promotional_static_block')->toHtml() ?></div>
<!--end -->

 

I tried many different options but nothing is working. Please help, I am not IT guy but I am trying to configurate shop by myself.

 

Regards,

Marceli

1 REPLY 1

Re: Static blocks

I think problem with your block identifier

 

Change

<div class="promoBox span12"><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('bottom2_promotional_static_block')->toHtml() ?></div>

TO

<div class="promoBox span12"><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('bottom2_promotional_static_block_html')->toHtml() ?></div>

 

Find helpful ? Consider Giving Kudos to this post.
Problem solved? Click Accept as Solution!"
Qaisar Satti