SOY CMSマニュアル
Blog page management
Present category block[current_category]
This block can be used on the archive page.
Name of the category being displayed now is output.
It is not displayed in the archive page according to the moon (However, it is displayed in less than 1.2.2).
cms:id | Tag | Explanation |
---|---|---|
category_name | All | The name of a present category is output. |
category_link | A | The link of a present category to the archive page is output. |
Example
<!-- b_block:id="current_category" -->
<h2><a cms:id="category_link"><!-- cms:id="category_name" -->Title of category<!-- /cms:id="category_name"--></a></h2>
<!-- /b_block:id="current_category" -->
Present block at years[current_archive]
This block can be used on the archive page.
Years being displayed on the archive page according to the moon now are output.
When the day is specified on the archive page according to the category and the archive page according to the moon, it is not displayed.
cms:id | Tag | Explanation |
---|---|---|
archive_date | All | Present years are output. Cms:format can be specified. It is displayed like "June, 2008" when not specifying it. |
archive_link | A | The link at present years to the archive page is output. |
It is possible to use it since SOY CMS 1.2.2.
Example
<!-- b_block:id="current_archive" -->
<h2><a cms:id="archive_link"><!-- cms:id="archive_month" cms:format="Y年m月" --><!-- /cms:id="archive_month" --></a></h2>
<!-- /b_block:id="current_archive" -->
Present years and category block[current_category_or_archive]
This block can be used on the archive page.
Years when the name of the category being displayed now is being displayed on the archive page according to the moon now are output in the archive page according to the category by the one that "Present category block" and "Present block at years" were combined.
cms:id | Tag | Explanation |
---|---|---|
archive_name | All | The name of a present years or category is output. |
archive_link | A | The link at present years to the archive page or links of a present category to the archive page are output. |
It is possible to use it since SOY CMS 1.2.4.
Example
<!-- b_block:id="current_category_or_archive" -->
<h2><a cms:id="archive_link"><!-- cms:id="archive_name" cms:format="Y年m月" -->"Years and Month" or category name<!-- /cms:id="archive_name" --></a></h2>
<!-- /b_block:id="current_category_or_archive" -->
Entry list block[entry_list]
This block can be used on top page and the archive page.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding entries.
All entries for top page in new order at the date
The entry on a pertinent category or years for the archive page in new order at the date
It outputs it respectively.
cms:id | Tag | Explanation |
---|---|---|
entry_id | All | ID of the object entry is output. |
title | All | The title of each entry of the object entry is output with the link to the page. |
title_plain | All | Only the title of the object entry is output (since 1.1.1). |
content | All | The text in the object entry is output. |
more | All | The postscript of the object entry is output. |
create_date | All | The creation date of the object entry is output. |
create_time | All | The making time of the object entry is output. |
entry_link | A | Links of each entries in the object entry to the page are generated. |
more_link | A | Links of each entries to which the postscript of the object entry is displayed to the page are generated. |
trackback_link | A | Links of each entries of which it is top is the trackback of the object entreis to the page are generated. |
trackback_count | All | The trackback number of object entries is output. |
comment_link | A | Links of each entries of which it is top is the comment on the object entry to the page are generated. |
comment_count | All | The number of comments of object entries is output. |
category_list | All | (1.2.4~) The block of the category applied to the object entry is output. Please use and set category_link described later and category_name. |
category_link | A | (1.2.4~) The link of the category applied to the object entry to the archive page is generated. It is possible to use it in above-mentioned category_list. |
category_name | All | (1.2.4~) The name of the category applied to the object entry is output. It is possible to use it in above-mentioned category_list. |
Example
<!-- b_block:id="entry_list" -->
<div>
<h2 cms:id="title">The title enters here. </h2>
<p cms:id="content">The text enters here. </p>
<a cms:id="more_link">Continuation is displayed. </a>
|<a cms:id="entry_link">This article is read. </a>
|<a cms:id="comment_link">Comment(<!-- cms:id="comment_count" -->0<!-- /cms:id="comment_count" -->)</a>
|<a cms:id="trackback_link">Trackback(<!-- cms:id="trackback_count" -->0<!-- /cms:id="trackback_count" -->)</a>
<p>
<!-- cms:id="category_list" -->
<a cms:id="category_link"><!-- cms:id="category_name" --><!-- /cms:id="category_name" --></a>
<!-- /cms:id="category_list" -->
</p>
</div>
<!-- /b_block:id="entry_list" -->
Category list[category]
This block can be used on all the blog pages.
Information on the label used for the category division set to the blog is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding categories.
cms:id | Tag | Explanation |
---|---|---|
category_link | A | The link of the object category to the archive page is generated. |
category_name | All | The name of the object category is output. |
entry_count | All | The number of entries that belong to the object category is output. |
Example
<ul>
<!-- b_block:id="category" -->
<li><a cms:id="category_link">
<!-- cms:id="category_name" --><!-- /cms:id="category_name" -->(<!-- cms:id="entry_count" -->0<!-- /cms:id="entry_count" -->)
</a>
</li>
<!-- /b_block:id="category" -->
</ul>
Entry contributed recently list[recent_entry_list]
This block can be used on all the blog pages.
The block contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding entries.
The number of cases displayed here is the same as the display number on the RSS page that can be set on a set page.
cms:id | Tag | Explanation |
---|---|---|
entry_id | All | ID of the object entry is output. |
title | All | Only the title of the object entry is output. The link is not generated. |
entry_link | A | Links of each articles in the object entry to the entry page 9 ..(.. are generated. |
create_date | All | The contribution date in the object entry is output. |
create_time | All | The contribution time of the object entry is output. |
Example
<ul>
<!-- b_block:id="recent_entry_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->The title enters here. <!-- /cms:id="title" -->
(<!-- cms:id="create_date" cms:format="m/i"-->03/17<!-- /cms:id="create_date" -->)
</a>
</li>
<!--/b_block:id="recent_entry_list" -->
</ul>
Comment contributed recently list[recent_comment_list]
This block can be used on all the blog pages.
The comment contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding comments.
The number of cases displayed here is fixation now by ten.
cms:id | Tag | Explanation |
---|---|---|
entry_title | All | The title of the entry to which the comment is contributed is output. |
title | All | The title of the contributed comment is output. |
author | All | The name of the contributed comment is output. |
submit_date | All | The contribution date of the contributed comment is output. |
submit_time | All | The contribution time of the contributed comment is output. |
entry_link | A | Links of each entry to which the comment is contributed to the entry page are output. |
Example
<ul>
<!-- b_block:id="recent_comment_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->Title of comment<!-- /cms:id="title" -->
<br />=>
<!-- cms:id="entry_title" -->Title of entry<!-- /cms:id="entry_title" -->
[<!-- cms:id="submit_date" cms:format="m/d" -->03/17<!-- /cms:id="submit_date" -->]
</a>
</li>
<!--/b_block:id="recent_comment_list" -->
</ul>
Trackback contributed recently list[recent_trackback_list]
Thisblock can be used on all the blog pages.
The trackback list contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding trackbacks.
The number of cases displayed here is fixation now by ten.
cms:id | Tag | Explanation |
---|---|---|
title | All | The title of the contributed trackback is output. |
url | A | URL of the blog of the contributed trackback origin is generated. |
blog_name | All | The name of the blog of the contributed trackback origin is generated. |
excerpt | All | The summary of the article on the blog of the contributed trackback origin is output. |
submit_date | All | The contribution date of the trackback is output. |
submit_time | All | The contribution time of the trackback is output. |
entry_link | A | Links of each entry in the entry to which the trackback is contributed to the page are generated. |
entry_title | All | The title of the entry to which the trackback is contributed is output. |
Example
<ul>
<!-- b_block:id="recent_trackback_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->Title<!-- /cms:id="title" -->
<br />=><!-- cms:id="entry_title" -->Title of entry<!-- /cms:id="entry_title" -->
[<!-- cms:id="submit_date" cms:format="m/d" -->03/17<!-- /cms:id="submit_date" -->]
</a>
</li>
<!--/b_block:id="recent_trackback_list" -->
</ul>
Present block at date[current_archive_date]
This block can be used on the archive page.
The date being displayed on the archive page according to the moon now is output.
When the day is not specified on the archive page according to the category and the archive page according to the moon, it is not displayed.
cms:id | Tag | Explanation |
---|---|---|
archive_date | All | A present date is output. cms:format can be specified. It is displayed like "19 June, 2008" when not specifying it. |
archive_link | A | The link at a present date to the archive page is output. |
It is possible to use it since SOY CMS 1.2.2.
Example
<!-- b_block:id="current_archive_date" -->
<h2><a cms:id="archive_link">
<!-- cms:id="archive_date" cms:format="Y年m月d日" -->
<!-- /cms:id="archive_date" --></a></h2>
<!-- /b_block:id="current_archive_date" -->