質問 > フロント機能 > 全てのレビューを表示させる方法について |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
sakurai07 |
投稿日時: 2011/2/1 22:56
対応状況: −−−
|
長老 登録日: 2008/2/29 居住地: 投稿: 179 |
Re: トップページに新規レビューを表示させたい view.tplに
<!--{* * This file is part of EC-CUBE * * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *}--> <div id="newsarea"> <h2><img src="<!--{$smarty.const.URL_DIR}-->img01/news.jpg" width="700" height="43" alt="新着情報" /></h2> <p>☆★☆ 新着情報は<a href="<!--{$smarty.const.URL_DIR}-->rss/index.php" target="_blank">RSS</a>で配信しています。★☆★</p> <!--{section name=data loop=$arrNews}--><dl> <dt><!--{$arrNews[data].review_date_disp|date_format:"%Y年%m月%d日"}--></dt> <dd> <!--{if $arrNews[data].news_url}--> <a href="<!--{$arrNews[data].news_url}-->" <!--{if $arrNews[data].link_method eq "2"}--> target="_blank" <!--{/if}-->> <!--{/if}--> <!--{$arrNews[data].title|escape|nl2br}--> <!--{if $arrNews[data].news_url}--> </a> <!--{/if}--><br /> <!--{$arrNews[data].comment|escape|nl2br}--> </dd> </dl> <!--{/section}--> </div> を、設定したのですが、何も変更されませんでした。 試しに、news.tplに <!--{* * This file is part of EC-CUBE * * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *}--> <div id="newsarea"> <h2><img src="<!--{$smarty.const.URL_DIR}-->img01/news.jpg" width="700" height="43" alt="新着情報" /></h2> <p>☆★☆ 新着情報は<a href="<!--{$smarty.const.URL_DIR}-->rss/index.php" target="_blank">RSS</a>で配信しています。★☆★</p> <!--{section name=data loop=$arrNews}--><dl> <dt><!--{$arrNews[data].review_date_disp|date_format:"%Y年%m月%d日"}--></dt> <dd> <!--{if $arrNews[data].news_url}--> <a href="<!--{$arrNews[data].news_url}-->" <!--{if $arrNews[data].link_method eq "2"}--> target="_blank" <!--{/if}-->> <!--{/if}--> <!--{$arrNews[data].title|escape|nl2br}--> <!--{if $arrNews[data].news_url}--> </a> <!--{/if}--><br /> <!--{$arrNews[data].comment|escape|nl2br}--> </dd> </dl> <!--{/section}--> </div> を、入力すると、なんと変わったのですがすべて空白です。 データベースのphp_pathは下記になります。 27 ブロック名 bloc/view.tpl view 2011-01-31 14:47:23.500537 2011-01-31 19:44:03.079493 frontparts/bloc/view.php |
フラット表示 | 前のトピック | 次のトピック |