バージョン選択

フォーラム

メニュー

オンライン状況

69 人のユーザが現在オンラインです。 (49 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 69
もっと...

サイト内検索

プラグイン > バグ報告・利用に関する質問 > 新着情報画像アッププラグインについて

バグ報告・利用に関する質問

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
ゲスト
投稿日時: 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: 新着情報画像アッププラグインについて
解決しました。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,288名です
総投稿数は109,688件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1567
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.