サポート
【解決しました】エントリーギャラリー表示プラグインで
鱸 (2017/01/31 21:24)
設置URL : https://www.google.co.jp/
自己解決しましたので、URLを下げて締めさせていただきます。
ありがとうございました。
---------------------
はじめまして。
今回、エントリーギャラリー表示プラグインを利用して
・特定カテゴリの画像を
・ページに一覧表示
しようと苦戦しております。
プラグインの表示まではできましたが、カテゴリを指定すると1件ぶん(カテゴリによっては3件程度)しか表示されません。
(http://freo.jp/support/view/1337で指摘されていた現象でしょうか)
プラグイン部分の記述は以下の通りです。
<!--{if $plugin_entry_galleries|smarty:nodefaults}-->
<div id="gallery">
<h2>test</h2>
<!--{foreach from=$plugin_entry_galleries|smarty:nodefaults item='plugin_entry_gallery'}-->
<!--{if $plugin_entry_gallery_associates[$plugin_entry_gallery.id].category.a}-->
<div class="gallery">
<p class="picture">
<a href="{$freo.core.http_file}/view/{if $plugin_entry_gallery.code}{$plugin_entry_gallery.code}{else}{$plugin_entry_gallery.id}{/if}">
<!--{if $plugin_entry_gallery.image}--><img src="{$freo.core.http_url}{$smarty.const.FREO_FILE_DIR}entry_images/{$plugin_entry_gallery.id}/{$plugin_entry_gallery.image}" alt="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" title="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" />
<!--{elseif $plugin_entry_gallery_thumbnails[$plugin_entry_gallery.id]}--><img src="{$freo.core.http_url}{$smarty.const.FREO_FILE_DIR}entry_thumbnails/{$plugin_entry_gallery.id}/{$plugin_entry_gallery.file}" alt="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" title="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" />
<!--{elseif $plugin_entry_gallery_files[$plugin_entry_gallery.id]}--><img src="{$freo.core.http_url}{$smarty.const.FREO_FILE_DIR}entry_files/{$plugin_entry_gallery.id}/{$plugin_entry_gallery.file}" alt="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" title="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" />
<!--{elseif $plugin_entry_gallery_medias[$plugin_entry_gallery.id].file}--><img src="{$plugin_entry_gallery_medias[$plugin_entry_gallery.id].file}" alt="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" title="{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}" />
<!--{else}-->{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}
<!--{/if}-->
</a></p>
<p class="comment">{$plugin_entry_gallery.memo|default:$plugin_entry_gallery.title}</p>
</div>
<!--{/if}-->
<!--{/foreach}-->
<!--{/if}-->
</div>
返信
- この記事に返信します。
- 返信の際は、設置URL以外の項目は入力必須です。