dashan 提交于
你需要注意的是info文件中用来设置区域的代码。并在这段代码中插入一行如下加粗代码。
regions[secondary_content] = Secondary
regions[tertiary_content] = Tertiary
regions[psd] = Eine PSD-Region
regions[footer] = Footer
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
保存你做的修改,并在page.tpl.php文件的相应位置插入如下加粗代码:
<?php if ($page['tertiary_content']): ?>
<div id="tertiary-content">
<?php print render($page['tertiary_content']); ?>
</div>
<?php endif; ?>
<?php if ($page['psd']): ?>
<div id="psd" class="psd_region">
<?php print render ($page['psd']); ?></div>
<?php endif; ?>
<?php if ($page['footer'] || $feed_icons): ?>
<div id="footer">
<?php print render($page['footer']); ?>
<?php print $feed_icons; ?>
</div>
<?php endif; ?>
<?php if ($content): ?>
<div class="<?php print $classes; ?>">
<?php print $content; ?>
</div>
<?php endif; ?>
- 登录以发表评论