# Geeklog Mycaljp Plugin Documentation

The following information explains the configuration options of the Geeklog Mycaljp Plugin. For install instructions please read the readme_jp.html file found in the /path/to/geeklog/public_html/admin/plugins/mycaljp/ directory.

## Configuration

The configuration of the Mycaljp Plugin can be changed from the Configuration admin panel:

### General Mycaljp Settings

Variable | Default Value | Description
--- | --- | ---
headertitleyear | 'Y年' | Format of the part of the header title means year. 'Y' A full numeric representation of a year, 4 digits. (Examples: 1999 or 2003) 'y' A two digit representation of a year. (Examples: 99 or 03)
headertitlemonth | 'm月' | Format of the part of the header title means month. 'm' Numeric representation of a month, with leading zeros. (01 through 12) 'n' Numeric representation of a month, without leading zeros. (1 through 12) 'F' A full textual representation of a month. (January through December) 'M' A short textual representation of a month, three letters. (Jan through Dec)
titleorder | Month Year | Order to display the year and month of the header title. In general, if you want to make Japanese style, then select the 'Month Year'. If you want to make Western style, then select the 'Year Month'.
sunday | '日' | String of sunday.
monday | '月' | String of monday.
tuesday | '火' | String of tuesday.
wednesday | '水' | String of wednesday.
thursday | '木' | String of thursday.
friday | '金' | String of friday.
saturday | '土' | String of saturday.
showholiday | true | Whether to display color-coded Saturday, Sunday and holidays. (true=yes, false=no)
checkjpholiday | true | Whether to consider the Japanese holiday. (true=yes, false=no) If set true, then display the Japanese holidays different color. If set false, then display normal color.
enablesrblocks | true | Whether to display the right blocks in the content-list page displayed after clicking on the link on the site calendar. (true=yes, false=no)
showstoriesintro | true | Whether to display the intro section of the articles in the content-list page displayed after clicking on the link on the site calendar. (true=yes, false=no) If set true, then display the intro section of the articles. If set false, then display the title-list of the articles.
use_theme | false | Whether to apply a template that is provided in the theme. Sets whether to use the template in the <public_html>/layout/theme/mycaljp directory.
template | Default | Select the template used to display the site calendar. This plugin provides several templates from the start. Also, the template that contains "_multi_language" in the name has been set for multi-language environment.
date_format | '[Y-m-d]' | Date format used in the content-list page displayed after clicking on the link on the site calendar. Parameters to be used in 'date_format' is the same as the format parameters of the function date() of PHP.
supported_contents | - | Contents list as the target of the search feature of this plugin.
enabled_contents | - | Set whether the search is enable for each content. (1=enable, 0=disable)

### Staticpages Settings

Variable | Default Value | Description
--- | --- | ---
sp_type | Only pages that appear on the center block | Static pages as the target of the search feature of this plugin. 0: All 1: Only pages that appear on the center block 2: Only pages that do NOT appear on the center block
sp_except | 'formmail' | ID of staticpages to be excluded from the search of the site calendar.

### Block Settings

Variable | Default Value | Description
--- | --- | ---
block_enable | true | Enable block.
block_isleft | 1 | Whether to display the block on the left (when set to 1) or right (when set to 0).
block_order | 10 | The order the block appears in the column.
block_topic_option | all | Set to 'All' for block to appear on all pages. Set to 'Homepage Only' for block to appear on just the homepage. Set to 'Selected Topics' for block to appear only in Topics selected in the Topic setting.
block_topic | - | The topics the block will appear for if the Topic Options is set to 'Select Topics'.
block_group_id | Mycaljp Admin | The group used by permissions.