2010年11月9日
「ショップ名/TOPページ」を変更
1. data/class/pages/LC_Page_Index.php
[html]
/**
* Page を初期化する.
*
* @return void
*/
function init() {
parent::init();
$this->tpl_mainpage = ‘top.tpl’;
$this->tpl_column_num = 3;
$this->tpl_title = ‘TOPページ’;
[/html]
$this->tpl_title = ‘TOPページ’; ←追加する
2. /data/Smarty/templates/使用中のテンプレート/site_frame.tpl
「<title><!–{$tpl_title|escape}–>|<!–{$arrSiteInfo.shop_name|escape}–></title>」を
以下に書き換え。
[html]
<!–{if $tpl_title == “商品一覧ページ”}–>
<title><!–{$tpl_subtitle|escape}–>|<!–{$arrSiteInfo.shop_name|escape}–></title>
<!–{elseif $tpl_title == “TOPページ”}–>
<title>ここにTOPページに表示したいタイトルを記入</title>
<!–{else}–>
<title><!–{$tpl_title|escape}–>|<!–{$arrSiteInfo.shop_name|escape}–></title>
<!–{/if}–>
[/html]