プラグイン > バグ報告・利用に関する質問 > 新着情報画像アッププラグインについて |
バグ報告・利用に関する質問
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
ゲスト |
投稿日時: 2015/4/2 11:44
対応状況: 開発中
|
新着情報画像アッププラグインについて 新着情報画像アッププラグイン をインストール・有効化し、
コンテンツ管理 > 新着情報管理 より画像をアップロードしました。 実装したいページの構成は以下で、 詳細ページの記事本文箇所にアップロードした画像を表示させたいのですが、どのファイルにどのような記述が必要でしょうか? トップページの新着 ・日付 ・タイトル(タイトルをクリックすると新着詳細ページへ) 新着情報詳細 ・日付 ・タイトル ・記事本文 ※1記事に対し1詳細ページではなく全ての記事を一覧化したページです。 新着情報詳細ページ(news/detail.php )を作成し、 以下の通り記述しています。 ----------------------------------------- <!--{* /* * This file is part of EC-CUBE * * Copyright(c) 2000-2013 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="undercolumn"> <h2 class="title_h201"><img class="title_h2img01" src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_newsdetail.gif" alt="新着・お知らせ" class="title_icon" />新着・お知らせ</h2> <div id="news_detail_area"> <div class="block_body"> <div class="news_detail_contents"> <!--{section name=data loop=$arrNews}--> <!--{assign var="date_array" value="-"|explode:$arrNews[data].cast_news_date}--> <div class="news_detail_list"> <p class="news_detail_date"><!--{$date_array[0]}-->.<!--{$date_array[1]}-->.<!--{$date_array[2]}-->.</p> <h3><!--{$arrNews[data].news_title|h|nl2br}--></h3> <p class="mini"><!--{$arrNews[data].news_comment|h|nl2br}--></p> </div> <!--{/section}--> </div> </div> </div> </div> ----------------------------------------- EC-CUBEバージョン:2.13.2 PHPバージョン:PHP 5.3.3 |
|
ゲスト |
投稿日時: 2015/4/21 13:32
対応状況: 解決済
|
Re: 新着情報画像アッププラグインについて 解決しました。
|
|
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |