在Joomla页面标题显示文章内部我想改变页面标题的位置,是否可以自定义页面标题位置?我想更改页面标题位置
我已经包括以下中模板/原恒星码/ index.php文件
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<div class="page-header">
<h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
</div>
<?php endif;
if (!empty($this->item->pagination) && $this->item->pagination && !$this->item->paginationposition && $this->item->paginationrelative)
{
echo $this->item->pagination;
}
?>
是的,它是可能的。你试过什么了? – Lodder 2014-11-24 13:18:26
我试着在**模板/原恒星/ index.php中添加该代码** params->获取( 'show_page_heading')):?> \t –
user3555898
2014-11-24 13:37:04
escape($this->params->get('page_heading')); ?>
是的,但哪些代码?如果我们看不到任何代码,我们无法帮助您调试您的问题。请在** template/protostar/index.php ** <?php if($ this-> params-> get('show_page_heading',1))中使用 – Lodder 2014-11-24 13:37:49