- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2017
05:55 AM
01-27-2017
05:55 AM
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
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2017
05:24 AM
02-06-2017
05:24 AM
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
Problem solved? Click Accept as Solution!"
Qaisar Satti