freoテンプレート No.006 のデモサイトです。一部のページが見られます。
ページの添付画像は大きく表示されます。
添付画像の横幅は、 916px
以上が最適です。
オプションについて
オプションを設定すると、右側に「詳細」として表示されます。
ここでは、撮影日と撮影場所をオプションとして設定しました。
長い文字列やファイルの追加などには向いません。
こちらのメイン部分に表示させたい場合、テンプレートの該当部分を編集する必要があります。
templates/side.html
18行目付近の以下のコードを削除します。
<!--{if $page_associate.option}-->
<div class="utility" id="UTILITY_OPTIONS">
<h3><a href="#UTILITY_OPTIONS">詳細</a></h3>
<div class="content">
<dl class="option">
<!--{foreach from=$freo.refer.options|smarty:nodefaults item='option'}-->
<!--{if $page_associate.option[$option.id] != ''}-->
<dt>{$option.name}</dt>
<dd><!--{if $option.type == 'file'}--><a href="{$freo.core.http_url}{$smarty.const.FREO_FILE_DIR}page_options/{$page.id}/{$option.id}/{$page_associate.option[$option.id]}">{$page_associate.option[$option.id]}</a><!--{else}-->{$page_associate.option[$option.id]|nl2br}<!--{/if}--></dd>
<!--{/if}-->
<!--{/foreach}-->
</dl>
</div>
</div>
<!--{/if}-->
templates/internals/page/default.html
任意の場所に以下のコードを追加します。
<!--{if $page_associate.option}-->
<dl>
<!--{foreach from=$freo.refer.options|smarty:nodefaults item='option'}-->
<!--{if $page_associate.option[$option.id] != ''}-->
<dt>{$option.name}</dt>
<dd><!--{if $option.type == 'file'}--><a href="{$freo.core.http_url}{$smarty.const.FREO_FILE_DIR}page_options/{$page.id}/{$option.id}/{$page_associate.option[$option.id]}">{$page_associate.option[$option.id]}</a><!--{else}-->{$page_associate.option[$option.id]|nl2br}<!--{/if}--></dd>
<!--{/if}-->
<!--{/foreach}-->
</dl>
<!--{/if}-->