まずはマークダウンで説明を書きます。
↓スニペットを配置します。
<?php | |
echo('HOGEHOGE'); |
//検索対象追加フィールドを拡張 | |
function fn_my_product_extend_additional_fields_in_search(&$params, &$fields, $sortings, $condition, &$join, $sorting, $group_by, &$tmp, $piece, $having) | |
{ | |
$params['pshort'] = 'Y';//ショート説明を含める | |
$params['pfull'] = 'Y';//フル説明を含める | |
$params['pkeywords'] = 'Y';//METAキーワードを含める | |
//独自テーブルをJOIN | |
if(AREA == 'A'){ |
<!-- 5文字以内かどうか --> | |
<div class="control-group cm-no-hide-input"> | |
<label for="product_max5" class="control-label cm-required cm-check-max5">{__("product_max5_title")}</label> | |
<div class="controls"> | |
<input id="product_max5" class="input-long" type="text" name="product_data[product_max5h]" size="55" value="{$product_data.product_max5h}" /> | |
</div> | |
</div> |
.dashboard-viewed-category{ | |
margin-top: 32px; | |
width: 50%; | |
.dashboard-viewed-category-list{ | |
padding: 8px 0; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
overflow-y: scroll; |
<?xml version="1.0"?> | |
<addon scheme="3.0"> | |
<id>advanced_addon</id> | |
<version>1.0</version> | |
<priority>100500</priority> | |
<position>0</position> | |
<status>active</status> | |
<default_language>ja</default_language> | |
<queries> | |
<item>DROP TABLE IF EXISTS ?:advanced_addon_data;</item> |
msgid "" | |
msgstr "Project-Id-Version: tygh" | |
"Content-Type: text/plain; charset=UTF-8\n" | |
"Language-Team: English\n" | |
"Language: en_US\n" | |
msgctxt "Addons::name::hello_world" | |
msgid "Hello World" | |
msgstr "Hello World" |
<?xml version="1.0"?> | |
<addon scheme="3.0"> | |
<id>hello_world</id> | |
<version>1.0</version> | |
<priority>100500</priority> | |
<position>0</position> | |
<status>active</status> | |
<default_language>en</default_language> | |
<auto_install>MULTIVENDOR,ULTIMATE</auto_install> | |
<settings edition_type="ROOT,ULT:VENDOR"> |
<?xml version="1.0"?> | |
<addon scheme="3.0"> | |
<id>hello_world</id> | |
<version>1.0</version> | |
<priority>100500</priority> | |
<position>0</position> | |
<status>active</status> | |
<default_language>en</default_language> | |
<auto_install>MULTIVENDOR,ULTIMATE</auto_install> | |
</addon> |
msgid "" | |
msgstr "Project-Id-Version: tygh" | |
"Content-Type: text/plain; charset=UTF-8\n" | |
"Language-Team: English\n" | |
"Language: en_US\n" | |
msgctxt "Addons::name::hello_world" | |
msgid "Hello World" | |
msgstr "Hello World" |