在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