2010年06月30日
TOPのタイトル変更
data/class/pages/LC_Page_Index.phpに
function init() {
parent::init();
$this->tpl_mainpage = 'top.tpl';
$this->tpl_column_num = 3;
$this->tpl_title = 'TOPページ';
を追加。
site_frame.tplに
<title><!--{if $tpl_title == "TOPページ"}-->ここにTOPページに表示したいタイトルを記入<!--{else}--><!--{$tpl_title|escape}--><!--{/if}--> - <!--{$arrSiteInfo.shop_name|escape}--></title>
これで、タイトルは
「ここにTOPページに表示したいタイトルを記入 - サイト名」
と表示されます。
詳しくはこちらを参照。
function init() {
parent::init();
$this->tpl_mainpage = 'top.tpl';
$this->tpl_column_num = 3;
$this->tpl_title = 'TOPページ';
を追加。
site_frame.tplに
<title><!--{if $tpl_title == "TOPページ"}-->ここにTOPページに表示したいタイトルを記入<!--{else}--><!--{$tpl_title|escape}--><!--{/if}--> - <!--{$arrSiteInfo.shop_name|escape}--></title>
これで、タイトルは
「ここにTOPページに表示したいタイトルを記入 - サイト名」
と表示されます。
詳しくはこちらを参照。
Posted by スポンジボブ at 19:10│Comments(0)│EC-cube
※このブログではブログの持ち主が承認した後、コメントが反映される設定です。
コメントフォーム