Manual page of CustomFieldsSearch

MT > CustomFieldsSearch

search

Search word

<input name="search" />

includeBlogs

blogs

<input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" />

CustomFieldsSearch

Enable to search by Custom Fields value.

<!-- requiring this settings. -->
<input type="hidden" name="CustomFieldsSearch" value="1" />

CustomFieldsSearchClassType

Specify object type

Effective value

entry
Search of Entry.
page
Search of Page.
<input type="hidden" name="CustomFieldsSearchClassType" value="entry" />

CustomFieldsSearchIgnore

When the column that is not the custom fields is disregarded, it specifies it.(tag name)

Effective value

EntryTitle
TITLE
EntryBody
BODY
EntryMore
BORE
EntryKeywords
KEYWORDS
<input type="hidden" name="CustomFieldsSearchIgnore" value="EntryTitle" />
<input type="hidden" name="CustomFieldsSearchIgnore" value="EntryBody" />
<input type="hidden" name="CustomFieldsSearchIgnore" value="EntryMore" />
<input type="hidden" name="CustomFieldsSearchIgnore" value="EntryKeywords" />

CustomFieldsSearchField

The column made the key to the search is specified. (tag name)

The setting of CustomFieldsSearchField is given to priority when the same column as both CustomFieldsSearchIgnore and CustomFieldsSearchField is specified.

Effective value

EntryTitle
TITLE
EntryBody
BODY
EntryMore
MORE
EntryKeywords
KEYWORDS
Tag name of field added in Custom Fields
Field added in Custom Fields
<input type="checkbox" id="CustomFieldsSearchField_title" name="CustomFieldsSearchField" value="EntryTitle" /><label for="CustomFieldsSearchField_title">: Title</label>
<input type="checkbox" id="CustomFieldsSearchField_booken_price" name="CustomFieldsSearchField" value="booken_price" /><label for="CustomFieldsSearchField_booken_price">: Price</label>

CustomFieldsSearchFieldLike

CustomFieldsSearchFieldIn

CustomFieldsSearchFieldEquals

It narrows it by specified key and value. (tag name + condition)

<select name="CustomFieldsSearchFieldLike">
    <option value="">-- any publishers --</option>
    <option value="booken_pub:O'Reilly">O'Reilly</option>
    <option value="booken_pub:Pragmatic Bookshelf">Pragmatic Bookshelf</option>
    <option value="booken_pub:Wiley">Wiley</option>
    <option value="booken_pub:Apress">Apress</option>
</select>
<input type="checkbox" id="CustomFieldsSearchFieldIn_booken_year_2006" name="CustomFieldsSearchFieldIn" value="booken_year:2006" /><label for="CustomFieldsSearchFieldIn_booken_year_2006">: 2006</label>
<input type="checkbox" id="CustomFieldsSearchFieldIn_booken_year_2007" name="CustomFieldsSearchFieldIn" value="booken_year:2007" /><label for="CustomFieldsSearchFieldIn_booken_year_2007">: 2007</label>
<input type="checkbox" id="CustomFieldsSearchFieldIn_booken_year_2008" name="CustomFieldsSearchFieldIn" value="booken_year:2008" /><label for="CustomFieldsSearchFieldIn_booken_year_2008">: 2008</label>

CustomFieldsSearchLucky

“I’m Feeling Lucky” function is offered. (Move directly to the first entry. )

<input type="submit" name="CustomFieldsSearchLucky" value="I'm Feeling Lucky" />

CustomFieldsSearchLuckyArchiveType

The archive type when “I’m Feeling Lucky” function is used is specified.

Effective value

Same as EntryPermalink.

<input type="hidden" name="CustomFieldsSearchLuckyArchiveType" value="Individual" />

Leave a Reply