Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Block or Page per Storeview
 
insession
Member
 
Avatar
Total Posts:  75
Joined:  2008-08-10
Germany
 

Good morning, i hope you can help me.

I have make a new site via CMS (ID 20) and a new box in Colum right.
Now we have 3 Store Views and the box must be display only in one Storeview (ID 1) are shown.

I have this code for display the content, but unfortunately, the page in all store views output.
This is unfortunately also the case when I am in the CMS is only one side Storeview indicates.

<?php
$store 
Mage::app()->getStore(); 
$cms_page Mage::getModel('cms/page');
$cms_page->load('20');
?>
<?php 
if($cms_page->getIsActive()): ?>
<?
$cms_page->getContent() ?>
<?php 
endif; ?>

thanks Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
insession
Member
 
Avatar
Total Posts:  75
Joined:  2008-08-10
Germany
 

you have no idea how I could make?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top