Geeklog Documentation

トップページ 管理画面

UserBox プラグイン

テーマ変数(2015/10/28 update)

画面 【フォルダ】テンプレート テーマ変数
カテゴリ別件数一覧
public_html/category.php
(グループ別)カテゴリ別件数一覧
public_html/category.php?gid=1&m=gid
public_html/category.php?gcode=country&m=gcode
【category】headercode.thtml xhtml, site_url, site_admin_url, layout_url, currenturl, site_name, site_mail, og_title, og_image*5, og_description, og_type facebook_consumer_key*1
site_mail*4
【category】list.thtml,navigation.thtml,row.thtml ,col.thtml site_url, this_script, home, lang_category_list_h2, lang_view, lin, cnt, lang_name, lang_count, page_navigation, blockfooter, (msg)
language
languageid,_languageid言語ファイル[多言語モード]に登録されていない場合は表示されません
{uid} {username} {fullname} {displayname}ゲストユーザの場合は、null *9
【category】grp.thtml group_name,group_link
【category】col.thtml category_link, category_name, category_description, category_url, category_id, category_code, count
カテゴリ別一覧
public_html/category.php?id=1&m=id
public_html/category.php?code=city&m=code

&page=1&perpage=10
&order=random
$expired=no

order に指定できるのは、 random date orderno code title description id と 表示制限されていない追加項目のテーマ変数 です

expired:no 公開終了日を過ぎたデータは表示しません。(デフォルト)
expired:yes 公開終了日を過ぎたデータも表示します。
【category】headercode.thtml xhtml, site_url, site_admin_url, layout_url, currenturl, site_name, site_mail, og_title, og_image *5, og_description, og_type facebook_consumer_key *1
site_mail*4

【category】

list_detail.thtml navigation_detail.thtml row.thtml col_detail.thtml
site_url, this_script, home, category_top, lang_category_list_h2, category_name, category_code, category_description, cnt, lang_view, lin, cnt, lang_name, lang_username, lang_id, lang_uid, lang_username, lang_fullname, lang_description, lang_date, lang_released, lang_expired, lang_remaindays, lang_addfield, lang_hits, blockfooter, msg
language
languageid,_languageid言語ファイル[多言語モード]に登録されていない場合は表示されません
imgfile_frd,data_img_url
imgfile_thumb_frd,data_thumb_img_url
{uid} {username} {fullname} {displayname}ゲストユーザの場合は、null *9
【category】col_detail.thtml data_link, data_fullname, data_username, data_description, data_id, data_url, data_released, data_expired, data_remaingdays,
data_title, data_code,
data_datefield(使用する日付 作成日付or編集日付or公開日), new_img (使用する日付と新着マーク表示期間で判定します)
data_datefield_shortdate, data_releaaed_shortdate, data_expired_shortdate, data_hits
data_value(ソート順に指定されたアトリビュート項目の値),
data_photo,data_user_photo, data_edit
各アトリビュートのテーマ変数
カテゴリ列挙のテーマ変数
【category】nohit.thtml home ,category_top ,category_name ,category_code ,category_description ,xhtml ,site_url ,site_admin_url ,layout_url ,lang_nohit
アトリビュート別件数一覧
public_html/attribute.php
(各アトリビュート)別件数一覧
public_html/attribute.php?id=1&m=id
public_html/attribute.php?code=xxxx&m=code
*8
【attribute】headercode.thtml xhtml, site_url, site_admin_url, layout_url, currenturl, site_name, site_mail, og_title, og_image*5, og_description, og_type facebook_consumer_key*1
site_mail*4
【attribute】list.thtml,navigation.thtml,row.thtml site_url, this_script, home, attribute_top, field_top, lang_view, lin, cnt, lang_name, lang_count, page_navigation, blockfooter, (msg)
language
languageid,_languageid言語ファイル[多言語モード]に登録されていない場合は表示されません
{uid} {username} {fullname} {displayname}ゲストユーザの場合は、null *9
【attribute】col.thtml アトリビュート別件数一覧用 field_link, value_link, field_description, field_name, field_url, value_url, value, count
【attribute】col2.thtml (各アトリビュート別)件数一覧用 value_link, field_description, field_name, field_url, value_url, value, count
アトリビュート別一覧
public_html/attribute.php?id=1&m=id&value=27&template=yyyy
public_html/attribute.php?code=xxxx&m=code&value=27&template=yyyy
*8
【attribute】headercode.thtml xhtml, site_url, site_admin_url, layout_url, currenturl, site_name, site_mail, og_title, og_image*5, og_description, og_type facebook_consumer_key*1
site_mail*4
【attribute】 list_detail.thtml navigation_detail.thtml row.thtml site_url, this_script, home, attribute_top, field_top, field_name, field_templatesetvar, field_description, fieldvalue, lang_view, lin, cnt, lang_name, lang_username, lang_id, lang_uid, lang_username, lang_fullname, lang_date, lang_released, lang_description, lang_expired,lang_hits blockfooter, msg
language
languageid,_languageid言語ファイル[多言語モード]に登録されていない場合は表示されません
imgfile_frd,data_img_url
imgfile_thumb_frd,data_thumb_img_url
{uid} {username} {fullname} {displayname}ゲストユーザの場合は、null *9
【attribute】col_detail.thtml data_link, data_fullname, data_username, data_description, data_id, data_url, data_released,
data_title, data_code,
data_releaaed_shortdate, data_expired_shortdate, data_hits
data_datefield(使用する日付 作成日付or編集日付or公開日), new_img (使用する日付と新着マーク表示期間で判定します)
data_value(ソート順に指定されたアトリビュート項目の値),
data_photo,data_user_photo, data_edit
各アトリビュートのテーマ変数
カテゴリ列挙のテーマ変数
【attribute】nohit.thtml home ,attribute_top ,field_top ,field_name ,field_templatesetvar ,field_description ,field_value ,xhtml ,site_url ,site_admin_url ,layout_url ,lang_nohit
profile一覧
public_html/list.php
msg=1
order=0&prevorder=created&direction=ASC&q=ja&query_limit=50
個別表示
public_html/profile.php?id=1&m=id&template=yyyy
public_html/profile.php?code=xxxx_en&m=code&template=yyyy
*7



ヘッダフッタなし public_html/content.php?code=xxxx_en&template=yyyy
*7
【profile】headercode.thtml xhtml, site_url, site_admin_url, layout_url, currenturl, site_name, site_mail, og_title, og_image*6, og_description, og_type facebook_consumer_key*1
site_mail*4
【profile】list_detail.thtml,row.thtml xhtml,layout_url,site_admin_url,site_url, site_name,site_mail draft, lang_id, id, lang_fields, lang_field, lang_templatesetvar, lang_content, lang_byusingid, lang_byusingcode, lang_byusingtemplatesetvar, lang_group, lang_withlink, lang_uid lang_username username lang_fullname fullname lang_imgfile_frd, imgfile_frd,,data_img_url, lang_imgfile_thumb_frd, imgfile_thumb_frd,data_thumb_img_url, lang_basicfields, lang_code, code*9, lang_title, title*9,, lang_description, description, lang_owner, owner_name, owner_id, lang_hits, hits, lang_category, lang_additionfields, lang_modified, modified,modified_shortdate, lang_created, created,created_shortdate, lang_released, released,released_shortdate, lang_expired, expired,expired_shortdate, lang_uuid, uuid, lang_udatetime, last_modify_uid, last_modify_name, last_modify_fullname, edit
各アトリビュートのテーマ変数
カテゴリ列挙のテーマ変数
currenturl,appid*1
language
languageid,_languageid言語ファイル[多言語モード]に登録されていない場合は表示されません
{uid} {username} {fullname} {displayname}ゲストユーザの場合は、null *9
【profile】col_detail.thtml additionfield_value ,additionfield_value ,additionfield_value_noimage ,additionfield_value_tn_image ,additionfield_value_tn_noimage ,additionfield_value_disp ,additionfield_value_mst_value2 ,additionfield_value_mst_disp ,additionfield_value_mst_no
各アトリビュートのテーマ変数
【profile】nohit.thtml xhtml, site_url, site_admin_url, layout_url, lang_nohit
newlist
【newlist】list.thtml site_url ,day ,rss_url ,rss_title ,more_url ,more_title
【newlist】list_col.thtml new_img ,link ,url ,title ,description ,class (奇数行 class=row1 偶数行 class=row2)
カテゴリ列挙のテーマ変数
マイプロフィール(一覧)
public_html/myprofile/profile.php
マイプロフィール(編集)
public_html/myprofile/profile.php?mode_id=edit&id=1
【myprofile】profile_editor.thtml, row.thtml about_thispage ,site_url ,id ,lang_view ,lang_fieldset ,fieldset_name ,fieldset_id ,script ,lang_fields ,lang_content ,lang_uid ,help_uid ,lang_username ,help_username ,username ,lang_fullname ,help_fullname ,fullname ,lang_basicfields ,lang_fields ,lang_content ,lang_id ,help_id ,lang_draft ,help_draft ,draft_flag ,draft_msg ,lang_page_title ,help_page_title ,maxlength_description ,description ,hide_language_id ,lang_language_id ,help_language_id ,select_language_id ,lang_udatetime ,udatetime ,lang_uuid ,uuid ,udatetime ,lang_created ,created ,created_un ,lang_category ,help_category ,checklist_category ,lang_additionfields ,lang_fields ,lang_content ,additionfields ,lang_save ,lang_cancel ,delete_option ,gltoken_name ,gltoken
【myprofile】profile_col_detail.thtml dditionfield_name ,dditionfield_name ,lang_must_additionfield ,additionfield_value ,additionfield_description
添付ファイルダウンロード
public_html/dowmload.php?id=1&field_id

添付ファイル表示(拡張子=pdfのみ)
public_html/dowmload.php?id=1&field_id=&mode=display

各アトリビュートのテーマ変数(2015/09/16 update)

アトリビュートタイプ テーマ変数 説明
共通 {additionfield1}
{登録したテーマ変数名}
 
{additionfield1_name}
{登録したテーマ変数名_name}
名称
{additionfield1_description}
{登録したテーマ変数名_description}
説明
{additionfield1_requried}
{登録したテーマ変数名_requried}
必須チェック 1 or 0
12:画像(ファイル保存) {additionfield1_tn}
{登録したテーマ変数名_tn}
サムネイルファイル名
{additionfield1_noimage}
{登録したテーマ変数名_noimage}
NO PHOTO 画像ファイル名
{additionfield1_tn_image}
{登録したテーマ変数名_tn_image}
サムネイルファイル名
{additionfield1_tn_noimage}
{登録したテーマ変数名_tn_noimage}
NO PHOTO サムネイルファイル名
{additionfield1_disp}
{登録したテーマ変数名_disp}
画像表示HTMLタグ
9:オプションリスト(マスター)
16:ラジオボタンリスト(マスター)
18:マルチセレクトリスト(マスター)
{additionfield1:2}
{登録したテーマ変数名_mst_value2}
マスターのvalue2
{additionfield1:disp}マスターのdisp
{登録したテーマ変数名_mst_disp}
マスターのdisp
{additionfield1:no}
{登録したテーマ変数名_mst_no}
マスターのNo.
13:添付ファイル {additionfield1_readfile}
{登録したテーマ変数名_readfile}
サーバーに記憶しているファイルの名前
文言 {lang_download}
{lang_downloadrequired}
{lang_display}
{lang_displayrequired}
(注)No.以外のマルチセレクトリストの区切りはLANG_USERBOX['field_separater']で指定しています。

カテゴリ列挙のテーマ変数(2013/10/16 update)

テーマ変数 説明
{categories} カテゴリ 名称列挙
{categorieslink} カテゴリ リンク付 名称列挙
{categorieslinkcode} カテゴリ リンク付 引数コード 名称列挙
{categorieslinkid} カテゴリ リンク付 引数id 名称列挙
{group_xxxx} グループ別カテゴリ グループコードを使用する 名称列挙 
{group_xxxx_code} グループ別カテゴリ グループコードを使用する 名称列挙
{group_xxxx_pipeline} グループ別カテゴリ グループコードを使用する コードパイプライン区切 
{grouplink_xxxx} グループ別カテゴリ リンク付 グループコードを使用する 名称列挙 
{grouplink_xxxx_code} グループ別カテゴリ リンク付 グループコードを使用する コード列挙 
{group_1} グループ別カテゴリ グループidを使用する 名称列挙 
{group_1_code} グループ別カテゴリ グループidを使用する コード列挙 
{group_1_pipeline} グループ別カテゴリ グループidを使用する コードパイプライン区切 
{grouplink_1} グループ別カテゴリ リンク付 グループidを使用する 名称列挙 
{grouplink_1_code} グループ別カテゴリ リンク付 グループidを使用する コード列挙 
名称列挙の区切りはLANG_USERBOX['category_separater']で指定しています。
  表示例 日本 / アメリカ / イギリス
コード列挙の区切りはLANG_USERBOX['category_separater_code']で指定しています。
  表示例 japan america england
コードパイプライン区切は |で区切ます。
  表示例 japan|america|england


*1 Geeklogのコンフィギュレーション設定でFacebook OAuth Application IDの設定が必要です。
*4 標準テンプレートには記述されていません。
*5 UserBoxデフォルト画像またはロゴ画像
*6 featuredimageまたはUserBoxデフォルト画像またはロゴ画像
*7 template=テンプレートディレクトリ
    引数で指定されていない場合は、下記の順に使用されます(個別表示,マイプロフィール(編集))
      データに登録されているテンプレートディレクトリ
      タイプに登録されているテンプレートディレクトリ
      default
      以上なければ、表示されません。($LANG_404(3))
*8 codeに指定される内容は、各データに登録されたアトリビュート(追加項目)の内容になります
    /が含まれると、urlが切れます
    使用できるのは、次のアトリビュートタイプです
      00一行テキスト
      02いいえ/はい
      03日付
      04日時
      07オプションリスト(選択肢)
      08ラジオボタンリスト(選択肢)
      09オプションリスト(マスター)
      16ラジオボタンリスト(マスター)
*9 Assist プラグイン Version 1.1.2.test20140331 以降がインストールされている必要があります
ログインユーザー情報表示
username fullname がログインユーザー情報になるので、それぞれ、code title 使用

featuredimage 最初に表示される画像(ファイル保存)タイプのアトリビュート(追加項目)
1 管理画面で表示されているid 1,2,3,4,5,...(システムで指定された数字)
xxxx 管理画面で指定したcodeの値