我希望右框只能看到 index.php
代码
if ($oscTemplate->hasBlocks('boxes_column_right')) {
?>
<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
<div><?php echo $oscTemplate->getBlocks('boxes_column_right'); ?></div>
alternative with index page
if ($oscTemplate->hasBlocks('boxes_column_right')) && ((basename($PHP_SELF) == FILENAME_DEFAULT)) {
?>
<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
<div><?php echo $oscTemplate->getBlocks('boxes_column_right'); ?></div>
但它没有